diff options
author | Michał Górny <mgorny@gentoo.org> | 2013-05-01 21:40:02 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2013-05-01 21:40:02 +0000 |
commit | 6947bdac1c9abcc3e5a26ec8b30035205481213d (patch) | |
tree | 1f8e80984f69aca90d42ee6849a534786ed153d7 /media-libs | |
parent | Convert to multilib, wrt bug #464594. Respect docdir wrt bug #468194. (diff) | |
download | historical-6947bdac1c9abcc3e5a26ec8b30035205481213d.tar.gz historical-6947bdac1c9abcc3e5a26ec8b30035205481213d.tar.bz2 historical-6947bdac1c9abcc3e5a26ec8b30035205481213d.zip |
Convert to multilib, wrt bug #464490. Add doc hack thanks to Karl Lindén. Add USE=doc to control doc install.
Package-Manager: portage-2.2.0_alpha173/cvs/Linux x86_64
Manifest-Sign-Key: 0x9627F456F9DA7643!
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/flac/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/flac/Manifest | 25 | ||||
-rw-r--r-- | media-libs/flac/flac-1.2.1-r5.ebuild | 77 |
3 files changed, 101 insertions, 11 deletions
diff --git a/media-libs/flac/ChangeLog b/media-libs/flac/ChangeLog index 5526fdb545e3..e82e34c14c26 100644 --- a/media-libs/flac/ChangeLog +++ b/media-libs/flac/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/flac # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.153 2013/04/25 19:02:23 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.154 2013/05/01 21:40:00 mgorny Exp $ + +*flac-1.2.1-r5 (01 May 2013) + + 01 May 2013; Michał Górny <mgorny@gentoo.org> +flac-1.2.1-r5.ebuild: + Convert to multilib, wrt bug #464490. Add doc hack thanks to Karl Lindén. Add + USE=doc to control doc install. 25 Apr 2013; Tim Harder <radhermit@gentoo.org> flac-1.2.1-r4.ebuild: Fix autoreconf failures with automake-1.13 (bug #466990). @@ -582,5 +588,3 @@ 08 Jul 2002; Daniel Robbins <drobbins@gentoo.org> : New version of FLAC with better faster decoding and new C++ API. - - diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest index 582522390e60..cf4e5ed1a0c7 100644 --- a/media-libs/flac/Manifest +++ b/media-libs/flac/Manifest @@ -12,16 +12,25 @@ DIST flac-1.2.1-embedded-m4.tar.bz2 8545 SHA256 a32bd229ba454be595e66fa257805951 DIST flac-1.2.1.tar.gz 2009217 SHA256 9635a44bceb478bbf2ee8a785cf6986fba525afb5fad1fd4bba73cf71f2d3edf SHA512 39b216239341fbfe210c3a2fc0d0531ecae26c425365c4b6d4fc1081e44e6dc7a9aba8d4c79cc8025386d0a7bb0d25c413c9b64cf7da9ab04ca34a56d2699787 WHIRLPOOL e38815e1c365f26a990752779bc1fb84a76d9d422cac9d66f1e55b5fcacad675006939a1d4ab72f20c36d8a80be4218a109317cc6e90f12abc9e1570dbe27319 EBUILD flac-1.2.1-r3.ebuild 1720 SHA256 1e4bdd04c8abd7f1ddc791bb90d73f7db09eda58f2f73a7c4decd0ad70a9650d SHA512 e189d700c228cb91714de43879768672e00bef04f471d69bf98044ef670a3400c07a277c29c4c42b2a616b4de044babe6c915ff13a40a7e5792f9d509157901a WHIRLPOOL 1fe70a1ff54665068f80e229eeb6d0ce62c5bea13a3cbabd251c8ae90bfc11add29e3bab41420254fc83cf2bafc4a4e26df5188bdd170e44411188a6114227ad EBUILD flac-1.2.1-r4.ebuild 1863 SHA256 28bf826fb81a2244ddb6c4edf776068bf4d7b42824b4bd2ff6c51a9ba11284a2 SHA512 9a2e782e6a2fc330c80ded7af82b31ed1006230f112ee8b6e5cb02e78011690f90c137a5b90ec44ede429f9e74788bf41e361569a38f0ca1db3eb6d12a996a8c WHIRLPOOL 430d83d8aa75e4c7f71ab36c1d8946d561e4e7703aa3fff18f40a0ec26be480d6c2bf4b12284aceca00b3b917a127ffe05cb4eacfb5e904e77e53e8e65b459f6 -MISC ChangeLog 21944 SHA256 60a32e9e603de5c21a9ac514dc630944d7d6829decc2adb156c43f09e71a71ab SHA512 0caabcfab02ce8ae3c6dcece8414e92508839df0ee01283d2a7c0343a66a31abcaa4e1db5c117ff0bdddff3db89cee3f57c98561f810d7307250d6cc9d5849de WHIRLPOOL f84d6b23706c92666bf74c31470b1418aed68c968eb963d9fdd39ab71ffa5e3c69860b15028e4ce2ea8c8e216add8bc62b385b1624b391a8d35decd9aa7aa53f +EBUILD flac-1.2.1-r5.ebuild 1943 SHA256 e2aacb02babc7c2e28021af005ec984c02410d35f2d062619352bbc26418322d SHA512 7703b8830ca2fea23917124bf8aadc587fb74946f3736a32efe12cbdf0eb387191c52fc94bccc65c5ef34d6401824831effbb4f9d591788dae5195f99d96294a WHIRLPOOL 6f340416ee0aad3cc6e70302dbed244471b0c1bdfa5b2608e0ebdf3343f2a47b9275fd59aa86b3829e912f6d53ba67495bb405d58b572cc7db5698fdce30b893 +MISC ChangeLog 22158 SHA256 d240d3bdf0257e7bddcedcef7b0a30a45ebd6187d7934aa20f992e790c6cdbda SHA512 8fabbefa0f92727dce0d59c681d897ed9410274b0e8cf1e3a5e7facd909028051e9000421ba9e2728d8aea944316c8983bad87dad9cfd2a9bcb8e2cc5d3fb589 WHIRLPOOL 31c83ebcd7e415a289c07c3d4fc583517a4add59d984fc0af879c69aa180b4064fd80f3a6cfe664d05daed6e080999373fe7286eb16c4fac6dee7bd7c4390efa MISC metadata.xml 158 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b SHA512 90f74979d228a35f81de50665ead63d228bc4f0d11f3def4832c9607f4242cbc4562db0a123bdcf2c4b6e0be78fc5565a65f75cdb53ed4c8d45544ebf74255dc WHIRLPOOL a90483bd4fa01ed5fa21bfe9f59c11b97c793146e3031eae342a3355c6dc2e4ef2b356af0bf711b5e16e16551c91d63ecdbb48e708df606017264e8bff5e9fe9 -----BEGIN PGP SIGNATURE----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MN6aoYpl3 +sriq7tqIhQ0x/wEBPRVU8CZs43Ki5ZatNvWAsJS2qnJUkOvRXAt0Mo8Xb0Y02KAC +Bi3MP4hMYL69OGcJcqOcxxu5Vw77qDOX/pddJ7n7Nxnj0czM0bWezfFJkWMEOHnk +WBxZsJkXECWo40elKKz6rB7QmPX9LkIpyEVPMlwL018FB7VMjVXI7rUA6vMRzhLG +g86+wsRJEfoFtFPXolOK +=JK3u -----END PGP SIGNATURE----- diff --git a/media-libs/flac/flac-1.2.1-r5.ebuild b/media-libs/flac/flac-1.2.1-r5.ebuild new file mode 100644 index 000000000000..21cc6c45688c --- /dev/null +++ b/media-libs/flac/flac-1.2.1-r5.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/flac-1.2.1-r5.ebuild,v 1.1 2013/05/01 21:40:00 mgorny Exp $ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 +WANT_AUTOMAKE=1.12 +inherit autotools-multilib + +DESCRIPTION="free lossless audio encoder and decoder" +HOMEPAGE="http://flac.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz + mirror://gentoo/${P}-embedded-m4.tar.bz2" + +LICENSE="BSD FDL-1.2 GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="3dnow altivec +cxx debug doc ogg sse static-libs" + +RDEPEND="ogg? ( >=media-libs/libogg-1.1.3[${MULTILIB_USEDEP}] ) + abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224 )" +DEPEND="${RDEPEND} + abi_x86_32? ( dev-lang/nasm ) + !elibc_uclibc? ( sys-devel/gettext ) + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-asneeded.patch + "${FILESDIR}"/${P}-cflags.patch + "${FILESDIR}"/${P}-asm.patch + "${FILESDIR}"/${P}-dontbuild-tests.patch + "${FILESDIR}"/${P}-dontbuild-examples.patch + "${FILESDIR}"/${P}-gcc-4.3-includes.patch + "${FILESDIR}"/${P}-ogg-m4.patch +) + +src_prepare() { + cp "${WORKDIR}"/*.m4 m4 || die + + # html docgen seems to cause trouble + sed -i -e '/SUBDIRS/s:html::' doc/Makefile.am || die + + AT_M4DIR="m4" \ + autotools-multilib_src_prepare +} + +src_configure() { + local myeconfargs=( + $(use_enable debug) + $(use_enable sse) + $(use_enable 3dnow) + $(use_enable altivec) + --disable-doxygen-docs + --disable-xmms-plugin + $(use_enable cxx cpplibs) + $(use_enable ogg) + --disable-examples + ) + autotools-multilib_src_configure +} + +src_test() { + if [[ ${UID} != 0 ]]; then + autotools-multilib_src_test + else + ewarn "Tests will fail if ran as root, skipping." + fi +} + +src_install() { + use doc && local HTML_DOCS=( doc/html/. ) + + autotools-multilib_src_install + + rm -rf "${D}"/usr/share/doc/${P} +} |