[152953] users/devans/GNOME-3/stable/dports/gnome/libgnomekbd/Portfile

devans at macports.org devans at macports.org
Wed Sep 21 01:34:45 PDT 2016


Revision: 152953
          https://trac.macports.org/changeset/152953
Author:   devans at macports.org
Date:     2016-09-21 01:34:45 -0700 (Wed, 21 Sep 2016)
Log Message:
-----------
GNOME-3/stable: libgnomekbd, update to version 3.22.0.1, no longer uses intltool, explicitly requires gdk X11 backend, drop +x11 variant.

Modified Paths:
--------------
    users/devans/GNOME-3/stable/dports/gnome/libgnomekbd/Portfile

Modified: users/devans/GNOME-3/stable/dports/gnome/libgnomekbd/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/libgnomekbd/Portfile	2016-09-21 08:23:33 UTC (rev 152952)
+++ users/devans/GNOME-3/stable/dports/gnome/libgnomekbd/Portfile	2016-09-21 08:34:45 UTC (rev 152953)
@@ -2,11 +2,11 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           active_variants 1.1
 PortGroup           gobject_introspection 1.0
 
 name                libgnomekbd
-version             3.6.0
-revision            1
+version             3.22.0.1
 set branch          [join [lrange [split ${version} .] 0 1] .]
 description         A GNOME library which manages keyboard configuration
 long_description    Libgnomekbd is ${description} and offers various \
@@ -21,15 +21,10 @@
 
 use_xz              yes
 
-checksums           rmd160  59ecbefb14f92e7c896ca4416d5f09e45a2b30a9 \
-                    sha256  c41ea5b0f64da470925ba09f9f1b46b26b82d4e433e594b2c71eab3da8856a09
+checksums           rmd160  63dee608eaae8ab9734e5772167665833bfeb89e \
+                    sha256  4efdb6b8ec92f04caced710b5edb285fb27715059ed6ca5e100b6933999a93de
 
-depends_build       port:pkgconfig \
-                    port:intltool \
-                    port:gnome-common \
-                    port:autoconf \
-                    port:automake \
-                    port:libtool
+depends_build       port:pkgconfig
 
 depends_lib         port:desktop-file-utils \
                     port:gtk3 \
@@ -37,26 +32,15 @@
 
 gobject_introspection yes
 
-# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
+# libgnomekbd/gkbd-keyboard-display.c uses gdk_set_allowed_backends ("x11")
 
-post-patch {
-    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
-}
+require_active_variants port:gtk3 x11
 
-configure.cmd       ./autogen.sh
-
-configure.args      --without-x \
+configure.args      --x-includes=${prefix}/include \
+                    --x-libraries=${prefix}/lib \
                     --disable-schemas-compile \
                     --disable-silent-rules
 
-variant x11 {
-    configure.args-append   --x-includes=${prefix}/include \
-                            --x-libraries=${prefix}/lib
-    configure.args-delete   --without-x
-}
-
-default_variants    +x11
-
 post-activate {
     system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
     system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160921/f2a20886/attachment.html>


More information about the macports-changes mailing list