diff options
author | Peter Alfredsen <loki_val@gentoo.org> | 2008-06-13 22:18:00 +0000 |
---|---|---|
committer | Peter Alfredsen <loki_val@gentoo.org> | 2008-06-13 22:18:00 +0000 |
commit | 5b47d02fd669efcf312a0b2ca5bea9f09aeaf6ec (patch) | |
tree | c32d34bd0d30ff76d40496365ed7d01cbd0b08bf /media-libs/libdca | |
parent | Fix .desktop entry stuff properly, get rid of the seemingly improper patch fo... (diff) | |
download | historical-5b47d02fd669efcf312a0b2ca5bea9f09aeaf6ec.tar.gz historical-5b47d02fd669efcf312a0b2ca5bea9f09aeaf6ec.tar.bz2 historical-5b47d02fd669efcf312a0b2ca5bea9f09aeaf6ec.zip |
Don't build tests and examples which aren't installed anyway wrt bug 226341.
Package-Manager: portage-2.1.5.5
Diffstat (limited to 'media-libs/libdca')
-rw-r--r-- | media-libs/libdca/ChangeLog | 11 | ||||
-rw-r--r-- | media-libs/libdca/Manifest | 4 | ||||
-rw-r--r-- | media-libs/libdca/files/libdca-0.0.5-tests-optional.patch | 37 | ||||
-rw-r--r-- | media-libs/libdca/libdca-0.0.5-r1.ebuild | 40 |
4 files changed, 89 insertions, 3 deletions
diff --git a/media-libs/libdca/ChangeLog b/media-libs/libdca/ChangeLog index faa39a43f03f..dd740876db63 100644 --- a/media-libs/libdca/ChangeLog +++ b/media-libs/libdca/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/libdca -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libdca/ChangeLog,v 1.18 2007/11/03 10:57:07 drac Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libdca/ChangeLog,v 1.19 2008/06/13 22:17:59 loki_val Exp $ + +*libdca-0.0.5-r1 (13 Jun 2008) + + 13 Jun 2008; Peter Alfredsen <loki_val@gentoo.org> + +files/libdca-0.0.5-tests-optional.patch, +libdca-0.0.5-r1.ebuild: + Don't build tests and examples which aren't installed anyway wrt bug + 226341. 03 Nov 2007; Samuli Suominen <drac@gentoo.org> libdca-0.0.5.ebuild: Stable arm wrt #192579. diff --git a/media-libs/libdca/Manifest b/media-libs/libdca/Manifest index d4de842a9da6..3eeeff570c0f 100644 --- a/media-libs/libdca/Manifest +++ b/media-libs/libdca/Manifest @@ -1,5 +1,7 @@ AUX libdca-0.0.5-cflags.patch 492 RMD160 7919b4b95f0b55adfe8f272286b91cd204ff70e6 SHA1 84fca2d9557fba66f5e8766af4c9cf8609bc2238 SHA256 4280e8c1b2ac3833f4e02d15a7481adb33eba95106efa79d050bd0bcd4d9d6f3 +AUX libdca-0.0.5-tests-optional.patch 1227 RMD160 bd5b9c432889036ad4112a4a689180a2dc4fb621 SHA1 3b4af2c1375af9ae80c802bf1f21f03733f356bc SHA256 80e708b37567969995e123bcb608f5dc6824aa23a487ba067636d5b7abf0aef1 DIST libdca-0.0.5.tar.bz2 393291 RMD160 979ef56b7484e6542db035d03258f5fba63b9302 SHA1 3fa5188eaaa2fc83fb9c4196f6695a23cb17f3bc SHA256 dba022e022109a5bacbe122d50917769ff27b64a7bba104bd38ced8de8510642 +EBUILD libdca-0.0.5-r1.ebuild 1124 RMD160 45cabcec45cd9282d519bb58518bf63bb910308d SHA1 b1a87876500834e97cb869ceca31e122c94e4bd4 SHA256 33a360a11734048017ce3cf0531c3168a912e3d77695e9fcc9be4613f65c000a EBUILD libdca-0.0.5.ebuild 959 RMD160 5c0810d46bbabbf8951d4c5c5147b85c847fa83b SHA1 8c640afb6b8c9a63f3dd24a4841e4166626d8028 SHA256 07453505dbcf595b8b54973012ed3a514ae3a88ef67402be5777f4a24f8936ee -MISC ChangeLog 2166 RMD160 af1831a3e7b077b45de6ff0b20b1b261184549db SHA1 ddd2a625cd9bc4e873e7c5c45fc9f51971edf829 SHA256 c95b0ec51c6f372e23086852b0fe259baad1c2c30b7cf111af89b70953799a85 +MISC ChangeLog 2406 RMD160 3309443a3e670f22dbf1910eb9b86e1cd9652ff9 SHA1 676d022324ba2b1a21644fd24ecead3f47b5e085 SHA256 383da825e063eb109064f979d3dbcb18627dd2476da60812280e75db75c9fb6b MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b diff --git a/media-libs/libdca/files/libdca-0.0.5-tests-optional.patch b/media-libs/libdca/files/libdca-0.0.5-tests-optional.patch new file mode 100644 index 000000000000..0f52ac6f5c30 --- /dev/null +++ b/media-libs/libdca/files/libdca-0.0.5-tests-optional.patch @@ -0,0 +1,37 @@ +diff -NrU5 libdca-0.0.5.orig/configure.ac libdca-0.0.5/configure.ac +--- libdca-0.0.5.orig/configure.ac 2008-06-13 23:54:27.000000000 +0200 ++++ libdca-0.0.5/configure.ac 2008-06-13 23:55:58.000000000 +0200 +@@ -75,10 +75,17 @@ + TRY_CFLAGS="$OPT_CFLAGS -xCC -fast -xO5" + AC_TRY_CFLAGS([$TRY_CFLAGS $CFLAGS],[OPT_CFLAGS=$TRY_CFLAGS]);; + esac + fi + ++dnl Build tests? ++AC_ARG_ENABLE(tests, ++ AS_HELP_STRING([--disable-tests], [Don't build tests during make]),, ++ enable_tests="yes") ++AM_CONDITIONAL(TESTS, [test "$enable_tests" = "yes"]) ++ ++ + # dnl Checks for libtool - this must be done after we set cflags + # AC_LIBTOOL_WIN32_DLL + m4_undefine([AC_PROG_CXX]) + m4_defun([AC_PROG_CXX],[]) + m4_undefine([AC_PROG_F77]) +diff -NrU5 libdca-0.0.5.orig/test/Makefile.am libdca-0.0.5/test/Makefile.am +--- libdca-0.0.5.orig/test/Makefile.am 2008-06-13 23:54:27.000000000 +0200 ++++ libdca-0.0.5/test/Makefile.am 2008-06-13 23:54:46.000000000 +0200 +@@ -1,10 +1,12 @@ ++if TESTS + AM_CFLAGS = $(DCADEC_CFLAGS) + + noinst_PROGRAMS = compare + compare_SOURCES = compare.c + compare_LDADD = $(COMPARE_LIBS) + + dist_check_SCRIPTS = regression compile globals + EXTRA_DIST = tests + TESTS = regression compile + #broken test: globals ++endif diff --git a/media-libs/libdca/libdca-0.0.5-r1.ebuild b/media-libs/libdca/libdca-0.0.5-r1.ebuild new file mode 100644 index 000000000000..77e9e9e1e3d6 --- /dev/null +++ b/media-libs/libdca/libdca-0.0.5-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libdca/libdca-0.0.5-r1.ebuild,v 1.1 2008/06/13 22:17:59 loki_val Exp $ + +inherit eutils toolchain-funcs autotools base + +DESCRIPTION="library for decoding DTS Coherent Acoustics streams used in DVD" +HOMEPAGE="http://www.videolan.org/developers/libdca.html" +SRC_URI="http://www.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="oss debug test" + +RDEPEND="!media-libs/libdts" + +DOCS="AUTHORS ChangeLog NEWS README TODO doc/${PN}.txt" + +PATCHES=( "${FILESDIR}"/${P}-cflags.patch + "${FILESDIR}"/${P}-tests-optional.patch ) + +src_unpack() { + base_src_unpack + cd "${S}" + eautoreconf +} + +src_compile() { + econf $(use_enable oss) \ + $(use_enable debug) \ + $(use_enable test tests) + + emake OPT_CFLAGS="" || die "emake failed." +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS ChangeLog NEWS README TODO doc/${PN}.txt +} |