1 | # -*- 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 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name generaluser-soundfont |
---|
6 | version 1.47 |
---|
7 | categories audio |
---|
8 | license GeneralUser GS License v2.0 |
---|
9 | maintainers gmail.com:rjvbertin mojca openmaintainer |
---|
10 | |
---|
11 | description SoundFont definitions for FluidSynth and compatible applications. |
---|
12 | long_description ${description} Provides the GeneralUser SoundFont by S. Christian Collins (GS), \ |
---|
13 | a GM and GS compatible SoundFont bank for composing, playing MIDI files, and retro gaming. \ |
---|
14 | It features 259 instrument presets and 11 drum kits, all while possessing a very low memory \ |
---|
15 | footprint (less than 30 MB of RAM). Due to its clever, detailed sound programming, \ |
---|
16 | GeneralUser GS can sound as good or better than SoundFonts that are 2-3 times its size. |
---|
17 | homepage http://www.schristiancollins.com/generaluser.php |
---|
18 | use_zip yes |
---|
19 | master_sites https://dl.dropboxusercontent.com/u/8126161/ |
---|
20 | |
---|
21 | distname GeneralUser_GS_${version} |
---|
22 | worksrcdir "GeneralUser GS ${version}" |
---|
23 | |
---|
24 | checksums rmd160 d1c2bf2aa5df251a18432cf8ca456e23c31faf5e \ |
---|
25 | sha256 be4cf246d97f98eb059ede059be2f1bdcd9bbf3245d6c0667edaa11f3091c30d |
---|
26 | |
---|
27 | use_configure no |
---|
28 | build {} |
---|
29 | |
---|
30 | destroot { |
---|
31 | xinstall -m 755 -d ${destroot}${prefix}/share/docs/${name} |
---|
32 | xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name} |
---|
33 | xinstall -m 755 -d ${destroot}${prefix}/share/sounds/sf2 |
---|
34 | xinstall -m 644 "${worksrcpath}/GeneralUser GS v${version}.sf2" \ |
---|
35 | ${destroot}${prefix}/share/sounds/sf2/general_user_gs-${version}.sf2 |
---|
36 | foreach d {CHANGELOG.txt LICENSE.txt README.txt "instrument lists/GU1.43 Percussion Map.pdf"} { |
---|
37 | xinstall -m 644 "${worksrcpath}/${d}" ${destroot}${prefix}/share/docs/${name} |
---|
38 | } |
---|
39 | xinstall -m 644 "${worksrcpath}/GUTest.mid" ${destroot}${prefix}/share/examples/${name} |
---|
40 | foreach e [glob -nocomplain "${worksrcpath}/demo MIDIs/*"] { |
---|
41 | xinstall -m 644 "${e}" ${destroot}${prefix}/share/examples/${name} |
---|
42 | } |
---|
43 | } |
---|
44 | |
---|
45 | # the ${homepage} and ${master_sites} pages don't support livecheck, so peek at |
---|
46 | # on Arch Linux's PKGBUILD file to get "timely-enough" update notifications. |
---|
47 | livecheck.url https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=soundfont-generaluser |
---|
48 | livecheck.type regex |
---|
49 | livecheck.regex pkgver\=(\\d+(\\.\\d+)+) |
---|