diff options
author | Alexis Ballier <aballier@gentoo.org> | 2013-02-23 13:12:17 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2013-02-23 13:12:17 +0000 |
commit | 449616cdab4b84d1325ebc6bf9a7f16938f4fab0 (patch) | |
tree | dcb27839ed58d74bfe30a20b560b084f994dfca7 /media-sound | |
parent | dev-libs/igraph: Add missing dep on virtual/pkgconfig (diff) | |
download | historical-449616cdab4b84d1325ebc6bf9a7f16938f4fab0.tar.gz historical-449616cdab4b84d1325ebc6bf9a7f16938f4fab0.tar.bz2 historical-449616cdab4b84d1325ebc6bf9a7f16938f4fab0.zip |
version bump
Package-Manager: portage-2.2.0_alpha163/cvs/Linux x86_64
Manifest-Sign-Key: 0x160F534A
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/sox/ChangeLog | 10 | ||||
-rw-r--r-- | media-sound/sox/Manifest | 13 | ||||
-rw-r--r-- | media-sound/sox/files/sox-14.4.1-uclibc.patch | 21 | ||||
-rw-r--r-- | media-sound/sox/sox-14.4.1.ebuild | 84 |
4 files changed, 121 insertions, 7 deletions
diff --git a/media-sound/sox/ChangeLog b/media-sound/sox/ChangeLog index 6caa88e57d6b..8f987eb835e6 100644 --- a/media-sound/sox/ChangeLog +++ b/media-sound/sox/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/sox -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/sox/ChangeLog,v 1.143 2012/11/25 21:12:32 lu_zero Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/sox/ChangeLog,v 1.144 2013/02/23 13:12:09 aballier Exp $ + +*sox-14.4.1 (23 Feb 2013) + + 23 Feb 2013; Alexis Ballier <aballier@gentoo.org> +sox-14.4.1.ebuild, + +files/sox-14.4.1-uclibc.patch: + version bump 25 Nov 2012; Luca Barbato <lu_zero@gentoo.org> sox-14.4.0.ebuild, +files/sox-14.4.0-libav-9.patch: diff --git a/media-sound/sox/Manifest b/media-sound/sox/Manifest index bedefaf21963..5e58dffb9ffe 100644 --- a/media-sound/sox/Manifest +++ b/media-sound/sox/Manifest @@ -6,16 +6,19 @@ AUX sox-14.3.2-uclibc.patch 762 SHA256 2f76765afd5eede020be9ddd539b4cd3dcce68dd7 AUX sox-14.4.0-avcodec54.patch 3608 SHA256 dc6cca09785d4783621b31f338a3280233f1842cc299501711140daecb7ac044 SHA512 35a41f808f0d80fd8c7957f4b47494afa9bd29a7039fa7639c2504b1b17170fd23f00434c33e5a8c3a8b46fde7513f9f6a4afa4091bf2eeccd3e6536d49f0166 WHIRLPOOL 61da76d00ed8b58dc088af0aa97ac0bfacbc96d9138e44b1ff09e83ca880c3e8f2887e4ef22e4748879c11ec834656bc6ce09358cb82228fafcdc54bde183a68 AUX sox-14.4.0-ffmpeg.patch 223 SHA256 105b18a061e741acf2fcd5ae176d60c07cfffdeb9e45ac36a2f8975098e19506 SHA512 7ca313da3e40850c412b765f040a1931d7657d8c038e0c31da8bcf09e06ff7745ac002def7be9f424d85ba90329308f86d3fc14d47ca749e18fb995056b3ec46 WHIRLPOOL d07a64e6a330194de66c13e9a4cfcb3b113664012ee8dfc3513fe032a011dda0aa524608815a6e3d89d79f2e2e71bdc115b0db466a4fc32a0395814a4ac1fc07 AUX sox-14.4.0-libav-9.patch 1185 SHA256 a43522567725542140f08f156d85fc9034f16de1e9142cb5797d177d342e7432 SHA512 1aac0a538bedfdd9723f12a1f2b7c055904aa44204519e703f30b5fb3c03537393a49a722c729bf7f8c0e0344383ae33a24814b4f94f241b74a2e50501658fa4 WHIRLPOOL 56dd190ba89d1234199cbe8cdcc47ce85ef18402b306832511c754d507804e924daa6e02ba3509eeba8729f86b957c5106f61f85c6f8ccd421e898a2df89bc72 +AUX sox-14.4.1-uclibc.patch 950 SHA256 ff13e729ce15959032592f28faa9229192aa8ca04c70336dcb71b9a0899d0adc SHA512 bc2da7a4ce39fb624be4bf4bc349acc38fd84edd1a30c0c2d3b3aa5b1eb4f37eb8b05e22ac774aa2d18506b34fe53deed4f98714bfbfab6ee9b67f38268e310c WHIRLPOOL aa45224f19c733469cdd4dcd518ef16efb8ac8fa194b33008e158e0cd98f187e68bdacb9f5b1e6a3cc37cc47be7d3373745dab4b16b04bb704e56f2ff1242ccf DIST sox-14.3.2.tar.gz 1110175 SHA256 0668cc087c346f7c4084ae294c676a11ddefb462974bc3f67be30d789c850e8f DIST sox-14.4.0.tar.gz 1105756 SHA256 3ee34b14dd267de378e8a117aae81ec4cae330772342e6a55bbf6520a0a88aa3 SHA512 cecd24fb2c8cfd3d4046d4a83ef42ae86e4c063fa94803f09f9eb07eb273234f47eed60b16c4341eca19476e3f4c2b88f6c23cdceda5d647d5a0db058877d9c5 WHIRLPOOL e6df8dc5b2421c53c3f602a949d35313f37edb870176b756d9fcc15e8d6f739021a411b777a10db8282d972b3a47c452568d289ea23a0991f095ac3d166ee2f7 +DIST sox-14.4.1.tar.gz 1111653 SHA256 9a8c2c6fe51e608da346a157e111508a957af9e3ecf3de26781d36e9a67fa89b SHA512 a35c0f424ffaa51d06291e69b28ae7f2248a750fa8aded911dcd7e123877ecb5142c292f943eb723142c50dbd890b58163c6ef24c9c0573377855fad1b36fb25 WHIRLPOOL e1523027ea5221f31b9b6f8ff90503555d25fb68d3a35d5a7442142503140ed702a03d84a833056255cd2efa21b15d31358968ffbd1d252176996ed7e24bcf24 EBUILD sox-14.3.2-r1.ebuild 2363 SHA256 724deab4677e60b91f91f846641546b88c99eccb36c8407b15dfcb841f4ba61b SHA512 bcdc4202ed493da1548693cbe317c8d692a806e0f2938cadb79a65a2fddd69fc1ab0cb0f06f29ff1f54712f2c59261496cbaa9945954a4112778a065b58448db WHIRLPOOL 7f9856c397b184d9f5ef001a7fe1a273627c4660f0deb52f0ee7ae4cd8ea2a678472db71345e43ada8e8f800d854ad2b0be2f8f61e882cfddaac08f99bcb2914 EBUILD sox-14.4.0.ebuild 2547 SHA256 8fdb8c0380adb93138ce4ec848c708a69cc82e1e8beb82404427919b6e0d4e05 SHA512 85cb5e4f9ec0f9ef9c298e7c413164a546b96628bf332d8145ffb82f1db7444efaf1fccf935a45adaf52baaa10b27394f3c37d80ecf92d2f6084a215cb3521fb WHIRLPOOL 80e04bddfc65f698a6d1c458dcfa387d78d53f8de7149413705f179ebf95d3987f622100052ac8af42989fc5e3f1bb259718c017e847b9ea1702adbaa44f2334 -MISC ChangeLog 18926 SHA256 fc716230ea37c9cc82efd060fe7c1ff4cd5f0680a356187062c33c0b1879c2b4 SHA512 00bb356fc29d9aab5f4f827625683fe5de6f427cd6702fefa4597aa8e089d4df32b0bb56b580f723a99b6225701fc0a4aeb043c76f91897cecc48496cb6c1eaf WHIRLPOOL 0166b248907e0e1a54dbeb85d111de1da1df281e88143390c54f760e303ecbd2dbbd5a689108e52f8b3ac0dc4a56bdddbe063a9d4232f63f87e552e1ef5ac582 +EBUILD sox-14.4.1.ebuild 2589 SHA256 5c308926ab38da2f2194806676c36ad6fdf37d0c73b575afdefd26b89ef5477e SHA512 64fe7115bbc450a7e1c2a3d495fe5b7e66196f1b29bc386e2557314e23469fb82acb8d49bcfb97d7346cc56f803604ac14a19ca99dfd5661ad38830a05e3c532 WHIRLPOOL 16949288a1833fddb23561c90303754cbad318ef4a22c4545ede08d21ba3dd94b64f07e2f5fc191e194ef6ecaa649eea0303d49451554a66a52ca45794cc28cb +MISC ChangeLog 19076 SHA256 f685c6584a5c98304c312ee116311659718024ab1e4b1deef9ffa3d57422251e SHA512 515713f978d84d7872d9202208aa2c9429c8b0433abf1ee5e2adaea7692cbc5ca94992ee91aebdb584ad5c8a50eb967e5fb0771c1a4e3961cf57e6e7eb051d8e WHIRLPOOL 2d44176baaf0e2f2adaea777baa7a540394d57efc6a2dce0db4cc16d77aab5d475b80ce2a2028f84c875f8c6bf3c63a43cb4b1b653c60a8eeff7eea1f9e87d11 MISC metadata.xml 403 SHA256 b8616ecbe870e639f77d5c8d81010143f26bef678d8a5f3823bfa5bffc3874e3 SHA512 490c0914fed4e7985018e1e29476737194fadeec6b5c8893c9ff775481308cb5847635be65301cf1bdcd8af178a8a6dfbf5f489ce746e47be29caf3e018b3ce2 WHIRLPOOL 21da28c6dafe3384b9a2f7f6b5be8782f1547201db136d06d81732173580a5e0cac33e901d4b6e27ff371af67df6656b4f6a17ccfac964f36d37c5c6bb06fc37 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.18 (GNU/Linux) +Version: GnuPG v2.0.19 (GNU/Linux) -iF4EAREIAAYFAlCyiigACgkQcXOrnRGRc45pUwEArbIWVAU6R7BIilPkq1z7Ee3q -mp8VqLoGwILP2Qtx9iABAIy5cpGIgof7WKVB/JRbFx1FUrSrRPNOD4l3pmyuBB39 -=WWUR +iEYEAREIAAYFAlEowCsACgkQvFcC4BYPU0ovbwCfWolyCCekMLt0yEimQ3gEru73 +I/wAoLq4Y7BxLLrfAveqg0INeCN9FtaF +=TuMj -----END PGP SIGNATURE----- diff --git a/media-sound/sox/files/sox-14.4.1-uclibc.patch b/media-sound/sox/files/sox-14.4.1-uclibc.patch new file mode 100644 index 000000000000..84a37d346147 --- /dev/null +++ b/media-sound/sox/files/sox-14.4.1-uclibc.patch @@ -0,0 +1,21 @@ +Index: sox-14.4.1/src/formats.c +=================================================================== +--- sox-14.4.1.orig/src/formats.c ++++ sox-14.4.1/src/formats.c +@@ -409,7 +409,7 @@ static void UNUSED rewind_pipe(FILE * fp + #if defined _FSTDIO || defined _NEWLIB_VERSION || defined __APPLE__ + fp->_p -= PIPE_AUTO_DETECT_SIZE; + fp->_r += PIPE_AUTO_DETECT_SIZE; +-#elif defined __GLIBC__ ++#elif defined __GLIBC__ && ! defined __UCLIBC__ + fp->_IO_read_ptr = fp->_IO_read_base; + #elif defined _MSC_VER || defined _WIN32 || defined _WIN64 || defined _ISO_STDIO_ISO_H + fp->_ptr = fp->_base; +@@ -417,7 +417,6 @@ static void UNUSED rewind_pipe(FILE * fp + /* To fix this #error, either simply remove the #error line and live without + * file-type detection with pipes, or add support for your compiler in the + * lines above. Test with cat monkey.wav | ./sox --info - */ +- #error FIX NEEDED HERE + #define NO_REWIND_PIPE + (void)fp; + #endif diff --git a/media-sound/sox/sox-14.4.1.ebuild b/media-sound/sox/sox-14.4.1.ebuild new file mode 100644 index 000000000000..8ecc8496704f --- /dev/null +++ b/media-sound/sox/sox-14.4.1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/sox/sox-14.4.1.ebuild,v 1.1 2013/02/23 13:12:09 aballier Exp $ + +EAPI=4 +inherit eutils flag-o-matic autotools + +DESCRIPTION="The swiss army knife of sound processing programs" +HOMEPAGE="http://sox.sourceforge.net" +SRC_URI="mirror://sourceforge/sox/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" +IUSE="alsa amr ao debug encode ffmpeg flac id3tag ladspa mad ogg openmp oss png pulseaudio sndfile static-libs twolame wavpack" + +# libtool required for libltdl +RDEPEND=">=sys-devel/libtool-2.2.6b + >=media-sound/gsm-1.0.12-r1 + alsa? ( media-libs/alsa-lib ) + amr? ( media-libs/opencore-amr ) + ao? ( media-libs/libao ) + encode? ( >=media-sound/lame-3.98.4 ) + ffmpeg? ( >=virtual/ffmpeg-0.9 ) + flac? ( >=media-libs/flac-1.1.3 ) + id3tag? ( media-libs/libid3tag ) + ladspa? ( media-libs/ladspa-sdk ) + mad? ( media-libs/libmad ) + ogg? ( media-libs/libvorbis media-libs/libogg ) + png? ( media-libs/libpng sys-libs/zlib ) + pulseaudio? ( media-sound/pulseaudio ) + sndfile? ( >=media-libs/libsndfile-1.0.11 ) + twolame? ( media-sound/twolame ) + wavpack? ( media-sound/wavpack )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +src_prepare() { + sed -i -e 's:CFLAGS="-g":CFLAGS="$CFLAGS -g":' configure || die #386027 + + epatch \ + "${FILESDIR}"/${PN}-14.4.1-uclibc.patch \ + "${FILESDIR}"/${PN}-14.4.0-ffmpeg.patch \ + "${FILESDIR}"/${PN}-14.4.0-avcodec54.patch \ + "${FILESDIR}"/${PN}-14.4.0-libav-9.patch + eautoreconf +} + +src_configure() { + # Fixes wav segfaults. See Bug #35745. + append-flags -fsigned-char + + econf \ + $(use_with alsa) \ + $(use_with amr amrnb) \ + $(use_with amr amrwb) \ + $(use_with ao) \ + $(use_enable debug) \ + $(use_with encode lame) \ + $(use_with ffmpeg) \ + $(use_with flac) \ + $(use_with id3tag) \ + $(use_with ladspa) \ + $(use_with mad) \ + $(use_enable openmp gomp) \ + $(use_with ogg oggvorbis) \ + $(use_with oss) \ + $(use_with png) \ + $(use_with pulseaudio) \ + $(use_with sndfile) \ + $(use_enable static-libs static) \ + $(use_with twolame) \ + $(use_with wavpack) \ + --with-distro="Gentoo" +} + +src_install() { + default + # libltdl is used for loading plugins, keeping libtool files with empty + # dependency_libs what otherwise would be -exec rm -f {} + + find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + +} |