Import libinstpatch-1.0.0 as wip/libinstpatch.

lib Instrument Patch is a software library for editing and manipulating
instrument files.
This commit is contained in:
Blue Rats 2012-12-29 01:01:16 +00:00 committed by Thomas Klausner
parent 404d62797f
commit 84f2ecf74f
7 changed files with 316 additions and 0 deletions

2
libinstpatch/DESCR Normal file
View File

@ -0,0 +1,2 @@
lib Instrument Patch is a software library for editing and manipulating
instrument files.

30
libinstpatch/Makefile Normal file
View File

@ -0,0 +1,30 @@
# $NetBSD: Makefile,v 1.1 2012/12/29 01:01:16 othyro Exp $
#
DISTNAME= libinstpatch-1.0.0
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=swami/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://swami.sourceforge.net/
COMMENT= Software library for editing and manipulating instrument files
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= intltool msgfmt msgmerge perl pkg-config xgettext
PKGCONFIG_OVERRIDE+= libinstpatch-1.0.pc.in
.include "options.mk"
PY_PATCHPLIST= yes
.include "../../mk/pthread.buildlink3.mk"
.include "../../devel/py-gobject/buildlink3.mk"
.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../audio/libsndfile/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

187
libinstpatch/PLIST Normal file
View File

@ -0,0 +1,187 @@
@comment $NetBSD: PLIST,v 1.1 2012/12/29 01:01:16 othyro Exp $
bin/riff_dump
include/libinstpatch-1.0/libinstpatch/IpatchBase.h
include/libinstpatch-1.0/libinstpatch/IpatchContainer.h
include/libinstpatch-1.0/libinstpatch/IpatchConvert_DLS2.h
include/libinstpatch-1.0/libinstpatch/IpatchConvert_Gig.h
include/libinstpatch-1.0/libinstpatch/IpatchConvert_SF2.h
include/libinstpatch-1.0/libinstpatch/IpatchConverter.h
include/libinstpatch-1.0/libinstpatch/IpatchConverterSF2VoiceCache.h
include/libinstpatch-1.0/libinstpatch/IpatchDLS2.h
include/libinstpatch-1.0/libinstpatch/IpatchDLS2Conn.h
include/libinstpatch-1.0/libinstpatch/IpatchDLS2Info.h
include/libinstpatch-1.0/libinstpatch/IpatchDLS2Inst.h
include/libinstpatch-1.0/libinstpatch/IpatchDLS2Region.h
include/libinstpatch-1.0/libinstpatch/IpatchDLS2Sample.h
include/libinstpatch-1.0/libinstpatch/IpatchDLSFile.h
include/libinstpatch-1.0/libinstpatch/IpatchDLSReader.h
include/libinstpatch-1.0/libinstpatch/IpatchDLSWriter.h
include/libinstpatch-1.0/libinstpatch/IpatchFile.h
include/libinstpatch-1.0/libinstpatch/IpatchGig.h
include/libinstpatch-1.0/libinstpatch/IpatchGigDimension.h
include/libinstpatch-1.0/libinstpatch/IpatchGigEffects.h
include/libinstpatch-1.0/libinstpatch/IpatchGigFile.h
include/libinstpatch-1.0/libinstpatch/IpatchGigInst.h
include/libinstpatch-1.0/libinstpatch/IpatchGigRegion.h
include/libinstpatch-1.0/libinstpatch/IpatchGigSample.h
include/libinstpatch-1.0/libinstpatch/IpatchGigSubRegion.h
include/libinstpatch-1.0/libinstpatch/IpatchItem.h
include/libinstpatch-1.0/libinstpatch/IpatchIter.h
include/libinstpatch-1.0/libinstpatch/IpatchList.h
include/libinstpatch-1.0/libinstpatch/IpatchParamProp.h
include/libinstpatch-1.0/libinstpatch/IpatchPaste.h
include/libinstpatch-1.0/libinstpatch/IpatchRange.h
include/libinstpatch-1.0/libinstpatch/IpatchRiff.h
include/libinstpatch-1.0/libinstpatch/IpatchSF2.h
include/libinstpatch-1.0/libinstpatch/IpatchSF2File.h
include/libinstpatch-1.0/libinstpatch/IpatchSF2Gen.h
include/libinstpatch-1.0/libinstpatch/IpatchSF2GenItem.h
include/libinstpatch-1.0/libinstpatch/IpatchSF2IZone.h
include/libinstpatch-1.0/libinstpatch/IpatchSF2Inst.h
include/libinstpatch-1.0/libinstpatch/IpatchSF2Mod.h
include/libinstpatch-1.0/libinstpatch/IpatchSF2ModItem.h
include/libinstpatch-1.0/libinstpatch/IpatchSF2PZone.h
include/libinstpatch-1.0/libinstpatch/IpatchSF2Preset.h
include/libinstpatch-1.0/libinstpatch/IpatchSF2Reader.h
include/libinstpatch-1.0/libinstpatch/IpatchSF2Sample.h
include/libinstpatch-1.0/libinstpatch/IpatchSF2VoiceCache.h
include/libinstpatch-1.0/libinstpatch/IpatchSF2VoiceCache_DLS.h
include/libinstpatch-1.0/libinstpatch/IpatchSF2VoiceCache_Gig.h
include/libinstpatch-1.0/libinstpatch/IpatchSF2VoiceCache_SF2.h
include/libinstpatch-1.0/libinstpatch/IpatchSF2VoiceCache_VBank.h
include/libinstpatch-1.0/libinstpatch/IpatchSF2Writer.h
include/libinstpatch-1.0/libinstpatch/IpatchSF2Zone.h
include/libinstpatch-1.0/libinstpatch/IpatchSample.h
include/libinstpatch-1.0/libinstpatch/IpatchSampleData.h
include/libinstpatch-1.0/libinstpatch/IpatchSampleList.h
include/libinstpatch-1.0/libinstpatch/IpatchSampleStore.h
include/libinstpatch-1.0/libinstpatch/IpatchSampleStoreCache.h
include/libinstpatch-1.0/libinstpatch/IpatchSampleStoreFile.h
include/libinstpatch-1.0/libinstpatch/IpatchSampleStoreRam.h
include/libinstpatch-1.0/libinstpatch/IpatchSampleStoreRom.h
include/libinstpatch-1.0/libinstpatch/IpatchSampleStoreSndFile.h
include/libinstpatch-1.0/libinstpatch/IpatchSampleStoreSplit24.h
include/libinstpatch-1.0/libinstpatch/IpatchSampleStoreSwap.h
include/libinstpatch-1.0/libinstpatch/IpatchSampleStoreVirtual.h
include/libinstpatch-1.0/libinstpatch/IpatchSampleTransform.h
include/libinstpatch-1.0/libinstpatch/IpatchSndFile.h
include/libinstpatch-1.0/libinstpatch/IpatchTypeProp.h
include/libinstpatch-1.0/libinstpatch/IpatchUnit.h
include/libinstpatch-1.0/libinstpatch/IpatchUnit_DLS.h
include/libinstpatch-1.0/libinstpatch/IpatchUnit_SF2.h
include/libinstpatch-1.0/libinstpatch/IpatchUnit_generic.h
include/libinstpatch-1.0/libinstpatch/IpatchVBank.h
include/libinstpatch-1.0/libinstpatch/IpatchVBankInst.h
include/libinstpatch-1.0/libinstpatch/IpatchVBankRegion.h
include/libinstpatch-1.0/libinstpatch/IpatchVirtualContainer.h
include/libinstpatch-1.0/libinstpatch/IpatchVirtualContainer_types.h
include/libinstpatch-1.0/libinstpatch/IpatchXml.h
include/libinstpatch-1.0/libinstpatch/IpatchXmlObject.h
include/libinstpatch-1.0/libinstpatch/builtin_enums.h
include/libinstpatch-1.0/libinstpatch/libinstpatch.h
include/libinstpatch-1.0/libinstpatch/misc.h
include/libinstpatch-1.0/libinstpatch/sample.h
include/libinstpatch-1.0/libinstpatch/util.h
include/libinstpatch-1.0/libinstpatch/version.h
lib/libinstpatch-1.0.la
lib/pkgconfig/libinstpatch-1.0.pc
${PYSITELIB}/ipatchmodule.la
share/gtk-doc/html/libinstpatch/IpatchBase.html
share/gtk-doc/html/libinstpatch/IpatchContainer.html
share/gtk-doc/html/libinstpatch/IpatchConverter.html
share/gtk-doc/html/libinstpatch/IpatchConverterSF2VoiceCache.html
share/gtk-doc/html/libinstpatch/IpatchDLS2.html
share/gtk-doc/html/libinstpatch/IpatchDLS2Inst.html
share/gtk-doc/html/libinstpatch/IpatchDLS2Region.html
share/gtk-doc/html/libinstpatch/IpatchDLS2Sample.html
share/gtk-doc/html/libinstpatch/IpatchDLSFile.html
share/gtk-doc/html/libinstpatch/IpatchDLSReader.html
share/gtk-doc/html/libinstpatch/IpatchDLSWriter.html
share/gtk-doc/html/libinstpatch/IpatchFile.html
share/gtk-doc/html/libinstpatch/IpatchGig.html
share/gtk-doc/html/libinstpatch/IpatchGigDimension.html
share/gtk-doc/html/libinstpatch/IpatchGigFile.html
share/gtk-doc/html/libinstpatch/IpatchGigInst.html
share/gtk-doc/html/libinstpatch/IpatchGigRegion.html
share/gtk-doc/html/libinstpatch/IpatchGigSample.html
share/gtk-doc/html/libinstpatch/IpatchGigSubRegion.html
share/gtk-doc/html/libinstpatch/IpatchItem.html
share/gtk-doc/html/libinstpatch/IpatchList.html
share/gtk-doc/html/libinstpatch/IpatchPaste.html
share/gtk-doc/html/libinstpatch/IpatchRiff.html
share/gtk-doc/html/libinstpatch/IpatchSF2.html
share/gtk-doc/html/libinstpatch/IpatchSF2File.html
share/gtk-doc/html/libinstpatch/IpatchSF2IZone.html
share/gtk-doc/html/libinstpatch/IpatchSF2Inst.html
share/gtk-doc/html/libinstpatch/IpatchSF2PZone.html
share/gtk-doc/html/libinstpatch/IpatchSF2Preset.html
share/gtk-doc/html/libinstpatch/IpatchSF2Reader.html
share/gtk-doc/html/libinstpatch/IpatchSF2Sample.html
share/gtk-doc/html/libinstpatch/IpatchSF2VoiceCache.html
share/gtk-doc/html/libinstpatch/IpatchSF2Writer.html
share/gtk-doc/html/libinstpatch/IpatchSF2Zone.html
share/gtk-doc/html/libinstpatch/IpatchSample.html
share/gtk-doc/html/libinstpatch/IpatchSampleData.html
share/gtk-doc/html/libinstpatch/IpatchSampleStore.html
share/gtk-doc/html/libinstpatch/IpatchSampleStoreCache.html
share/gtk-doc/html/libinstpatch/IpatchSampleStoreFile.html
share/gtk-doc/html/libinstpatch/IpatchSampleStoreRam.html
share/gtk-doc/html/libinstpatch/IpatchSampleStoreRom.html
share/gtk-doc/html/libinstpatch/IpatchSampleStoreSndFile.html
share/gtk-doc/html/libinstpatch/IpatchSampleStoreSplit24.html
share/gtk-doc/html/libinstpatch/IpatchSampleStoreSwap.html
share/gtk-doc/html/libinstpatch/IpatchSampleStoreVirtual.html
share/gtk-doc/html/libinstpatch/IpatchSndFile.html
share/gtk-doc/html/libinstpatch/IpatchVBank.html
share/gtk-doc/html/libinstpatch/IpatchVBankInst.html
share/gtk-doc/html/libinstpatch/IpatchVBankRegion.html
share/gtk-doc/html/libinstpatch/IpatchVirtualContainer.html
share/gtk-doc/html/libinstpatch/api-index-full.html
share/gtk-doc/html/libinstpatch/ch01.html
share/gtk-doc/html/libinstpatch/ch02.html
share/gtk-doc/html/libinstpatch/ch03.html
share/gtk-doc/html/libinstpatch/ch04.html
share/gtk-doc/html/libinstpatch/ch05.html
share/gtk-doc/html/libinstpatch/ch06.html
share/gtk-doc/html/libinstpatch/ch07.html
share/gtk-doc/html/libinstpatch/home.png
share/gtk-doc/html/libinstpatch/index.html
share/gtk-doc/html/libinstpatch/index.sgml
share/gtk-doc/html/libinstpatch/left.png
${PLIST.gtkdoc}share/gtk-doc/html/libinstpatch/IpatchDLS2Conn.html
${PLIST.gtkdoc}share/gtk-doc/html/libinstpatch/IpatchIter.html
${PLIST.gtkdoc}share/gtk-doc/html/libinstpatch/IpatchRange.html
${PLIST.gtkdoc}share/gtk-doc/html/libinstpatch/IpatchSF2Mod.html
${PLIST.gtkdoc}share/gtk-doc/html/libinstpatch/IpatchSampleList.html
${PLIST.doc}share/gtk-doc/html/libinstpatch/libinstpatch-IpatchDLS2Conn.html
share/gtk-doc/html/libinstpatch/libinstpatch-IpatchDLS2Info.html
share/gtk-doc/html/libinstpatch/libinstpatch-IpatchGigEffects.html
${PLIST.doc}share/gtk-doc/html/libinstpatch/libinstpatch-IpatchIter.html
share/gtk-doc/html/libinstpatch/libinstpatch-IpatchParamProp.html
${PLIST.doc}share/gtk-doc/html/libinstpatch/libinstpatch-IpatchRange.html
share/gtk-doc/html/libinstpatch/libinstpatch-IpatchSF2Gen.html
share/gtk-doc/html/libinstpatch/libinstpatch-IpatchSF2GenItem.html
${PLIST.doc}share/gtk-doc/html/libinstpatch/libinstpatch-IpatchSF2Mod.html
share/gtk-doc/html/libinstpatch/libinstpatch-IpatchSF2ModItem.html
${PLIST.doc}share/gtk-doc/html/libinstpatch/libinstpatch-IpatchSampleList.html
share/gtk-doc/html/libinstpatch/libinstpatch-IpatchSampleTransform.html
share/gtk-doc/html/libinstpatch/libinstpatch-IpatchTypeProp.html
share/gtk-doc/html/libinstpatch/libinstpatch-IpatchUnit-DLS.html
share/gtk-doc/html/libinstpatch/libinstpatch-IpatchUnit-SF2.html
share/gtk-doc/html/libinstpatch/libinstpatch-IpatchUnit-generic.html
share/gtk-doc/html/libinstpatch/libinstpatch-IpatchUnit.html
share/gtk-doc/html/libinstpatch/libinstpatch-IpatchXml.html
share/gtk-doc/html/libinstpatch/libinstpatch-IpatchXmlObject.html
share/gtk-doc/html/libinstpatch/libinstpatch-md5.html
share/gtk-doc/html/libinstpatch/libinstpatch-misc.html
share/gtk-doc/html/libinstpatch/libinstpatch-sample.html
share/gtk-doc/html/libinstpatch/libinstpatch-util.html
share/gtk-doc/html/libinstpatch/libinstpatch-version.html
${PLIST.doc}share/gtk-doc/html/libinstpatch/libinstpatch.devhelp
share/gtk-doc/html/libinstpatch/libinstpatch.devhelp2
share/gtk-doc/html/libinstpatch/object-tree.html
share/gtk-doc/html/libinstpatch/right.png
share/gtk-doc/html/libinstpatch/style.css
share/gtk-doc/html/libinstpatch/up.png
share/pygtk/2.0/defs/ipatch-types.defs
share/pygtk/2.0/defs/ipatch.defs

