From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- media-sound/ptabtools/Manifest | 6 ++++ .../ptabtools/files/ptabtools-0.5.0-makefile.patch | 27 +++++++++++++++++ media-sound/ptabtools/metadata.xml | 8 +++++ media-sound/ptabtools/ptabtools-0.5.0.ebuild | 34 ++++++++++++++++++++++ 4 files changed, 75 insertions(+) create mode 100644 media-sound/ptabtools/Manifest create mode 100644 media-sound/ptabtools/files/ptabtools-0.5.0-makefile.patch create mode 100644 media-sound/ptabtools/metadata.xml create mode 100644 media-sound/ptabtools/ptabtools-0.5.0.ebuild (limited to 'media-sound/ptabtools') diff --git a/media-sound/ptabtools/Manifest b/media-sound/ptabtools/Manifest new file mode 100644 index 000000000000..8e275d9def5f --- /dev/null +++ b/media-sound/ptabtools/Manifest @@ -0,0 +1,6 @@ +AUX ptabtools-0.5.0-makefile.patch 778 SHA256 1bfd0e89bee304fbb41f0f26348260dc91809c35ea7441154f11f1ad75ead0ed SHA512 d68a8791e3ec053ed557db0dce4de6bf07e91017e416a11cb131a5786ef66957cf2ea955a77fd8d009ab6d5b20ed6b044abe805994f4342a00fe84a3392f0dab WHIRLPOOL 09487f8a1fe86e912a731d9fd63915b340a7ab8d1d6a9a181fef5d1ada4b9c247445f7f5f8ca37f0de288975c3fa8022d6b441e6fb9064d64266468210db3547 +DIST ptabtools-0.5.0.tar.gz 116083 SHA256 2204d5969eaf17c538d839ee5cabdf68f4c458d0ef1e314689e3f6523633db98 SHA512 c0028daec1587b190692b8aa8d9002063022ff7516d99e9fae3fd01f25d27ce4230cb2b15ecf4652fd4b902de27bd8ae4b63af248e950ac8e7c1f277da37cc93 WHIRLPOOL efc06cf5b93422063ef1d223a66d784bd9bb64b3c7ada003129e5db03435ba3c25f05286a11f8f7f83b1967cd77dfe738ab4bb1e1649859309fde5d16db46b2c +EBUILD ptabtools-0.5.0.ebuild 702 SHA256 743680632b35b8de7d29364eb3f39d6dc014e5691922ba959b11775a05864c3d SHA512 b1625ff6397d1b828e4b7ff2d174e21876d43a86730467a27873e290f06c2a32c059b6669aace6fcafb7bd89c8084404fa959601646e651d12ec8d32d2f9c86e WHIRLPOOL 8d06c24fb437005848df7020609c75b5ccc71c89b4b3665514272842b73aaba416fbdf76ef47eddcf93318ddfa86d13d6fc970e9b6b04781a78bccd7572d16f9 +MISC ChangeLog 2655 SHA256 3f8909bd0c6868f4d8ef47ae39d2456ca37c1a3ea5d5622e62b9a1e67e583673 SHA512 7db8e7540ffa24c31dafc8edae09955dd65991a387fdda0f89a244212d9ea33d6697236b1dcbfb3f3dee2ba8a54ca61268225821facb05a39aaf4bf95dbf1a50 WHIRLPOOL 19430c4a7c04a29de1a451f7466b543fb0bf54a9d9c3f446790415b2272d71607c34d10748dd584dbd7729ca909e4e6d7df492da573661b83b726006c8794002 +MISC ChangeLog-2015 3305 SHA256 3ec346c45c090ca74d0396f8327f5cd54e136d240901c5978f9aa323bb6036ec SHA512 f5f54d13c74946ef683ffc171d5a6af69d990a5007c57fe80b680c48fdd1d873d4b6bca51022aea2fd51b047a89e7638b794a63d2aafb5f7320d942ac3eec510 WHIRLPOOL 69e5b82e8e58cb6a412e687fb518c9ae1630680f03f2e267aac03daf65af4502ad081a0f0d1709bf29b6d03f5e86f43267a56e0e25c484bf5cb0f6212a742841 +MISC metadata.xml 249 SHA256 a591aa91a9c413e7f7e24fd25b924ce2dfef686da8b4ce38bebb088ebfdba9db SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343 WHIRLPOOL ae5b0c583f3a07ed1ccf651b5b9c8d6c8c637fba2d505fc4b028ea60239fc0a84e37a169b5114f879712ae74f7f41960a2cc6b59e67cacc7f964b105b5fb8723 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..c870d0eef0ab --- /dev/null +++ b/media-sound/ptabtools/metadata.xml @@ -0,0 +1,8 @@ + + + + + sound@gentoo.org + Gentoo Sound project + + 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..ce38e48576a8 --- /dev/null +++ b/media-sound/ptabtools/ptabtools-0.5.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} -- cgit v1.2.3