diff options
author | drochner <drochner@pkgsrc.org> | 2009-07-27 13:51:12 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2009-07-27 13:51:12 +0000 |
commit | ba529621ce47418a7cc1cf509e3ac445b1823153 (patch) | |
tree | ffc42ed2cae618a463424dd759d1d72a845ce7d7 /audio | |
parent | 93f15b79f27a093d94276f9635c27781a35ed8a2 (diff) | |
download | pkgsrc-ba529621ce47418a7cc1cf509e3ac445b1823153.tar.gz |
add flactag-1.1, a Tagger for flac album files
Diffstat (limited to 'audio')
-rw-r--r-- | audio/flactag/DESCR | 1 | ||||
-rw-r--r-- | audio/flactag/Makefile | 28 | ||||
-rw-r--r-- | audio/flactag/PLIST | 2 | ||||
-rw-r--r-- | audio/flactag/distinfo | 8 | ||||
-rw-r--r-- | audio/flactag/patches/patch-aa | 13 | ||||
-rw-r--r-- | audio/flactag/patches/patch-ab | 15 | ||||
-rw-r--r-- | audio/flactag/patches/patch-ac | 26 |
7 files changed, 93 insertions, 0 deletions
diff --git a/audio/flactag/DESCR b/audio/flactag/DESCR new file mode 100644 index 00000000000..b11dddaea34 --- /dev/null +++ b/audio/flactag/DESCR @@ -0,0 +1 @@ +Tagger for flac album files diff --git a/audio/flactag/Makefile b/audio/flactag/Makefile new file mode 100644 index 00000000000..3e4993e64cd --- /dev/null +++ b/audio/flactag/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/07/27 13:51:12 drochner Exp $ +# + +DISTNAME= flactag-1.1 +CATEGORIES= audio +MASTER_SITES= http://software.gently.org.uk/flactag-1.1/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://software.gently.org.uk/flactag-1.1/ +COMMENT= Tagger for flac album files +LICENSE= gnu-gpl-v2 + +USE_LANGUAGES= c++ +USE_TOOLS= gmake +PKG_DESTDIR_SUPPORT= user-destdir + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/flactag ${DESTDIR}${PREFIX}/bin +# the "discid" program doesn't do more, don't install for namespace sanity + +.include "../../audio/flac/buildlink3.mk" +.include "../../audio/libdiscid/buildlink3.mk" +.include "../../www/neon/buildlink3.mk" +.include "../../graphics/jpeg/buildlink3.mk" +.include "../../textproc/unac/buildlink3.mk" +.include "../../audio/libmusicbrainz/buildlink3.mk" +.include "../../devel/libslang/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/flactag/PLIST b/audio/flactag/PLIST new file mode 100644 index 00000000000..fd7852e68ae --- /dev/null +++ b/audio/flactag/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2009/07/27 13:51:12 drochner Exp $ +bin/flactag diff --git a/audio/flactag/distinfo b/audio/flactag/distinfo new file mode 100644 index 00000000000..65bedbfbe1f --- /dev/null +++ b/audio/flactag/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/07/27 13:51:12 drochner Exp $ + +SHA1 (flactag-1.1.tar.gz) = 8b0b65068b2659eceb36831694657bf2210ca36b +RMD160 (flactag-1.1.tar.gz) = 975091ad58b1c88e972e0b99ae800c068bc668d7 +Size (flactag-1.1.tar.gz) = 110567 bytes +SHA1 (patch-aa) = 49d7ad0efd18e9da71e671dd02beab8d2dff84d5 +SHA1 (patch-ab) = 735a5559e081614b1732a684851e6c11f2a176be +SHA1 (patch-ac) = cf71f4f68663ed9dc73662e32df55c0621fcaa14 diff --git a/audio/flactag/patches/patch-aa b/audio/flactag/patches/patch-aa new file mode 100644 index 00000000000..bcb7cb15c51 --- /dev/null +++ b/audio/flactag/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2009/07/27 13:51:12 drochner Exp $ + +--- UTF8Tag.cc.orig 2008-12-16 12:20:56.000000000 +0100 ++++ UTF8Tag.cc +@@ -71,7 +71,7 @@ void CUTF8Tag::Convert() + memset(Out,0,m_UTF8Value.length()*4); + size_t OutLeft=m_UTF8Value.length()*4; + +- char *InBuff=In; ++ const char *InBuff=In; + char *OutBuff=Out; + + iconv_t Convert=iconv_open(Codeset,"UTF-8"); diff --git a/audio/flactag/patches/patch-ab b/audio/flactag/patches/patch-ab new file mode 100644 index 00000000000..97fbe26c47e --- /dev/null +++ b/audio/flactag/patches/patch-ab @@ -0,0 +1,15 @@ +$NetBSD: patch-ab,v 1.1.1.1 2009/07/27 13:51:12 drochner Exp $ + +--- CoverArt.h.orig 2008-12-16 12:20:56.000000000 +0100 ++++ CoverArt.h +@@ -31,8 +31,10 @@ + + #include <string> + ++extern "C" { + #include <jpeglib.h> + #include <jerror.h> ++} + + class CCoverArt + { diff --git a/audio/flactag/patches/patch-ac b/audio/flactag/patches/patch-ac new file mode 100644 index 00000000000..dbdafde16cb --- /dev/null +++ b/audio/flactag/patches/patch-ac @@ -0,0 +1,26 @@ +$NetBSD: patch-ac,v 1.1.1.1 2009/07/27 13:51:12 drochner Exp $ + +--- Makefile.orig 2008-12-16 12:20:56.000000000 +0100 ++++ Makefile +@@ -15,7 +15,7 @@ DISCIDOBJS=discid.o DiscIDWrapper.o Cues + + SRCS=$(FLACTAGOBJS:.o=.cc) $(DISCIDOBJS:.o=.cc) + +-all: flactag discid flactag.html flactag.1 ++all: flactag discid #flactag.html flactag.1 + + debian-orig: .phony + debuild clean +@@ -85,10 +85,10 @@ install-webpages: flactag-$(VERSION).tar + sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' > $@ + + flactag: $(FLACTAGOBJS) +- g++ `neon-config --libs` -o $@ -lslang -lmusicbrainz3 -ldiscid -lFLAC++ -lunac -ljpeg $^ ++ g++ `neon-config --libs` -o $@ -lslang -lmusicbrainz3 -ldiscid -lFLAC++ -lunac -ljpeg $^ -Wl,-R${PREFIX}/lib + + discid: $(DISCIDOBJS) +- g++ -o $@ -ldiscid $^ ++ g++ -o $@ -ldiscid $^ -Wl,-R${PREFIX}/lib + + include $(SRCS:.cc=.d) + |