# -*- 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 meson 1.0 # Something was broken with gtk-docs target in 0.8.2: # https://gitlab.gnome.org/GNOME/libnotify/-/issues/38 name libnotify version 0.8.1 set branch [join [lrange [split ${version} .] 0 1] .] categories devel gnome maintainers nomaintainer description pop-up notification library long_description \ The Desktop Notifications framework provides a standard way of doing \ passive pop-up notifications. license LGPL-2.1+ homepage http://library.gnome.org/devel/libnotify/ master_sites gnome:sources/${name}/${branch} use_xz yes checksums rmd160 fcc1f33890d2f717522cc80a0818cc416f7f7969 \ sha256 d033e6d4d6ccbf46a436c31628a4b661b36dca1f5d4174fe0173e274f4e62557 \ size 105368 depends_build-append \ port:pkgconfig \ port:gtk-doc \ port:docbook-xsl-ns \ port:libxslt \ port:xmlto depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \ path:lib/pkgconfig/gobject-introspection-1.0.pc:gobject-introspection \ path:lib/pkgconfig/gdk-pixbuf-2.0.pc:gdk-pixbuf2 \ path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \ port:xorg-libsm # ensure g-ir-scanner uses correct link command build.env-append "CC=${configure.cc} [get_canonical_archflags cc]" platform darwin 8 { # meson on Tiger cannot use rpaths, so we workaround with this to find dylib destroot.env-append "DYLD_LIBRARY_PATH=${build_dir}/libnotify" } pre-activate { if {${os.major} == 11 && ${os.minor} < 2 && ${os.platform} eq "darwin"} { ui_error "You must first update to OS X 10.7.2." return -code error "You must first update to OS X 10.7.2." } } livecheck.type gnome-with-unstable