summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-sound/tcd/Manifest4
-rw-r--r--media-sound/tcd/files/tcd-2.2.1_p20040830-as-needed.patch11
-rw-r--r--media-sound/tcd/metadata.xml9
-rw-r--r--media-sound/tcd/tcd-2.2.1_p20040830.ebuild32
4 files changed, 56 insertions, 0 deletions
diff --git a/media-sound/tcd/Manifest b/media-sound/tcd/Manifest
new file mode 100644
index 0000000..4d3743a
--- /dev/null
+++ b/media-sound/tcd/Manifest
@@ -0,0 +1,4 @@
+AUX tcd-2.2.1_p20040830-as-needed.patch 426 RMD160 3daa84e8202468f9534710cf389923da17867786 SHA1 c70a7a3fff1bdf6a6ca6ddc67eb012024b0a03a5 SHA256 08e44d95b45db975db896e306f93c9e7c165311677b90f835b6278d7c4732539
+DIST tcd_2.2.1+20040830.tar.gz 105496 RMD160 3f39a0d8de39d886b1cbb4b6bca5418e772373d0 SHA1 a48a63d7fc18e83db74293fa914c19eb460a1c0f SHA256 7e26b5829d3450301ba5a25b67f32e318886ddcdf6567bc112e74ba8aaf2fe8b
+EBUILD tcd-2.2.1_p20040830.ebuild 690 RMD160 6bf5f4d86ae4b05a281081a048f7733ec4f9caf3 SHA1 7a63c65a79838ef30a58bcb91534a55a0f883884 SHA256 ce6c65ca271ce8195f7bf3d3e285ec0d7fbb9c8a2eadb48da176bac0193310bd
+MISC metadata.xml 257 RMD160 04e4c6e678ba8e8ffde93f57d06a40b60f9eaa69 SHA1 e3c39bf9a25beebbe626726bb94f6e22db4fa06d SHA256 b4a209de2bfbbcc5ceab61bf458a1ee79da4c60a30e4aabf54b76e9709b56db8
diff --git a/media-sound/tcd/files/tcd-2.2.1_p20040830-as-needed.patch b/media-sound/tcd/files/tcd-2.2.1_p20040830-as-needed.patch
new file mode 100644
index 0000000..844c7ed
--- /dev/null
+++ b/media-sound/tcd/files/tcd-2.2.1_p20040830-as-needed.patch
@@ -0,0 +1,11 @@
+--- tcd-2.2.1+20040830/configure.ac 2011-07-21 01:11:08.910725252 +0200
++++ tcd-2.2.1+20040830/configure.ac 2011-07-21 01:12:15.535892322 +0200
+@@ -15,7 +15,7 @@
+ # Checks for libraries
+ ri_CONFIG_SCRIPT(sdl, 1.2.0, SDL_CPPFLAGS, SDL_LDFLAGS)
+ CPPFLAGS="$CPPFLAGS $SDL_CPPFLAGS"
+-LDFLAGS="$LDFLAGS $SDL_LDFLAGS"
++LDFLAGS="$SDL_LDFLAGS $LDFLAGS"
+
+ AC_CHECK_LIB(ncurses, initscr, , AC_MSG_ERROR([No ncurses library found.]))
+
diff --git a/media-sound/tcd/metadata.xml b/media-sound/tcd/metadata.xml
new file mode 100644
index 0000000..328fbd1
--- /dev/null
+++ b/media-sound/tcd/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>no-herd</herd>
+ <maintainer>
+ <email>sping@gentoo.org</email>
+ <name>Sebastian Pipping</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-sound/tcd/tcd-2.2.1_p20040830.ebuild b/media-sound/tcd/tcd-2.2.1_p20040830.ebuild
new file mode 100644
index 0000000..35755fc
--- /dev/null
+++ b/media-sound/tcd/tcd-2.2.1_p20040830.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+
+inherit autotools
+
+MY_PV="${PV/_p/+}"
+DESCRIPTION="Simple, user-friendly ncurses-based CD player"
+HOMEPAGE="http://www.nongnu.org/tcd/"
+SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${MY_PV}.tar.gz"
+
+LICENSE="|| ( GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/${PN}-${MY_PV}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-as-needed.patch
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog ChangeLog.old NEWS README THANKS TODO || die
+} \ No newline at end of file