diff options
author | William Pitcock <nenolod@dereferenced.org> | 2017-06-07 05:53:20 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2017-06-07 05:53:20 +0000 |
commit | f6e4edbc348f3eeeea88779b29cc9b55dbdc7633 (patch) | |
tree | c9d7a4b4b6d04e9b87a555e91ded9533d82a756f /testing/gnome-control-center | |
parent | d386df5bb60e8d148f8321f965943477a4463ffb (diff) | |
download | aports-f6e4edbc348f3eeeea88779b29cc9b55dbdc7633.tar.bz2 aports-f6e4edbc348f3eeeea88779b29cc9b55dbdc7633.tar.xz |
testing/gnome-control-center: new aport
Diffstat (limited to 'testing/gnome-control-center')
-rw-r--r-- | testing/gnome-control-center/APKBUILD | 61 | ||||
-rw-r--r-- | testing/gnome-control-center/wayland.patch | 29 |
2 files changed, 90 insertions, 0 deletions
diff --git a/testing/gnome-control-center/APKBUILD b/testing/gnome-control-center/APKBUILD new file mode 100644 index 0000000000..98d5e857df --- /dev/null +++ b/testing/gnome-control-center/APKBUILD @@ -0,0 +1,61 @@ +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=gnome-control-center +pkgver=3.24.2 +pkgrel=0 +pkgdesc="GNOME control center" +url="http://www.gnome.org/" +arch="all" +license="GPL" +depends="" +depends_dev="" +makedepends="clutter-dev clutter-gtk-dev + + gnome-desktop-dev + gnome-settings-daemon-dev + gnome-online-accounts-dev + grilo-dev + libgtop-dev + gnome-bluetooth-dev + + colord-gtk-dev + samba-dev + accountsservice-dev + libpwquality-dev + + networkmanager-dev network-manager-applet-dev libmm-glib-dev + + krb5-dev + + itstool + libxml2-utils + libxslt + + docbook-xml docbook-xsl + + $depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://ftp.gnome.org/pub/GNOME/sources/gnome-control-center/${pkgver%.*}/gnome-control-center-$pkgver.tar.xz + wayland.patch" +builddir="$srcdir/gnome-control-center-$pkgver" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --disable-ibus + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="5041d4907cba0ea188663ad574ddaac6c341ec22b69f7a3d6332b8ae0a572fe33eb19eed758f3d593fe6224d793f2ecc3677584ebf0971f3ae145363a1769cc0 gnome-control-center-3.24.2.tar.xz +3f17e2f00798e4d2a99a1d77c66ee5be29501417ea4b4c65387f24d8c27700c36e2f5fb2b476c3c0c88b18b497f48e7e2c09a4baadb6b532b7ecc112f504db48 wayland.patch" diff --git a/testing/gnome-control-center/wayland.patch b/testing/gnome-control-center/wayland.patch new file mode 100644 index 0000000000..19db51190b --- /dev/null +++ b/testing/gnome-control-center/wayland.patch @@ -0,0 +1,29 @@ +--- gnome-control-center-3.24.2.orig/panels/common/gsd-device-manager-udev.c ++++ gnome-control-center-3.24.2/panels/common/gsd-device-manager-udev.c +@@ -24,7 +24,10 @@ + #include <string.h> + #include <gudev/gudev.h> + ++#ifdef GDK_WINDOWING_WAYLAND + #include <gdk/gdkwayland.h> ++#endif ++ + #include "gsd-device-manager-udev.h" + + struct _GsdUdevDeviceManager +@@ -227,6 +230,7 @@ + gsd_udev_device_manager_lookup_device (GsdDeviceManager *manager, + GdkDevice *gdk_device) + { ++#ifdef GDK_WINDOWING_WAYLAND + const gchar *node_path; + GHashTableIter iter; + GsdDevice *device; +@@ -243,6 +247,7 @@ + return device; + } + } ++#endif + + return NULL; + } |