mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
57 lines
1.9 KiB
Tcl
57 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:filetype=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup meson 1.0
|
|
|
|
name gupnp-tools
|
|
version 0.12.1
|
|
revision 1
|
|
license LGPL
|
|
set branch [join [lrange [split ${version} .] 0 1] .]
|
|
description GUPnP Tools are free replacements of Intel UPnP tools that use GUPnP.
|
|
|
|
long_description ${description}
|
|
|
|
maintainers {devans @dbevans} openmaintainer
|
|
categories net gnome
|
|
homepage https://wiki.gnome.org/Projects/GUPnP
|
|
master_sites gnome:sources/${name}/${branch}/
|
|
|
|
use_xz yes
|
|
|
|
checksums rmd160 e05d005ded196d2d9c5c0c3882038708180d6a2d \
|
|
sha256 53cf93123f397e8f8f0b8e9e4364c86a7502a5334f4c0be2e054a824478bd5ba \
|
|
size 183488
|
|
|
|
# This causes a problem with the new clang: https://github.com/macports/macports-ports/pull/19914
|
|
patchfiles-append patch-no-werror-deprecated.diff
|
|
|
|
depends_build-append \
|
|
port:pkgconfig \
|
|
port:gettext
|
|
|
|
depends_lib-append port:desktop-file-utils \
|
|
port:gettext-runtime \
|
|
path:lib/pkgconfig/gobject-introspection-1.0.pc:gobject-introspection \
|
|
port:gssdp \
|
|
path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \
|
|
port:gupnp \
|
|
port:gupnp-av \
|
|
path:lib/pkgconfig/libsoup-3.0.pc:libsoup \
|
|
port:libxml2
|
|
|
|
depends_run-append port:adwaita-icon-theme \
|
|
port:gtksourceview3
|
|
|
|
# blacklist compilers that do not support C11
|
|
# due to error: redefinition of typedef 'GUPnPService'
|
|
# build fix for SL and earlier
|
|
|
|
compiler.blacklist *gcc-3.* *gcc-4.* {clang < 300}
|
|
|
|
post-activate {
|
|
system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
|
|
}
|
|
|
|
livecheck.type gnome
|