summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-06-02 08:07:43 +0000
committerTim Harder <radhermit@gentoo.org>2011-06-02 08:07:43 +0000
commit2fda9f04cbcd5b7d11b8f8abcd6e9d98e9d2b89a (patch)
treee402240cf4b35f0f4b2eb2a9c26ad3dc460bd49d /media-sound
parentTodays Python patches (diff)
downloadgentoo-2-2fda9f04cbcd5b7d11b8f8abcd6e9d98e9d2b89a.tar.gz
gentoo-2-2fda9f04cbcd5b7d11b8f8abcd6e9d98e9d2b89a.tar.bz2
gentoo-2-2fda9f04cbcd5b7d11b8f8abcd6e9d98e9d2b89a.zip
Version bump. Update HOMEPAGE and SRC_URI, respect LDFLAGS (bug #336817), and update to EAPI 4.
(Portage version: 2.2.0_alpha37/cvs/Linux x86_64)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/ptabtools/ChangeLog11
-rw-r--r--media-sound/ptabtools/files/ptabtools-0.5.0-makefile.patch27
-rw-r--r--media-sound/ptabtools/ptabtools-0.5.0.ebuild35
3 files changed, 71 insertions, 2 deletions
diff --git a/media-sound/ptabtools/ChangeLog b/media-sound/ptabtools/ChangeLog
index 61e8a501e740..5c8a95894167 100644
--- a/media-sound/ptabtools/ChangeLog
+++ b/media-sound/ptabtools/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-sound/ptabtools
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/ptabtools/ChangeLog,v 1.14 2007/12/05 14:56:59 armin76 Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/ptabtools/ChangeLog,v 1.15 2011/06/02 08:07:43 radhermit Exp $
+
+*ptabtools-0.5.0 (02 Jun 2011)
+
+ 02 Jun 2011; Tim Harder <radhermit@gentoo.org> +ptabtools-0.5.0.ebuild,
+ +files/ptabtools-0.5.0-makefile.patch:
+ Version bump. Update HOMEPAGE and SRC_URI, respect LDFLAGS (bug #336817), and
+ update to EAPI 4.
05 Dec 2007; Raúl Porcel <armin76@gentoo.org>
-files/ptabtools-0.3.1-fPIC.patch,
diff --git a/media-sound/ptabtools/files/ptabtools-0.5.0-makefile.patch b/media-sound/ptabtools/files/ptabtools-0.5.0-makefile.patch
new file mode 100644
index 000000000000..72c72a58599b
--- /dev/null
+++ b/media-sound/ptabtools/files/ptabtools-0.5.0-makefile.patch
@@ -0,0 +1,27 @@
+--- ptabtools-0.5.0/Makefile.orig
++++ ptabtools-0.5.0/Makefile
+@@ -8,13 +8,13 @@
+ all: $(TARGETS)
+
+ tests/check: tests/check.o tests/ptb.o tests/gp.o ptb.o
+- $(CC) $(FLAGS) $^ -o $@ $(CHECK_LIBS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(CHECK_LIBS)
+
+ ptb2xml.o: ptb2xml.c
+ $(CC) $(CFLAGS) -c $< $(LIBXSLT_CFLAGS) $(LIBXML_CFLAGS) $(XSLT_DEFINE)
+
+ %.o: %.c
+- $(CC) $(CFLAGS) -c $< -o $@
++ $(CC) $(CFLAGS) -I. -c $< -o $@
+
+ %.po: %.c
+ $(CC) $(CFLAGS) -fPIC -c $< -o $@
+@@ -23,7 +23,7 @@
+ $(CC) $(SHFLAGS) $(CFLAGS) -Wl,--out-implib=ptb.dll.a -o $@ $^
+
+ libptb.so.$(VERSION): $(PTBLIB_OBJS:.o=.po)
+- $(CC) $(SHFLAGS) -Wl,-soname,libptb.so.$(SOVERSION) -Wl,$@ $(CFLAGS) -o $@ $^
++ $(CC) $(SHFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $^
+
+ libptb.a: $(PTBLIB_OBJS)
+ $(AR) rs $@ $^
diff --git a/media-sound/ptabtools/ptabtools-0.5.0.ebuild b/media-sound/ptabtools/ptabtools-0.5.0.ebuild
new file mode 100644
index 000000000000..a9ae81054366
--- /dev/null
+++ b/media-sound/ptabtools/ptabtools-0.5.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/ptabtools/ptabtools-0.5.0.ebuild,v 1.1 2011/06/02 08:07:43 radhermit Exp $
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Utilities for PowerTab Guitar files (.ptb)"
+HOMEPAGE="http://www.samba.org/~jelmer/ptabtools/"
+SRC_URI="http://www.samba.org/~jelmer/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="dev-libs/popt
+ dev-libs/libxml2
+ dev-libs/libxslt"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-makefile.patch
+}
+
+src_compile() {
+ emake AR=$(tc-getAR)
+}
+
+src_install() {
+ emake DESTDIR="${D}" libdir="/usr/$(get_libdir)" install
+ dodoc AUTHORS NEWS README ROADMAP TODO
+}