summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2011-08-21 01:20:16 +0000
committerMatt Turner <mattst88@gentoo.org>2011-08-21 01:20:16 +0000
commit0b493e33c6a93a312778f1c1e554010cd3032e3d (patch)
tree9ece77a3541464e18b812f0ef59e09af565cc2f1 /media-sound
parentVersion bump (diff)
downloadhistorical-0b493e33c6a93a312778f1c1e554010cd3032e3d.tar.gz
historical-0b493e33c6a93a312778f1c1e554010cd3032e3d.tar.bz2
historical-0b493e33c6a93a312778f1c1e554010cd3032e3d.zip
Check for -lm, since it wasn't added to LIBS. Run autoreconf to generate aclocal.m4 without hardcoded LIBDIR=lib, bug 380027.
Package-Manager: portage-2.1.10.3/cvs/Linux x86_64
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/mpg321/ChangeLog11
-rw-r--r--media-sound/mpg321/Manifest14
-rw-r--r--media-sound/mpg321/files/mpg321-0.2.12-check-for-lround.patch16
-rw-r--r--media-sound/mpg321/mpg321-0.2.12-r1.ebuild44
4 files changed, 82 insertions, 3 deletions
diff --git a/media-sound/mpg321/ChangeLog b/media-sound/mpg321/ChangeLog
index a3d8b3de6fbe..08376ec4fa50 100644
--- a/media-sound/mpg321/ChangeLog
+++ b/media-sound/mpg321/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-sound/mpg321
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg321/ChangeLog,v 1.74 2010/10/15 13:34:51 ranger Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg321/ChangeLog,v 1.75 2011/08/21 01:20:16 mattst88 Exp $
+
+*mpg321-0.2.12-r1 (21 Aug 2011)
+
+ 21 Aug 2011; Matt Turner <mattst88@gentoo.org> +mpg321-0.2.12-r1.ebuild,
+ +files/mpg321-0.2.12-check-for-lround.patch:
+ Check for -lm, since it wasn't added to LIBS. Run autoreconf to generate
+ aclocal.m4 without hardcoded LIBDIR=lib, bug 380027.
15 Oct 2010; Brent Baude <ranger@gentoo.org> mpg321-0.2.12.ebuild:
stable ppc, bug 335565
diff --git a/media-sound/mpg321/Manifest b/media-sound/mpg321/Manifest
index 61a0478a3e87..53129130441e 100644
--- a/media-sound/mpg321/Manifest
+++ b/media-sound/mpg321/Manifest
@@ -1,4 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX mpg321-0.2.12-check-for-lround.patch 670 RMD160 8c621e25bab2c3a105d3a16dc4a2146974a0fc71 SHA1 cba0321175910bb091d9dea386e649f75eb38ed6 SHA256 dff04950c7d68b48728378a4fd84dbfe7befa7853a36b18df2edfc24df939638
DIST mpg321-0.2.12-1.tar.gz 156487 RMD160 a6fad99b5b4a2f39b7ce2d938ce1bcbecd765513 SHA1 00b9053f9c373b042bf14040d8f351bd3336773b SHA256 635c7c125b7e888729a70b94f3c43db532c06527b54fb9ebe4f13819d49179cd
+EBUILD mpg321-0.2.12-r1.ebuild 1099 RMD160 d2f618d3474e71e0f061fb9452839d170f4347a7 SHA1 836d6f8105690bc595861194eaced0f23975b97b SHA256 ef098eb9d63b71d6b7f39c811bd46c9af5db7f558c208e1c7dd4318f7ee66e49
EBUILD mpg321-0.2.12.ebuild 986 RMD160 96b1d56e71f75a84d2ea05f5773871983bc56ea8 SHA1 6b53c145b00438483d297e12a2640e86e2984b69 SHA256 272a01f54d494d0d3ca483f052efc8c86e8fc958b364913f4931bc9552fec4f5
-MISC ChangeLog 9248 RMD160 a1544034253eae71313de6e3ed5ebd1d51f96aeb SHA1 e3fa23d3a264524c4f44e67bc80f5d98ad28bb03 SHA256 97556fdc24e266989bacb75ce52cf5e9fccada01c93385ccc73799a0d9b092e2
+MISC ChangeLog 9536 RMD160 a04d43a6ea9bf1648bd38601b4a8f6dcf4730580 SHA1 945fe4fdd45dd3e7a3bda96a1d03c66d8201a76d SHA256 72355dacf4b5b1ddcea04fb169e5d98ad22072d54d2d390f134b726cff0f3213
MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEARECAAYFAk5QXVQACgkQTVUdg23rv50zlQCfSgc9C+O5eBIyH4k2vLjcy/0s
+05QAn0TsvoskTYfhKKE95StOayrC3LXG
+=W+rQ
+-----END PGP SIGNATURE-----
diff --git a/media-sound/mpg321/files/mpg321-0.2.12-check-for-lround.patch b/media-sound/mpg321/files/mpg321-0.2.12-check-for-lround.patch
new file mode 100644
index 000000000000..ca52f7241167
--- /dev/null
+++ b/media-sound/mpg321/files/mpg321-0.2.12-check-for-lround.patch
@@ -0,0 +1,16 @@
+diff -ur mpg321-0.2.12-1.orig//configure.ac mpg321-0.2.12-1/configure.ac
+--- mpg321-0.2.12-1.orig//configure.ac 2010-07-03 07:46:40.000000000 -0400
++++ mpg321-0.2.12-1/configure.ac 2011-08-20 19:50:32.143229893 -0400
+@@ -75,6 +75,12 @@
+
+ AC_CHECK_FUNCS([gethostbyname memset munmap socket strchr strdup strerror strrchr strstr gettimeofday select getenv putenv setenv unsetenv strcasecmp])
+
++dnl Check if math library is needed.
++AC_CHECK_FUNC(lround)
++if test "$ac_cv_func_lround" = no; then
++ AC_CHECK_LIB(m, lround)
++fi
++
+ AC_ARG_ENABLE(mpg123_symlink,
+ [ --enable-mpg123-symlink Enable symlink of mpg123 to mpg321 [[default=yes]] ],
+ ,enable_mpg123_symlink=yes)
diff --git a/media-sound/mpg321/mpg321-0.2.12-r1.ebuild b/media-sound/mpg321/mpg321-0.2.12-r1.ebuild
new file mode 100644
index 000000000000..f9c4ff6dbc0d
--- /dev/null
+++ b/media-sound/mpg321/mpg321-0.2.12-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg321/mpg321-0.2.12-r1.ebuild,v 1.1 2011/08/21 01:20:16 mattst88 Exp $
+
+EAPI=4
+
+inherit autotools eutils
+
+MY_P=${P}-1
+
+DESCRIPTION="a realtime MPEG 1.0/2.0/2.5 audio player for layers 1, 2 and 3"
+HOMEPAGE="http://mpg321.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="alsa ipv6"
+
+RDEPEND="sys-libs/zlib
+ media-libs/libmad
+ media-libs/libid3tag
+ media-libs/libao[alsa?]"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-check-for-lround.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ --disable-mpg123-symlink \
+ $(use_enable ipv6)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ newdoc debian/changelog ChangeLog.debian
+ dodoc AUTHORS BUGS HACKING NEWS README{,.remote} THANKS TODO
+}