View File

@ -0,0 +1,29 @@
# $NetBSD: buildlink3.mk,v 1.1 2012/12/29 01:01:16 othyro Exp $
BUILDLINK_TREE+= libinstpatch
.if !defined(LIBINSTPATCH_BUILDLINK3_MK)
LIBINSTPATCH_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libinstpatch+= libinstpatch>=1.0.0
BUILDLINK_PKGSRCDIR.libinstpatch?= ../../wip/libinstpatch
pkgbase := xmms2
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.libinstpatch:Mdoc)
.include "../../textproc/gtk-doc/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.libinstpatch:Mnls)
.include "../../devel/gettext-lib/buildlink3.mk"
.endif
.include "../../devel/py-gobject/buildlink3.mk"
.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../audio/libsndfile/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.endif # LIBINSTPATCH_BUILDLINK3_MK
BUILDLINK_TREE+= -libinstpatch

6
libinstpatch/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2012/12/29 01:01:16 othyro Exp $
SHA1 (libinstpatch-1.0.0.tar.gz) = 7a347558cc71528e3b475302e4f6a3cd727ffc51
RMD160 (libinstpatch-1.0.0.tar.gz) = 4cbecfb3851981ddbf0b01739a340679ca529cd5
Size (libinstpatch-1.0.0.tar.gz) = 1158291 bytes
SHA1 (patch-configure) = 2bf703275d5da1b94ea46d80479ded61bc1077e2

