[135935] trunk/dports/audio

ryandesign at macports.org ryandesign at macports.org
Wed May 6 22:23:49 PDT 2015


Revision: 135935
          https://trac.macports.org/changeset/135935
Author:   ryandesign at macports.org
Date:     2015-05-06 22:23:49 -0700 (Wed, 06 May 2015)
Log Message:
-----------
libgig: new port, version 3.3.0

Added Paths:
-----------
    trunk/dports/audio/libgig/
    trunk/dports/audio/libgig/Portfile
    trunk/dports/audio/libgig/files/
    trunk/dports/audio/libgig/files/patch-src-testcases-main.cpp.diff

Added: trunk/dports/audio/libgig/Portfile
===================================================================
--- trunk/dports/audio/libgig/Portfile	                        (rev 0)
+++ trunk/dports/audio/libgig/Portfile	2015-05-07 05:23:49 UTC (rev 135935)
@@ -0,0 +1,53 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+
+name                libgig
+version             3.3.0
+categories          audio
+platforms           darwin
+maintainers         ryandesign openmaintainer
+license             GPL-2
+
+description         C++ library for loading, modifying and creating \
+                    Gigasampler and DLS (Downloadable Sounds) Level 1/2 files
+
+long_description    libgig is a C++ library for loading, modifying existing \
+                    and creating new Gigasampler files and DLS (Downloadable \
+                    Sounds) Level 1/2 files. \
+                    The following command line tools are also included: \
+                    \n \
+                    \n* gigextract (extracts samples from a .gig file) \
+                    \n* gigdump (prints out the content of a .gig file) \
+                    \n* dlsdump (prints out the content of a DLS file) \
+                    \n* rifftree (prints out the RIFF tree structure of an \
+                        arbitrary RIFF file)
+
+homepage            http://www.linuxsampler.org/libgig/
+master_sites        http://download.linuxsampler.org/packages/
+use_bzip2           yes
+
+checksums           rmd160  b2c197fd0d16ec2750fd67b79eed68043b8d614d \
+                    sha256  d22a3c7ba13d920c1d4b6c218107ad105622ae9d1236ffbce007b98547774425
+
+depends_build       port:pkgconfig
+
+#depends_test        port:cppunit
+
+depends_lib         port:libsndfile
+
+patchfiles          patch-src-testcases-main.cpp.diff
+
+configure.ldflags-append -framework CoreFoundation
+
+use_parallel_build  no
+
+test.run            yes
+test.dir            ${worksrcpath}/src/testcases
+test.cmd            ./libgigtests
+test.target
+
+pre-test {
+    system -W ${test.dir} "${build.cmd} libgigtests"
+}


Property changes on: trunk/dports/audio/libgig/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/audio/libgig/files/patch-src-testcases-main.cpp.diff
===================================================================
--- trunk/dports/audio/libgig/files/patch-src-testcases-main.cpp.diff	                        (rev 0)
+++ trunk/dports/audio/libgig/files/patch-src-testcases-main.cpp.diff	2015-05-07 05:23:49 UTC (rev 135935)
@@ -0,0 +1,16 @@
+--- src/testcases/main.cpp.orig	2006-08-20 09:50:36.000000000 -0500
++++ src/testcases/main.cpp	2015-05-07 00:19:39.000000000 -0500
+@@ -16,11 +16,12 @@
+ 
+ #include <cppunit/extensions/TestFactoryRegistry.h>
+ #include <cppunit/ui/text/TestRunner.h>
++#include <cstdlib>
+ 
+ int main(int argc, char** argv) {
+     CppUnit::TextUi::TestRunner runner;
+     CppUnit::TestFactoryRegistry &registry = CppUnit::TestFactoryRegistry::getRegistry();
+     runner.addTest( registry.makeTest() );
+     bool wasSuccessful = runner.run( "", false );
+-    return wasSuccessful;
++    return wasSuccessful ? EXIT_SUCCESS : EXIT_FAILURE;
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150506/a6e38037/attachment.html>


More information about the macports-changes mailing list