# -*- 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

PortSystem          1.0

name                libgig
version             4.5.2
revision            0
checksums           rmd160  ffb78d8808a9e442482f5dcb8f7b36d48db4ad83 \
                    sha256  ca2be8ce5e0969f90c2df76e03d499f5e27fb5021edbc587de182ff27e8efddd \
                    size    627836

categories          audio
maintainers         {ryandesign @ryandesign} openmaintainer
license             GPL-2+ LGPL-2.1+

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            https://www.linuxsampler.org/libgig
master_sites        https://download.linuxsampler.org/packages/ \
                    sourceforge:project/qsampler/${name}/${version}/

use_bzip2           yes

depends_build       path:bin/pkg-config:pkgconfig

depends_lib         port:libsndfile

compiler.cxx_standard 2011

test.run            yes
test.target         check