29
libinstpatch/options.mk Normal file
View File

@ -0,0 +1,29 @@
# $NetBSD: options.mk,v 1.1 2012/12/29 01:01:16 othyro Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libinstpatch
PKG_SUPPORTED_OPTIONS= debug doc nls
PKG_SUGGESTED_OPTIONS+= nls
PLIST_VARS+= doc gtkdoc
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-debug
.else
CONFIGURE_ARGS+= --enable-debug=no
.endif
.if !empty(PKG_OPTIONS:Mdoc)
.include "../../textproc/gtk-doc/buildlink3.mk"
CONFIGURE_ARGS+= --enable-gtk-doc
PLIST.gtkdoc= yes
.else
CONFIGURE_ARGS+= --enable-gtk-doc=no
PLIST.doc= yes
.endif
.if !empty(PKG_OPTIONS:Mnls)
.include "../../devel/gettext-lib/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-nls
.endif

View File

@ -0,0 +1,33 @@
$NetBSD: patch-configure,v 1.1 2012/12/29 01:01:16 othyro Exp $
Fixes portability failure.
--- configure.orig 2010-10-25 19:58:49.000000000 +0000
+++ configure
@@ -12935,7 +12935,7 @@ case $host_os in
* ) MINGW32=no;;
esac
-if test "${MINGW32}" == "yes" ; then
+if test "${MINGW32}" = "yes" ; then
$as_echo "#define MINGW32 1" >>confdefs.h
@@ -16357,7 +16357,7 @@ fi
-if test "x${enable_gtk_doc}" == "xyes"; then
+if test "x${enable_gtk_doc}" = "xyes"; then
_SUMMARY_ENABLED="$_SUMMARY_ENABLED Generate gtk-doc API docs\n"
else
_SUMMARY_DISABLED="$_SUMMARY_DISABLED Generate gtk-doc API docs\n"
@@ -16366,7 +16366,7 @@ fi
-if test "${enable_debug}" == "yes"; then
+if test "${enable_debug}" = "yes"; then
_SUMMARY_ENABLED="$_SUMMARY_ENABLED Debugging\n"
else
_SUMMARY_DISABLED="$_SUMMARY_DISABLED Debugging\n"