Ticket #53847: scummvm.1.90.portfile.diff

File scummvm.1.90.portfile.diff, 4.8 KB (added by kencu (Ken), 7 years ago)
  • Portfile

    old new  
    11PortSystem          1.0
    22
    33name                scummvm
    4 version             1.7.0
     4version             1.9.0
    55platforms           darwin
    66categories          emulators games
    77maintainers         nomaintainer
     
    99description         cross-platform interpreter for several adventure engines
    1010long_description    \
    1111    ScummVM is a cross-platform interpreter for several point-and-click \
    12     adventure engines. This includes all SCUMM-based adventures by LucasArts, \
    13     Simon the Sorcerer by AdventureSoft, and Beneath a Steel Sky and Broken \
    14     Sword 2 by Revolution.
     12    adventure engines. A current list of playable games is available at \
     13    <https://www.scummvm.org/compatibility/>.
    1514
    1615homepage            http://scummvm.org/
    17 master_sites        sourceforge:project/${name}/${name}/${version}
     16master_sites        http://scummvm.org/frs/${name}/${version}
    1817use_bzip2           yes
    19 checksums           sha256  d9ff0e8cf911afa466d5456d28fef692a17d47ddecfd428bf2fef591237c2e66 \
    20                     rmd160  9c70db2cdc6631d6d8d6ac108c0cd58f1387e030
     18checksums           sha256  813d7d8a76e3d05b45001d37451368711dadc32899ecf907df1cc7abfb1754d2 \
     19                    rmd160  464a5039b7e1391141c223825f166d74f2bef3aa
    2120
    22 depends_lib         port:libsdl \
     21patchfiles-append   patch-scummvm-sdl2indet.diff
     22
     23depends_lib-append  port:libsdl2 \
     24                    port:libsdl2_net \
    2325                    port:libmad \
    2426                    port:libogg \
    2527                    port:libvorbis \
    2628                    port:libpng \
    27                     port:flac
    28 
    29 configure.args      --with-sdl-prefix=${prefix} \
    30                     --with-mad-prefix=${prefix} \
    31                     --with-ogg-prefix=${prefix} \
    32                     --with-vorbis-prefix=${prefix} \
    33                     --with-flac-prefix=${prefix} \
    34                     --with-zlib-prefix=${prefix} \
    35                     --with-png-prefix=${prefix} \
    36                     --enable-release \
     29                    port:flac \
     30                    port:libtheora \
     31                    port:fluidsynth \
     32                    port:faad2 \
     33                    port:jpeg \
     34                    port:freetype \
     35                    port:bzip2 \
     36                    port:expat \
     37                    port:gettext \
     38                    port:glib2 \
     39                    port:libedit \
     40                    port:libffi \
     41                    port:libiconv \
     42                    port:libsndfile \
     43                    port:ncurses \
     44                    port:pcre \
     45                    port:portaudio \
     46                    port:readline \
     47                    port:zlib
     48
     49
     50configure.args-append  --enable-release \
     51                    --enable-plugins \
     52                    --default-dynamic \
     53                    --enable-sdlnet \
     54                    --enable-libcurl \
     55                    --enable-theoradec \
     56                    --enable-jpeg \
     57                    --enable-readline \
     58                    --enable-all-engines \
    3759                    --enable-verbose-build
    3860
    39 configure.universal_args-delete --disable-dependency-tracking
    40 
    41 platform darwin {
    42     destroot.args   INSTALL=/usr/bin/install
     61variant cxx11 description {build with c++11} {
     62     # can use this -- scummvm builds fine without c++11 though
     63     # I'm not sure if there is any advantage to enabling c++11 support at present
     64     PortGroup cxx11 1.1
     65     configure.args-append --enable-c++11
    4366}
    4467
     68variant mpeg2 description {add mpeg2 support} {
     69     # this builds fine, but libmpeg2 is old (2008) and pulls in a lot of deps
     70     # and I'm not sure if any games actually use this
     71     configure.args-append --enable-mpeg2
     72     depends_lib-append    port:libmpeg2 \
     73                    port:db48 \
     74                    port:libsdl \
     75                    port:libxml2 \
     76                    port:openssl \
     77                    port:python27 \
     78                    port:python2_select \
     79                    port:python_select \
     80                    port:sqlite3 \
     81                    port:xorg-kbproto \
     82                    port:xorg-libX11 \
     83                    port:xorg-libXau \
     84                    port:xorg-libXdmcp \
     85                    port:xorg-libXext \
     86                    port:xorg-libXrandr \
     87                    port:xorg-libXv \
     88                    port:xorg-libice \
     89                    port:xorg-libpthread-stubs \
     90                    port:xorg-libsm \
     91                    port:xorg-libxcb \
     92                    port:xorg-randrproto \
     93                    port:xorg-renderproto \
     94                    port:xorg-videoproto \
     95                    port:xorg-xcb-proto \
     96                    port:xorg-xextproto \
     97                    port:xorg-xproto \
     98                    port:xrender \
     99                    port:xz
     100
     101}