From 962eba5b890ef25cb2acb343773776b38a491dde Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 15 Feb 2010 15:39:08 +0000 Subject: [PATCH] Initial import of taglib-extras-1.0.1, packaged for wip by myself with updates from koifren and myself. Extra plugins for taglib for more file formats. --- audio/taglib-extras/DESCR | 1 + audio/taglib-extras/Makefile | 28 ++++++++++++++++++++++++++++ audio/taglib-extras/PLIST | 14 ++++++++++++++ audio/taglib-extras/buildlink3.mk | 14 ++++++++++++++ audio/taglib-extras/distinfo | 6 ++++++ audio/taglib-extras/patches/patch-aa | 13 +++++++++++++ 6 files changed, 76 insertions(+) create mode 100644 audio/taglib-extras/DESCR create mode 100644 audio/taglib-extras/Makefile create mode 100644 audio/taglib-extras/PLIST create mode 100644 audio/taglib-extras/buildlink3.mk create mode 100644 audio/taglib-extras/distinfo create mode 100644 audio/taglib-extras/patches/patch-aa diff --git a/audio/taglib-extras/DESCR b/audio/taglib-extras/DESCR new file mode 100644 index 000000000000..1a1daaa00ea5 --- /dev/null +++ b/audio/taglib-extras/DESCR @@ -0,0 +1 @@ +Extra plugins for taglib for more file formats. diff --git a/audio/taglib-extras/Makefile b/audio/taglib-extras/Makefile new file mode 100644 index 000000000000..a0faed797c8c --- /dev/null +++ b/audio/taglib-extras/Makefile @@ -0,0 +1,28 @@ +# $NetBSD$ +# + +DISTNAME= taglib-extras-1.0.1 +CATEGORIES= audio +MASTER_SITES= http://www.kollide.net/~jefferai/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.kollide.net/~jefferai/ +COMMENT= Extra plugins for taglib +LICENSE= gnu-lgpl-v2 + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_LANGUAGES= c c++ +USE_CMAKE= yes + +PKGCONFIG_OVERRIDE= taglib-extras.pc.cmake + +SUBST_CLASSES+= rpath +SUBST_FILES.rpath= taglib-extras-config.cmake +SUBST_SED.rpath= -e "s|-L\\([^ ]*\\)|${COMPILER_RPATH_FLAG}\\1 -L\\1|g" +SUBST_STAGE.rpath= pre-configure +SUBST_MESSAGE.rpath= Add rpath to config script. + +BUILDLINK_ABI_DEPENDS.taglib+= taglib>=1.6 +.include "../../audio/taglib/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/taglib-extras/PLIST b/audio/taglib-extras/PLIST new file mode 100644 index 000000000000..507565fef07d --- /dev/null +++ b/audio/taglib-extras/PLIST @@ -0,0 +1,14 @@ +@comment $NetBSD$ +bin/taglib-extras-config +include/taglib-extras/audiblefile.h +include/taglib-extras/audiblefiletyperesolver.h +include/taglib-extras/audibleproperties.h +include/taglib-extras/audibletag.h +include/taglib-extras/realmediafile.h +include/taglib-extras/realmediafiletyperesolver.h +include/taglib-extras/taglib-extras_export.h +include/taglib-extras/tfile_helper.h +lib/libtag-extras.so +lib/libtag-extras.so.1 +lib/libtag-extras.so.1.0.1 +lib/pkgconfig/taglib-extras.pc diff --git a/audio/taglib-extras/buildlink3.mk b/audio/taglib-extras/buildlink3.mk new file mode 100644 index 000000000000..9e2ade259828 --- /dev/null +++ b/audio/taglib-extras/buildlink3.mk @@ -0,0 +1,14 @@ +# $NetBSD$ + +BUILDLINK_TREE+= taglib-extras + +.if !defined(TAGLIB_EXTRAS_BUILDLINK3_MK) +TAGLIB_EXTRAS_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.taglib-extras+= taglib-extras>=1.0.1 +BUILDLINK_PKGSRCDIR.taglib-extras?= ../../audio/taglib-extras + +.include "../../audio/taglib/buildlink3.mk" +.endif # TAGLIB_EXTRAS_BUILDLINK3_MK + +BUILDLINK_TREE+= -taglib-extras diff --git a/audio/taglib-extras/distinfo b/audio/taglib-extras/distinfo new file mode 100644 index 000000000000..403ddf5d33da --- /dev/null +++ b/audio/taglib-extras/distinfo @@ -0,0 +1,6 @@ +$NetBSD$ + +SHA1 (taglib-extras-1.0.1.tar.gz) = 58af454ec230d494a75abd0aa78016a969f0c9ce +RMD160 (taglib-extras-1.0.1.tar.gz) = d687119f4750a2f9eac415667c23552e50e12c72 +Size (taglib-extras-1.0.1.tar.gz) = 31363 bytes +SHA1 (patch-aa) = 588fa139d9ab01f332a36c8a7e6e9c03b09f49c7 diff --git a/audio/taglib-extras/patches/patch-aa b/audio/taglib-extras/patches/patch-aa new file mode 100644 index 000000000000..8c6de43659b3 --- /dev/null +++ b/audio/taglib-extras/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD$ + +--- CMakeLists.txt.orig 2009-09-17 19:31:50.000000000 +0000 ++++ CMakeLists.txt +@@ -29,7 +29,7 @@ endif (WIN32) + + set(TAGLIB-EXTRAS_LIB_MAJOR_VERSION "1") + set(TAGLIB-EXTRAS_LIB_MINOR_VERSION "0") +-set(TAGLIB-EXTRAS_LIB_PATCH_VERSION "0") ++set(TAGLIB-EXTRAS_LIB_PATCH_VERSION "1") + + set(TAGLIB-EXTRAS_LIB_VERSION_STRING "${TAGLIB-EXTRAS_LIB_MAJOR_VERSION}.${TAGLIB-EXTRAS_LIB_MINOR_VERSION}.${TAGLIB-EXTRAS_LIB_PATCH_VERSION}") + -- 2.41.0