Files

56 lines
1.9 KiB
Tcl

# -*- 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 legacysupport 1.1
name spice-server
version 0.16.0
revision 0
categories devel
license BSD
maintainers {makr @mohd-akram} openmaintainer
description Remote virtual machine server
long_description {*}${description}
homepage https://www.spice-space.org/
master_sites https://www.spice-space.org/download/releases/
use_bzip2 yes
distname spice-${version}
checksums rmd160 21903f69007d9fc04455753aab2d08a0d872a03b \
sha256 0a6ec9528f05371261bbb2d46ff35e7b5c45ff89bb975a99af95a5f20ff4717d \
size 1682389
# Needed for 'clock_gettime', along with newer CXX features like std::logical_not
legacysupport.newest_darwin_requires_legacy 18
legacysupport.use_mp_libcxx yes
depends_build-append \
path:bin/pkg-config:pkgconfig \
port:spice-protocol
depends_lib-append \
path:lib/pkgconfig/glib-2.0.pc:glib2 \
port:gettext-runtime \
port:gstreamer1 \
port:gstreamer1-gst-plugins-base \
port:cyrus-sasl2 \
path:include/turbojpeg.h:libjpeg-turbo \
port:libopus \
path:lib/pkgconfig/pixman-1.pc:libpixman \
port:lz4 \
path:lib/libssl.dylib:openssl \
port:orc \
port:zlib
patchfiles visibility.patch
# https://trac.macports.org/wiki/WimplicitFunctionDeclaration#strchr
configure.checks.implicit_function_declaration.whitelist-append strchr
compiler.cxx_standard 2011
livecheck.regex {spice-(\d+(?:\.\d+)*)}