diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-04-24 00:00:30 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-05-24 12:55:20 +0000 |
commit | debc09ca97804e05b1b7387e9cec2d9ada861ff5 (patch) | |
tree | 3df6f4f535e059d4f1f8ea35b3e4cb2883f6bc47 | |
parent | 6f6c6f7340dc3a653896398fbcdd8fd70e5e9da1 (diff) | |
download | aports-debc09ca97804e05b1b7387e9cec2d9ada861ff5.tar.bz2 aports-debc09ca97804e05b1b7387e9cec2d9ada861ff5.tar.xz |
testing/gnome-control-center: move from unmaintained
-rw-r--r-- | testing/gnome-control-center/APKBUILD | 68 | ||||
-rw-r--r-- | unmaintained/gnome-control-center/APKBUILD | 68 | ||||
-rw-r--r-- | unmaintained/gnome-control-center/migrate-set-color.patch | 11 | ||||
-rw-r--r-- | unmaintained/gnome-control-center/wayland.patch | 29 |
4 files changed, 68 insertions, 108 deletions
diff --git a/testing/gnome-control-center/APKBUILD b/testing/gnome-control-center/APKBUILD new file mode 100644 index 0000000000..acb37b1a37 --- /dev/null +++ b/testing/gnome-control-center/APKBUILD @@ -0,0 +1,68 @@ +# Contributor: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +pkgname=gnome-control-center +pkgver=3.32.1 +pkgrel=0 +pkgdesc="GNOME control center" +url="https://gitlab.gnome.org/GNOME/gnome-control-center" +# limited by gnome-online-accounts +arch="all !armhf !armv7 !s390x" +license="GPL-2.0-or-later" +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 + modemmanager-dev + krb5-dev + itstool + libxml2-utils + libxslt + docbook-xml + docbook-xsl + pulseaudio-dev + udisks2-dev + cups-dev + meson + libsecret-dev + gsound-dev + libgudev-dev + polkit-dev + libhandy-dev + py3-setuptools" +options="!check" # needs unpackaged py-dbusmock +subpackages="$pkgname-dev $pkgname-lang" +source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" + +build() { + meson \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + -Dcheese=false \ + -Dibus=false \ + . output + ninja -C output +} + +check() { + ninja -C output test +} + +package() { + DESTDIR="$pkgdir" ninja -C output install +} + +sha512sums="ef479c95b5d9eb287e252740821e561fb426905d31d975ac0ecae9bb4f03c1e409a43f3ccced484d697b486be64381bc50c51e10012f091f628035f6c31e8d65 gnome-control-center-3.32.1.tar.xz" diff --git a/unmaintained/gnome-control-center/APKBUILD b/unmaintained/gnome-control-center/APKBUILD deleted file mode 100644 index 51e30c0706..0000000000 --- a/unmaintained/gnome-control-center/APKBUILD +++ /dev/null @@ -1,68 +0,0 @@ -# Maintainer: -pkgname=gnome-control-center -pkgver=3.26.0 -pkgrel=3 -pkgdesc="GNOME control center" -url="https://www.gnome.org/" -# limited by gnome-online-accounts -arch="all !armhf !armv7 !s390x" -license="GPL" -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 - modemmanager-dev - - krb5-dev - - itstool - libxml2-utils - libxslt - - docbook-xml docbook-xsl - - $depends_dev" -subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" -source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz - migrate-set-color.patch - wayland.patch" -builddir="$srcdir/$pkgname-$pkgver" - -build() { - cd "$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --enable-static=no \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var \ - --disable-ibus - make -} - -check() { - cd "$builddir" - make check -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install -} - -sha512sums="c0656b072b1918e13447eaca13a1ea1b997c37faa30952d3ab48109077a570768d5fd57479817558ce6f34105903b763553900e3db61cef53f5c756cd86b395a gnome-control-center-3.26.0.tar.xz -b5dde4906d857d8d4bf1427fb236dc787c90638e485b6f5e5b4fd458eed0b908dc4b020401d1bd8ae7fd182be825222c561f3ca771d9e84aedf38766fd7a7b10 migrate-set-color.patch -3f17e2f00798e4d2a99a1d77c66ee5be29501417ea4b4c65387f24d8c27700c36e2f5fb2b476c3c0c88b18b497f48e7e2c09a4baadb6b532b7ecc112f504db48 wayland.patch" diff --git a/unmaintained/gnome-control-center/migrate-set-color.patch b/unmaintained/gnome-control-center/migrate-set-color.patch deleted file mode 100644 index 7788b0e9c9..0000000000 --- a/unmaintained/gnome-control-center/migrate-set-color.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/panels/background/cc-background-item.c -+++ b/panels/background/cc-background-item.c -@@ -172,7 +172,7 @@ - gdk_color_parse (item->priv->secondary_color, &scolor); - } - -- gnome_bg_set_color (item->priv->bg, item->priv->shading, &pcolor, &scolor); -+ gnome_bg_set_rgba (item->priv->bg, item->priv->shading, &pcolor, &scolor); - gnome_bg_set_placement (item->priv->bg, item->priv->placement); - } - diff --git a/unmaintained/gnome-control-center/wayland.patch b/unmaintained/gnome-control-center/wayland.patch deleted file mode 100644 index 19db51190b..0000000000 --- a/unmaintained/gnome-control-center/wayland.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- 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; - } |