2022-02-24 20:09:00 +00:00
|
|
|
# -*- 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
|
|
|
|
PortGroup cmake 1.1
|
|
|
|
PortGroup github 1.0
|
|
|
|
PortGroup boost 1.0
|
|
|
|
|
2022-05-06 01:05:57 +00:00
|
|
|
github.setup sunshinestream sunshine master
|
|
|
|
version @PROJECT_VERSION@
|
|
|
|
revision 1
|
2022-02-24 20:09:00 +00:00
|
|
|
|
|
|
|
categories multimedia
|
2022-05-06 01:05:57 +00:00
|
|
|
license GPL-3
|
|
|
|
maintainers {sunshinestream @SunshineStream} {outlook.com:anselm.busse}
|
2022-02-24 20:09:00 +00:00
|
|
|
platforms darwin
|
|
|
|
|
|
|
|
fetch.type git
|
|
|
|
post-fetch {
|
|
|
|
system -W ${worksrcpath} "${git.cmd} submodule update --init --recursive"
|
|
|
|
}
|
|
|
|
|
2022-05-06 18:24:39 +00:00
|
|
|
description @PROJECT_DESCRIPTION@
|
2022-05-06 01:05:57 +00:00
|
|
|
long_description {*}${description}
|
2022-05-06 18:24:39 +00:00
|
|
|
homepage @PROJECT_HOMEPAGE_URL@
|
2022-02-24 20:09:00 +00:00
|
|
|
|
2022-05-06 01:05:57 +00:00
|
|
|
depends_lib port:avahi \
|
|
|
|
port:ffmpeg \
|
|
|
|
port:libopus
|
2022-02-24 20:09:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
boost.version 1.76
|
|
|
|
|
|
|
|
configure.args -DBOOST_ROOT=[boost::install_area] \
|
2022-05-14 12:43:58 +00:00
|
|
|
-DSUNSHINE_ASSETS_DIR=${prefix}/etc/sunshine/assets
|
|
|
|
-DSUNSHINE_CONFIG_DIR=${prefix}/etc/sunshine/config
|
2022-02-24 20:09:00 +00:00
|
|
|
|
|
|
|
cmake.out_of_source yes
|
|
|
|
|
|
|
|
destroot {
|
2022-05-12 01:31:31 +00:00
|
|
|
xinstall -d -m 755 ${destroot}${prefix}/usr/local/${name}/.assets
|
|
|
|
xinstall {*}[glob ${worksrcpath}/src_assets/common/assets/*] ${destroot}${prefix}/usr/local/${name}/.assets
|
|
|
|
xinstall {*}[glob ${worksrcpath}/src_assets/macos/assets/*] ${destroot}${prefix}/usr/local/${name}/.assets
|
|
|
|
|
|
|
|
xinstall -d -m 755 ${destroot}${prefix}/usr/local/${name}/config
|
|
|
|
xinstall {*}[glob ${worksrcpath}/src_assets/common/config/*] ${destroot}${prefix}/usr/local/${name}/config
|
|
|
|
xinstall {*}[glob ${worksrcpath}/src_assets/macos/config/*] ${destroot}${prefix}/usr/local/${name}/config
|
2022-02-24 20:09:00 +00:00
|
|
|
|
|
|
|
xinstall ${workpath}/build/${name} ${destroot}${prefix}/bin
|
|
|
|
}
|