diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-sound/mpg321 | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-sound/mpg321')
-rw-r--r-- | media-sound/mpg321/Manifest | 1 | ||||
-rw-r--r-- | media-sound/mpg321/files/mpg321-0.2.12-check-for-lround.patch | 16 | ||||
-rw-r--r-- | media-sound/mpg321/metadata.xml | 8 | ||||
-rw-r--r-- | media-sound/mpg321/mpg321-0.3.1-r1.ebuild | 49 |
4 files changed, 74 insertions, 0 deletions
diff --git a/media-sound/mpg321/Manifest b/media-sound/mpg321/Manifest new file mode 100644 index 000000000000..03c59343dc87 --- /dev/null +++ b/media-sound/mpg321/Manifest @@ -0,0 +1 @@ +DIST mpg321-0.3.1.tar.gz 151104 SHA256 0b9c23d75a89236ade9830e0319d7e799efea9f6af262d6defda962037d65579 SHA512 77a7b975f2d31f670eb786ccb9601820945e60b19a188e7337bd2ff0237c7ee47970c27adf78cf633d4a561e89b06de3eacf9f2ec11373abcdcb75c322f19eee WHIRLPOOL 81ee33186d25fdadc288cb09cfa9a124531ac1fbe8e7c10cf748b5960f12de46d536ff7bde9fbb98979d57939fe10ad87179c193bf350dd4932731276eb330bf 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/metadata.xml b/media-sound/mpg321/metadata.xml new file mode 100644 index 000000000000..e16c7f691b28 --- /dev/null +++ b/media-sound/mpg321/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sound</herd> + <upstream> + <remote-id type="sourceforge">mpg321</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-sound/mpg321/mpg321-0.3.1-r1.ebuild b/media-sound/mpg321/mpg321-0.3.1-r1.ebuild new file mode 100644 index 000000000000..f6c764d1a1d7 --- /dev/null +++ b/media-sound/mpg321/mpg321-0.3.1-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils + +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}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="ipv6" + +RDEPEND="app-eselect/eselect-mpg123 + >=media-libs/libao-1 + media-libs/libid3tag + media-libs/libmad + sys-libs/zlib" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${P}-orig + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.2.12-check-for-lround.patch + eautoreconf +} + +src_configure() { + econf \ + --disable-mpg123-symlink \ + $(use_enable ipv6) +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS BUGS HACKING README* THANKS TODO # NEWS and ChangeLog are dead + mv "${ED}"/usr/bin/mpg321{,-mpg123} +} + +pkg_postinst() { + eselect mpg123 update ifunset +} + +pkg_postrm() { + eselect mpg123 update ifunset +} |