[arch-commits] Commit in gnome-control-center/trunk (PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Wed Jan 12 19:00:31 UTC 2022


    Date: Wednesday, January 12, 2022 @ 19:00:30
  Author: heftig
Revision: 434315

41.2-2: fix build, move power-profiles-daemon to optdep

Modified:
  gnome-control-center/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-12 18:49:20 UTC (rev 434314)
+++ PKGBUILD	2022-01-12 19:00:30 UTC (rev 434315)
@@ -3,7 +3,7 @@
 
 pkgname=gnome-control-center
 pkgver=41.2
-pkgrel=1
+pkgrel=2
 pkgdesc="GNOME's main interface to configure various aspects of the desktop"
 url="https://gitlab.gnome.org/GNOME/gnome-control-center"
 license=(GPL2)
@@ -12,7 +12,7 @@
          gnome-online-accounts gnome-settings-daemon gsettings-desktop-schemas gtk3
          libgtop nm-connection-editor sound-theme-freedesktop upower libpwquality
          gnome-color-manager smbclient libmm-glib libgnomekbd libibus libcheese
-         libgudev bolt udisks2 libhandy gsound colord-gtk power-profiles-daemon)
+         libgudev bolt udisks2 libhandy gsound colord-gtk)
 makedepends=(docbook-xsl modemmanager git python meson)
 checkdepends=(python-dbusmock python-gobject xorg-server-xvfb)
 optdepends=('system-config-printer: Printer settings'
@@ -19,7 +19,8 @@
             'gnome-user-share: WebDAV file sharing'
             'gnome-remote-desktop: screen sharing'
             'rygel: media sharing'
-            'openssh: remote login')
+            'openssh: remote login'
+            'power-profiles-daemon: Power profiles support')
 groups=(gnome)
 _commit=babeb0ce357d55406b0ba0a4597e0513a0419de8  # tags/41.2^0
 source=("git+https://gitlab.gnome.org/GNOME/gnome-control-center.git#commit=$_commit"
@@ -35,10 +36,16 @@
 prepare() {
   cd $pkgname
 
+  # Fix build with Meson 0.61.0
+  git cherry-pick -n 37b29c32cbecfd89c9c5e0169e0f2876f00ef5eb
+
+  # https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1562
+  git cherry-pick -n 293e191e399123c91ef5d7b5c796ea0f42b8bd91
+
   # Install bare logos into pixmaps, not icons
   sed -i "/install_dir/s/'icons'/'pixmaps'/" panels/info-overview/meson.build
 
-  git submodule init
+  git submodule init subprojects/gvc
   git submodule set-url subprojects/gvc "$srcdir/libgnome-volume-control"
   git submodule update
 }



More information about the arch-commits mailing list