pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/flactag add flactag-1.1, a Tagger for flac album...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8e99bcf8ee5b
branches:  trunk
changeset: 396566:8e99bcf8ee5b
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Mon Jul 27 13:51:12 2009 +0000

description:
add flactag-1.1, a Tagger for flac album files

diffstat:

 audio/flactag/DESCR            |   1 +
 audio/flactag/Makefile         |  28 ++++++++++++++++++++++++++++
 audio/flactag/PLIST            |   2 ++
 audio/flactag/distinfo         |   8 ++++++++
 audio/flactag/patches/patch-aa |  13 +++++++++++++
 audio/flactag/patches/patch-ab |  15 +++++++++++++++
 audio/flactag/patches/patch-ac |  26 ++++++++++++++++++++++++++
 7 files changed, 93 insertions(+), 0 deletions(-)

diffs (121 lines):

diff -r b87bcff7c103 -r 8e99bcf8ee5b audio/flactag/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/flactag/DESCR       Mon Jul 27 13:51:12 2009 +0000
@@ -0,0 +1,1 @@
+Tagger for flac album files
diff -r b87bcff7c103 -r 8e99bcf8ee5b audio/flactag/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/flactag/Makefile    Mon Jul 27 13:51:12 2009 +0000
@@ -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@localhost
+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 -r b87bcff7c103 -r 8e99bcf8ee5b audio/flactag/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/flactag/PLIST       Mon Jul 27 13:51:12 2009 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/07/27 13:51:12 drochner Exp $
+bin/flactag
diff -r b87bcff7c103 -r 8e99bcf8ee5b audio/flactag/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/flactag/distinfo    Mon Jul 27 13:51:12 2009 +0000
@@ -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 -r b87bcff7c103 -r 8e99bcf8ee5b audio/flactag/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/flactag/patches/patch-aa    Mon Jul 27 13:51:12 2009 +0000
@@ -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 -r b87bcff7c103 -r 8e99bcf8ee5b audio/flactag/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/flactag/patches/patch-ab    Mon Jul 27 13:51:12 2009 +0000
@@ -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 -r b87bcff7c103 -r 8e99bcf8ee5b audio/flactag/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/flactag/patches/patch-ac    Mon Jul 27 13:51:12 2009 +0000
@@ -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)
+ 



Home | Main Index | Thread Index | Old Index