add flactag-1.1, a Tagger for flac album files
authordrochner <drochner>
Mon, 27 Jul 2009 13:51:12 +0000 (13:51 +0000)
committerdrochner <drochner>
Mon, 27 Jul 2009 13:51:12 +0000 (13:51 +0000)
audio/flactag/DESCR [new file with mode: 0644]
audio/flactag/Makefile [new file with mode: 0644]
audio/flactag/PLIST [new file with mode: 0644]
audio/flactag/distinfo [new file with mode: 0644]
audio/flactag/patches/patch-aa [new file with mode: 0644]
audio/flactag/patches/patch-ab [new file with mode: 0644]
audio/flactag/patches/patch-ac [new file with mode: 0644]

diff --git a/audio/flactag/DESCR b/audio/flactag/DESCR
new file mode 100644 (file)
index 0000000..b11ddda
--- /dev/null
@@ -0,0 +1 @@
+Tagger for flac album files
diff --git a/audio/flactag/Makefile b/audio/flactag/Makefile
new file mode 100644 (file)
index 0000000..7db2471
--- /dev/null
@@ -0,0 +1,28 @@
+# $NetBSD$
+#
+
+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 (file)
index 0000000..b4baf55
--- /dev/null
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/flactag
diff --git a/audio/flactag/distinfo b/audio/flactag/distinfo
new file mode 100644 (file)
index 0000000..0389380
--- /dev/null
@@ -0,0 +1,8 @@
+$NetBSD$
+
+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 (file)
index 0000000..5a458db
--- /dev/null
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- 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 (file)
index 0000000..e6b42f8
--- /dev/null
@@ -0,0 +1,15 @@
+$NetBSD$
+
+--- 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 (file)
index 0000000..ab93688
--- /dev/null
@@ -0,0 +1,26 @@
+$NetBSD$
+
+--- 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)