Commits

Ryan Schmidt authored 67a72019179
scummvm: Update to 2.1.0 and -devel to 20191107
No tags

emulators/scummvm/Portfile

Modified
1 1 PortSystem 1.0
2 +PortGroup github 1.0
2 3
3 4 name scummvm
4 5 platforms darwin
5 6 categories emulators games
6 7 maintainers nomaintainer
7 8 license {GPL-2 BSD}
8 9 description cross-platform interpreter for several adventure engines
9 10 long_description \
10 11 ScummVM is a cross-platform interpreter for several point-and-click \
11 12 adventure engines. A current list of playable games is available at \
12 13 <https://www.scummvm.org/compatibility/>.
13 14
14 -homepage https://scummvm.org/
15 -
16 -subport ${name}-devel {}
15 +homepage https://www.scummvm.org
17 16
18 17 if {${subport} eq ${name}} {
18 + github.setup scummvm scummvm 2.1.0 v
19 + revision 0
20 + checksums sha256 6b50c6596a1536b52865f556dc05ded20f86b6ffabe4bccbd746b5587b15f727 \
21 + rmd160 0361156e76b9a1f0fd4541be0637dc888504091c \
22 + size 27188916
19 23
20 - # release
21 24 conflicts ${name}-devel
22 25 long_description ${description}: \
23 26 This port follows the release version of ${name}, which is typically updated every \
24 27 6 months. If for some reason this port does not build or function as desired, try \
25 28 the ${name}-devel port.
26 29
27 - version 2.0.0
28 - revision 5
29 - master_sites http://scummvm.org/frs/${name}/${version}
30 - use_bzip2 yes
31 - checksums sha256 46482e9f4eccd8590a86c70b024bdd0b319af8cbe8b7abaef592a9c52abbe1dc \
32 - rmd160 669f1e8c342e874d2478593898cb6840531eff01
30 + master_sites ${homepage}/frs/${name}/${version}
31 + use_xz yes
33 32
34 - livecheck.url https://github.com/scummvm/scummvm/releases
35 - livecheck.regex v(\[0-9.\]+).tar.gz
33 + github.livecheck.regex {([0-9.]+)}
34 +}
36 35
37 -} else {
36 +subport ${name}-devel {
37 + github.setup scummvm scummvm ccab85ffb2c735f65ddf8c688730b6d211c073f6
38 + version 20191107
39 + revision 0
40 + checksums rmd160 350934b943ae350553b0cd80fd1e19ba9d9d1733 \
41 + sha256 80ae31e59c9b32f0881b535c20c6166be441de2f55319d8909a6aa5f700bd0d2 \
42 + size 38357552
38 43
39 - # devel
40 44 conflicts ${name}
41 45 long_description ${description}: \
42 46 This port follows the master version of ${name}, which is typically updated every few weeks.
43 47
44 - PortGroup github 1.0
45 - github.setup scummvm scummvm 0a9ad229a89a04b2fe437597584684f43479ca14
46 - version 20190122
47 - revision 2
48 - checksums rmd160 b4cf1bcca4163092e87a77efdb052f0ea5dbacf8 \
49 - sha256 7d75f4adaa5f2d7ccd4afb2cdb3f764034c09cb0bfdbbbcda6fb7f3edc257676 \
50 - size 37817083
51 -
52 48 livecheck.type none
53 -
54 49 }
55 50
56 51 patchfiles-append patch-scummvm-sdl2indet.diff
57 52
58 53 depends_lib-append port:libsdl2 \
59 54 port:libsdl2_net \
60 55 port:libmad \
61 56 port:libogg \
62 57 port:libvorbis \
63 58 port:libpng \
88 83 --default-dynamic \
89 84 --enable-sdlnet \
90 85 --enable-cloud \
91 86 --enable-libcurl \
92 87 --enable-theoradec \
93 88 --enable-jpeg \
94 89 --enable-readline \
95 90 --enable-all-engines \
96 91 --enable-verbose-build
97 92
98 -if {${subport} eq "${name}-devel"} {
99 - # disable this engine, which doesn't build on macOS as of 20190122
100 - configure.args-append \
101 - --disable-engine=glk
102 -}
103 -
104 93 # libcurl needs --enable-cloud as well otherwise link errors
105 94 # also connected to --enable-sdlnet
106 95
107 96 variant cxx11 description {build with c++11} {
108 97 # scummvm builds fine without c++11
109 98 # I'm not sure if there is any advantage to enabling c++11 support at present
110 99 # but keep it here as a variant in case someone finds there is
111 100 compiler.cxx_standard 2011
112 101 configure.args-append \
113 102 --enable-c++11

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut