summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-01-15 21:44:19 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-01-15 21:44:19 +0000
commitbed84d5bd919ef329dd1a32c1574e3035272603b (patch)
treeea2d2150beb6055f5bd6a1dce8ab9055b143195f /media-sound/mpg123
parentforgot to add ia64 to keywords... (diff)
downloadhistorical-bed84d5bd919ef329dd1a32c1574e3035272603b.tar.gz
historical-bed84d5bd919ef329dd1a32c1574e3035272603b.tar.bz2
historical-bed84d5bd919ef329dd1a32c1574e3035272603b.zip
Introduce eselect-mpg123 support.
Package-Manager: portage-2.2.0_alpha151/cvs/Linux x86_64 Manifest-Sign-Key: 0x4868F14D
Diffstat (limited to 'media-sound/mpg123')
-rw-r--r--media-sound/mpg123/ChangeLog7
-rw-r--r--media-sound/mpg123/Manifest17
-rw-r--r--media-sound/mpg123/mpg123-1.14.4-r1.ebuild85
3 files changed, 100 insertions, 9 deletions
diff --git a/media-sound/mpg123/ChangeLog b/media-sound/mpg123/ChangeLog
index 511aca52ad45..2364fc8a30b7 100644
--- a/media-sound/mpg123/ChangeLog
+++ b/media-sound/mpg123/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/mpg123
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v 1.279 2013/01/14 04:11:27 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v 1.280 2013/01/15 21:44:13 ssuominen Exp $
+
+*mpg123-1.14.4-r1 (15 Jan 2013)
+
+ 15 Jan 2013; Samuli Suominen <ssuominen@gentoo.org> +mpg123-1.14.4-r1.ebuild:
+ Introduce eselect-mpg123 support.
14 Jan 2013; Tim Harder <radhermit@gentoo.org> -mpg123-1.13.2.ebuild,
-mpg123-1.14.2.ebuild, -mpg123-1.14.3.ebuild:
diff --git a/media-sound/mpg123/Manifest b/media-sound/mpg123/Manifest
index 6ac6b7da04b0..44ccdfb321fd 100644
--- a/media-sound/mpg123/Manifest
+++ b/media-sound/mpg123/Manifest
@@ -2,17 +2,18 @@
Hash: SHA256
DIST mpg123-1.14.4.tar.bz2 797694 SHA256 9ca189f24eb4ec6b5046b64d72c3c8439fd9ea300ce1b8b91a05cd6a9d3e5c12 SHA512 bb20de004271ab40ec26da0d4759970d02855970c88d4ca9971b7d41ea72679032619cc952d96d343bd46c6b5eca6e38eb9f000845960bc464894b850b4de014 WHIRLPOOL 8bfae3e44b860d4e88b47b1be287ea9609726426b5ef413c924ec1d0e6383a87fb671220bc8ab864cb8a135a7c3b7a48881f3f49f74092d87f6989c5f493cf74
+EBUILD mpg123-1.14.4-r1.ebuild 2343 SHA256 0db5c2e923dee9ed11409294e635bfc1e018bd67e8ecbd81a40dc126d93fbefd SHA512 fd569f2f93eb7c77c9af1aed65d3571555244c32a8922a060241ab8cad32c3b189d9b6c2e6f2c56057696a358607df91c6cf593be9eda2218e385db67daddabb WHIRLPOOL fff2044d57f4c0d177c0a2fd1ae3b652696dc131bd63e4bb61192590376278a4d406d3b0607d492b8d6febdb076f8e64d99c50013620f0426b628c5fef1b7197
EBUILD mpg123-1.14.4.ebuild 2154 SHA256 8b47dc5ff937b9b59bcc6fe68fa99bdc3be05bb03787160e1cd226ec3efa961d SHA512 19eb959c46e2cea5f03b10e77ecdaa05b61f1287b5393a3c96be7e5ef2ad068e86767d3562a7245ea795aaf2cb3d76a5d0949606f1114b169d0cb77ca59c6d57 WHIRLPOOL 5315b805e7ff1b06718f122538930aec3e521c074695e83a6a7bc47b75a21b492c62b4e371f465eeb3c2fd5aed0228156caa5e7bb9193ca341eb460f34715e7e
-MISC ChangeLog 37696 SHA256 83175ba48e07747e6333469c4d69beefff80d95b0e8966cfa5f3d41653bfaf70 SHA512 924a3a581d14449febd0bd34f0df15f54b3fa6ef45db9fc5431f332c5421e4ed0589428852d02edf58fdb6e68deccc034222c8aeec40fb9f38d20b2e6da6b486 WHIRLPOOL 37fd1192e9dea7cf65a1a6c203bf6c3a52c53634f5188fc0a26b282b5e8868e98add0f335a84d574954e36b8a3a3784500d9234b1436c11c99de07697594eb68
+MISC ChangeLog 37846 SHA256 a44bc7f5d0f98027ef0b49458e8919ced16fc21660c9c84b86780486cee1aa1f SHA512 9b8bd9424e3e0afac865472cc395daab4a685263c65c1de600a2877a29d0143b42318d5456639ee9b515c3337e88e7662df1951c5f69017a3829bad0a754653e WHIRLPOOL 1fe48f57568b8db26342a8c77191c8f60123cb7b9781b62e2e9a17dc8e720044ca1d5f8b5542297f055f1af35e4d96cb88870fe6a51131997f88151d43297384
MISC metadata.xml 492 SHA256 ec073d0ca010ed50d6b671f13cc98a6ee6f221526e56886b469d436c25a6042e SHA512 0cb2796ed7f5eb2696d374b45f83a371944257d177d6c73df0495178dd9e43a56efe947ccdf09dcb306c051f4e00c1af3f95201a32b93ae7eef449fe2acbe7dc WHIRLPOOL 7b1da43b004d4cf690fd16915d0af64207e4ccbf391f8ae1253d14f916a44c92ecfdbe80473c8a0fdff9aa82a7366f42348c97525057ccf1195a8722ff5c67a6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCAAGBQJQ84VwAAoJEEqz6FtPBkyj8ikH/j9z8FpI9fTyb2wOsKfe1DE8
-DnYAm8BF1aQEpqYDaKPmzqPC1Brjew9F40mAOAhqJoqPBdIP9kQdB9mB1YthJyFL
-s1jSKogPwRYVTVxtt9OlG7gcMEB2DzEas8w6kLVR2s2jo4iBFbBh+ALRU/+I6cGH
-1eHA8gWjV0XT+KbPk14AmeAYei6AHGjOE9znGNRRVx4MUiPCzxj4CwqT0AHiIhlq
-J9NRJbUY09efzEppEROC04ksevw1WI1OmXcL0SC2vmywtcbj4ehphvuTTMNOvOJR
-NxHvO+tT5lyZjV8S+sDVl5o4lyp/5d9atgzyQ6vYzXzXXSN17omyBS9SjObebIo=
-=idsh
+iQEcBAEBCAAGBQJQ9c1nAAoJEEdUh39IaPFNFoYH/1r6Uo1Vz5gaR69nhMjyIaOM
+nroXC6TUoWkrsKz13vFfqC/TIMC8ReO56yMXx0CEPGHDsbKDRieWbyu6zmyjVUhe
+eEnQbHRe2M3fNjlVQpc+Miy3zDBGiJ7LSBTLWxv+/RM47WdMu/1QN4O/rXq8XvJ6
+Oz9rw4ZBc3ldw9+VnCafWHAdGek/zIMk0jtl8J6EToseouQBEYehhCUshxPRLcBr
+ClOljrf//8caazBphXD0oPc08CFu83OWLu7If9GjhkEe8i6OR0y7wpiu+CpGwGon
+v4VQg6Gexa6cU6XRtEzIY+Z06MUa8aDb91YLWF4NePK81R40J74DqqmfUq6AY6w=
+=dopM
-----END PGP SIGNATURE-----
diff --git a/media-sound/mpg123/mpg123-1.14.4-r1.ebuild b/media-sound/mpg123/mpg123-1.14.4-r1.ebuild
new file mode 100644
index 000000000000..34fef867cf9d
--- /dev/null
+++ b/media-sound/mpg123/mpg123-1.14.4-r1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/mpg123-1.14.4-r1.ebuild,v 1.1 2013/01/15 21:44:13 ssuominen Exp $
+
+EAPI=5
+inherit toolchain-funcs libtool eutils
+
+DESCRIPTION="a realtime MPEG 1.0/2.0/2.5 audio player for layers 1, 2 and 3"
+HOMEPAGE="http://www.mpg123.org/"
+SRC_URI="http://www.mpg123.org/download/${P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="3dnow 3dnowext alsa altivec coreaudio int-quality ipv6 jack mmx nas oss portaudio pulseaudio sdl sse"
+
+RDEPEND="app-admin/eselect-mpg123
+ >=sys-devel/libtool-2.2.6b
+ alsa? ( media-libs/alsa-lib )
+ jack? ( media-sound/jack-audio-connection-kit )
+ nas? ( media-libs/nas )
+ portaudio? ( media-libs/portaudio )
+ pulseaudio? ( media-sound/pulseaudio )
+ sdl? ( media-libs/libsdl )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog NEWS NEWS.libmpg123 README )
+
+src_prepare() {
+ elibtoolize # for Darwin bundles
+}
+
+src_configure() {
+ local _audio=dummy
+ local _output=dummy
+ local _cpu=generic_fpu
+
+ for flag in nas portaudio sdl oss jack alsa pulseaudio coreaudio; do
+ if use ${flag}; then
+ _audio="${_audio} ${flag/pulseaudio/pulse}"
+ _output=${flag/pulseaudio/pulse}
+ fi
+ done
+
+ use altivec && _cpu=altivec
+
+ if [[ $(tc-arch) == amd64 || ${ARCH} == x64-* ]]; then
+ use sse && _cpu=x86-64
+ elif use x86 && gcc-specs-pie ; then
+ # Don't use any mmx, 3dnow, sse and 3dnowext #bug 164504
+ _cpu=generic_fpu
+ elif use x86-macos ; then
+ # ASM doesn't work quite as expected with the Darwin linker
+ _cpu=generic_fpu
+ else
+ use mmx && _cpu=mmx
+ use 3dnow && _cpu=3dnow
+ use sse && _cpu=x86
+ use 3dnowext && _cpu=x86
+ fi
+
+ econf \
+ --with-optimization=0 \
+ --with-audio="${_audio}" \
+ --with-default-audio=${_output} \
+ --with-cpu=${_cpu} \
+ --enable-network \
+ $(use_enable ipv6) \
+ --enable-int-quality=$(usex int-quality)
+}
+
+src_install() {
+ default
+ mv "${ED}"/usr/bin/mpg123{,-mpg123}
+ find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
+}
+
+pkg_postinst() {
+ eselect mpg123 update ifunset
+}
+
+pkg_postrm() {
+ eselect mpg123 update ifunset
+}