diff options
Diffstat (limited to 'media-sound/tk707')
-rw-r--r-- | media-sound/tk707/Manifest | 2 | ||||
-rw-r--r-- | media-sound/tk707/files/tk707-0.8-asneeded.patch | 15 | ||||
-rw-r--r-- | media-sound/tk707/files/tk707-0.8-nostrip.patch | 13 | ||||
-rw-r--r-- | media-sound/tk707/metadata.xml | 5 | ||||
-rw-r--r-- | media-sound/tk707/tk707-0.8-r1.ebuild | 35 |
5 files changed, 70 insertions, 0 deletions
diff --git a/media-sound/tk707/Manifest b/media-sound/tk707/Manifest new file mode 100644 index 000000000000..2cc6248c88a7 --- /dev/null +++ b/media-sound/tk707/Manifest @@ -0,0 +1,2 @@ +DIST tk707-0.8-updated_tcl2c.patch.gz 7368 RMD160 4061f2e109061f43fd7dd44763c44880011af9a4 SHA1 84e18d72c4f5c34b9d78254b161d841d146d4a9c SHA256 b8b50e392645d3cbdc4d79fd2916f5d0d994e6c235e8de7954409f8d3937dd15 +DIST tk707-0.8.tar.gz 404862 RMD160 f214767e0766c195f72ce223dc43069524b47275 SHA1 5d6d2472735dbeb9cd6abcc9e5c5745646b3895b SHA256 11de4001d19737f7f094ccc9d34b98fe9129714e0cb1f13f995c70775a37b539 diff --git a/media-sound/tk707/files/tk707-0.8-asneeded.patch b/media-sound/tk707/files/tk707-0.8-asneeded.patch new file mode 100644 index 000000000000..a7833fd31d32 --- /dev/null +++ b/media-sound/tk707/files/tk707-0.8-asneeded.patch @@ -0,0 +1,15 @@ +Index: tk707-0.8/Makefile.am +=================================================================== +--- tk707-0.8.orig/Makefile.am ++++ tk707-0.8/Makefile.am +@@ -42,8 +42,8 @@ tk707tcl_SOURCES = util707.c util707.h + tcl2c_SOURCES = tcl2c.c + texi2help_SOURCES = texi2help.l + +-tk707bin_LDFLAGS = $(ALSA_LIBS) $(TCLTK_LIBS) $(X_LIBS) +-tk707tcl_LDFLAGS = $(ALSA_LIBS) $(TCLTK_LIBS) $(X_LIBS) ++tk707bin_LDADD = $(ALSA_LIBS) $(TCLTK_LIBS) $(X_LIBS) ++tk707tcl_LDADD = $(ALSA_LIBS) $(TCLTK_LIBS) $(X_LIBS) + INCLUDES = $(ALSA_CFLAGS) $(TCLTK_CFLAGS) $(X_CFLAGS) + + pkgdata_DATA = 707.map 727.map 7b7.map 7c7.map \ diff --git a/media-sound/tk707/files/tk707-0.8-nostrip.patch b/media-sound/tk707/files/tk707-0.8-nostrip.patch new file mode 100644 index 000000000000..f0c35fa89702 --- /dev/null +++ b/media-sound/tk707/files/tk707-0.8-nostrip.patch @@ -0,0 +1,13 @@ +Index: tk707-0.8/Makefile.am +=================================================================== +--- tk707-0.8.orig/Makefile.am ++++ tk707-0.8/Makefile.am +@@ -191,7 +191,7 @@ $(srcdir)/texi2help.c: texi2help.l + + install-exec-local: tk707bin tk707.sh + $(mkinstalldirs) $(DESTDIR)$(bindir) +- sh $(srcdir)/install-sh -s -c tk707bin $(DESTDIR)$(bindir)/tk707bin ++ sh $(srcdir)/install-sh -c tk707bin $(DESTDIR)$(bindir)/tk707bin + $(INSTALL_SCRIPT) tk707.sh $(DESTDIR)$(bindir)/tk707 + + uninstall-local: diff --git a/media-sound/tk707/metadata.xml b/media-sound/tk707/metadata.xml new file mode 100644 index 000000000000..e1774e3d9ad7 --- /dev/null +++ b/media-sound/tk707/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sound</herd> +</pkgmetadata> diff --git a/media-sound/tk707/tk707-0.8-r1.ebuild b/media-sound/tk707/tk707-0.8-r1.ebuild new file mode 100644 index 000000000000..728e1af990c1 --- /dev/null +++ b/media-sound/tk707/tk707-0.8-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils autotools + +DESCRIPTION=" An \"7x7\" type midi drum sequencer for Linux" +HOMEPAGE="http://www-lmc.imag.fr/lmc-edp/Pierre.Saramito/tk707" +SRC_URI="mirror://gentoo/${P}.tar.gz + mirror://gentoo/${P}-updated_tcl2c.patch.gz" +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="" + +RDEPEND=">=media-libs/alsa-lib-0.9.0 + >=dev-lang/tcl-8.4 + >=dev-lang/tk-8.4" +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + EPATCH_SOURCE=${S} epatch ${P}-*.patch + + cd "${S}" + epatch "${FILESDIR}/${P}-asneeded.patch" + epatch "${FILESDIR}/${P}-nostrip.patch" + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die +} |