summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-sound/ptabtools
downloadgentoo-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/ptabtools')
-rw-r--r--media-sound/ptabtools/Manifest2
-rw-r--r--media-sound/ptabtools/files/ptabtools-0.5.0-makefile.patch27
-rw-r--r--media-sound/ptabtools/metadata.xml5
-rw-r--r--media-sound/ptabtools/ptabtools-0.4.3.ebuild25
-rw-r--r--media-sound/ptabtools/ptabtools-0.5.0.ebuild35
5 files changed, 94 insertions, 0 deletions
diff --git a/media-sound/ptabtools/Manifest b/media-sound/ptabtools/Manifest
new file mode 100644
index 000000000000..0eeff4c701c5
--- /dev/null
+++ b/media-sound/ptabtools/Manifest
@@ -0,0 +1,2 @@
+DIST ptabtools-0.4.3.tar.gz 112640 RMD160 bb470264c826128c4e133058903eb15b1c43a880 SHA1 450313bca8ad15a676e5be6f09fa352a2950c071 SHA256 bc40d0c541446969f99a746c105f02e527260d00a3dfa00226b03448bfd21187
+DIST ptabtools-0.5.0.tar.gz 116083 RMD160 22f0dd72611b79f3ca5df18816e52f23536b99dd SHA1 ba46ae31319aa59863f2111e85d8ab4bfc5778a5 SHA256 2204d5969eaf17c538d839ee5cabdf68f4c458d0ef1e314689e3f6523633db98
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/metadata.xml b/media-sound/ptabtools/metadata.xml
new file mode 100644
index 000000000000..e1774e3d9ad7
--- /dev/null
+++ b/media-sound/ptabtools/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/ptabtools/ptabtools-0.4.3.ebuild b/media-sound/ptabtools/ptabtools-0.4.3.ebuild
new file mode 100644
index 000000000000..8eb9a41f01eb
--- /dev/null
+++ b/media-sound/ptabtools/ptabtools-0.4.3.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit multilib
+
+DESCRIPTION="Utilities for PowerTab Guitar files (.ptb)"
+HOMEPAGE="http://jelmer.vernstok.nl/oss/ptabtools"
+SRC_URI="http://jelmer.vernstok.nl/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc x86"
+IUSE=""
+
+RDEPEND="dev-libs/popt
+ dev-libs/libxml2
+ dev-libs/libxslt"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_install() {
+ emake DESTDIR="${D}" libdir="/usr/$(get_libdir)" install || die "emake install failed."
+ dodoc AUTHORS ChangeLog README ROADMAP TODO
+}
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..9b79b32820c5
--- /dev/null
+++ b/media-sound/ptabtools/ptabtools-0.5.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils multilib 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 x86"
+IUSE=""
+
+RDEPEND="dev-libs/popt
+ dev-libs/libxml2
+ dev-libs/libxslt"
+DEPEND="${RDEPEND}
+ virtual/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
+}