diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-05-06 08:19:33 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-05-06 08:19:33 +0000 |
commit | d8be33e0d08372406c1ce7d1bc6fde028a04cca3 (patch) | |
tree | 4bcc4bcd371d960a2f261bfb7274c820f81c9ff6 /media-sound/pianobar | |
parent | x86 stable per bug 361103 (diff) | |
download | historical-d8be33e0d08372406c1ce7d1bc6fde028a04cca3.tar.gz historical-d8be33e0d08372406c1ce7d1bc6fde028a04cca3.tar.bz2 historical-d8be33e0d08372406c1ce7d1bc6fde028a04cca3.zip |
Initial import.
Package-Manager: portage-2.2.0_alpha30/cvs/Linux x86_64
Diffstat (limited to 'media-sound/pianobar')
-rw-r--r-- | media-sound/pianobar/ChangeLog | 10 | ||||
-rw-r--r-- | media-sound/pianobar/Manifest | 19 | ||||
-rw-r--r-- | media-sound/pianobar/files/pianobar-2011.04.27-linking.patch | 15 | ||||
-rw-r--r-- | media-sound/pianobar/metadata.xml | 9 | ||||
-rw-r--r-- | media-sound/pianobar/pianobar-2011.04.27.ebuild | 45 |
5 files changed, 98 insertions, 0 deletions
diff --git a/media-sound/pianobar/ChangeLog b/media-sound/pianobar/ChangeLog new file mode 100644 index 000000000000..d658a68d4be2 --- /dev/null +++ b/media-sound/pianobar/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-sound/pianobar +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/pianobar/ChangeLog,v 1.1 2011/05/06 08:19:33 radhermit Exp $ + +*pianobar-2011.04.27 (06 May 2011) + + 06 May 2011; Tim Harder <radhermit@gentoo.org> +pianobar-2011.04.27.ebuild, + +files/pianobar-2011.04.27-linking.patch, +metadata.xml: + Initial import. + diff --git a/media-sound/pianobar/Manifest b/media-sound/pianobar/Manifest new file mode 100644 index 000000000000..8283a8cb0a79 --- /dev/null +++ b/media-sound/pianobar/Manifest @@ -0,0 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX pianobar-2011.04.27-linking.patch 615 RMD160 37a79b042737c4c47caa27462aab6e7d1a5edfa9 SHA1 48bf7b53f195c4b032504e331c79b9dd46669b6f SHA256 b283faaba4536847a5abfad372c18420fcde42dad7e6f57005ae03bb1d9281d8 +DIST pianobar-2011.04.27.tar.bz2 61317 RMD160 abaffd57c5c7b224f57fcbbb60fcacff06bcf062 SHA1 146c131b3f3427d5c1276705604feeca047956c4 SHA256 e4b1354974af36d32dc34b3329bd09f3e0437127539024cf7add61facbb621dc +EBUILD pianobar-2011.04.27.ebuild 1143 RMD160 eb3bce5905d7457b6d2f2191c5e1c47ed7d38d7f SHA1 9a8ec8bf7b6223bb1009a082505cb6c10402286f SHA256 aec05cadb7dad952c26f27a49e5521d497312c2383b87a2a215859465eff36ee +MISC ChangeLog 408 RMD160 7a771f1c736901eee45bdd921dcc2e40cf6ccea1 SHA1 0cd22a2cf16573f07c742035c21ef31006234452 SHA256 04549c7f7d6449ac41e4b4d327b716472d94c7d1fbd56533aff2f68557f1cc26 +MISC metadata.xml 259 RMD160 3aa48fb8a20128bc3daf5afea8beb2cde21839ae SHA1 4913e8a70b40a7af1104538355a430a45d67f35a SHA256 71b52b5b989346aa41e78d6021fb157a3941bf1f6bedf8b0c90eb94ab544fc55 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iQEcBAEBAgAGBQJNw68fAAoJEEqz6FtPBkyjqRIH/RQx4DYSX5rFMcgXxueP/H1m +zZUPAJ/ySb7bb0D8kgsjk2FMw+AnSy8RjWkKvS2U+LnIeGNIdfdO/Ki8x17yPxxH +bzhX0o3H8EudiyVkLMQ1cQv5yWQOzmRdClOcSF7QG4ivhg6Skcrgn+xFktQQQo58 +7s73uznz9LTTwOrpZr2WPIJvUDogNSj++mDbTQqzQqdTEnRJIYZgftj3wYsE95d2 +uMGS14D8Th7ArBTnHbPfPyQdFypul7pxI4ty03Y/+axEoXErNkf4Yt88TV1k6xuZ +JpKlsw0DLDbLIs8OHvi63WgMyMmqqXCac8xXpmC92pewqimHyFSdEE4oQ9TPe1o= +=jj7a +-----END PGP SIGNATURE----- diff --git a/media-sound/pianobar/files/pianobar-2011.04.27-linking.patch b/media-sound/pianobar/files/pianobar-2011.04.27-linking.patch new file mode 100644 index 000000000000..a3329c05979d --- /dev/null +++ b/media-sound/pianobar/files/pianobar-2011.04.27-linking.patch @@ -0,0 +1,15 @@ +--- pianobar-2011.04.27/Makefile.orig ++++ pianobar-2011.04.27/Makefile +@@ -88,9 +88,9 @@ + else + pianobar: ${PIANOBAR_OBJ} ${PIANOBAR_HDR} ${LIBPIANO_OBJ} ${LIBWAITRESS_OBJ} \ + ${LIBWAITRESS_HDR} ${LIBEZXML_OBJ} ${LIBEZXML_HDR} +- ${CC} ${CFLAGS} ${LDFLAGS} -lao -lpthread -lm ${LIBFAAD_LDFLAGS} \ +- ${LIBMAD_LDFLAGS} -o $@ ${PIANOBAR_OBJ} ${LIBPIANO_OBJ} \ +- ${LIBWAITRESS_OBJ} ${LIBEZXML_OBJ} ++ ${CC} ${CFLAGS} ${LDFLAGS} ${LIBPIANO_OBJ} ${LIBWAITRESS_OBJ} \ ++ ${LIBEZXML_OBJ} ${PIANOBAR_OBJ} -lao -lpthread -lm \ ++ ${LIBFAAD_LDFLAGS} ${LIBMAD_LDFLAGS} -o $@ + endif + + # build shared and static libpiano diff --git a/media-sound/pianobar/metadata.xml b/media-sound/pianobar/metadata.xml new file mode 100644 index 000000000000..a64c7a7fdbc6 --- /dev/null +++ b/media-sound/pianobar/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sound</herd> + <maintainer> + <email>radhermit@gentoo.org</email> + <name>Tim Harder</name> + </maintainer> +</pkgmetadata> diff --git a/media-sound/pianobar/pianobar-2011.04.27.ebuild b/media-sound/pianobar/pianobar-2011.04.27.ebuild new file mode 100644 index 000000000000..a52521a8e142 --- /dev/null +++ b/media-sound/pianobar/pianobar-2011.04.27.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/pianobar/pianobar-2011.04.27.ebuild,v 1.1 2011/05/06 08:19:33 radhermit Exp $ + +EAPI=4 + +inherit toolchain-funcs flag-o-matic eutils + +DESCRIPTION="A console-based replacement for Pandora's flash player" +HOMEPAGE="http://6xq.net/html/00/17.html" +SRC_URI="http://6xq.net/media/00/16/${P}.tar.bz2" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="aac +mp3" + +DEPEND="media-libs/libao + aac? ( media-libs/faad2 ) + mp3? ( media-libs/libmad )" +RDEPEND="${DEPEND}" + +REQUIRED_USE="|| ( mp3 aac )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-linking.patch +} + +src_compile() { + local myconf="" + ! use aac && myconf+=" DISABLE_FAAD=1" + ! use mp3 && myconf+=" DISABLE_MAD=1" + + append-cflags -std=c99 + emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${myconf} +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install + dodoc ChangeLog README + + insinto /usr/share/doc/${PF}/contrib + doins -r contrib/{config-example,*.sh,eventcmd-examples} + docompress -x /usr/share/doc/${PF}/contrib +} |