[arch-commits] Commit in cinnamon-settings-daemon/trunk (PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Fri Nov 27 04:16:18 UTC 2020


    Date: Friday, November 27, 2020 @ 04:16:17
  Author: eschwartz
Revision: 763960

upgpkg: cinnamon-settings-daemon 4.8.1-1: upstream release

Modified:
  cinnamon-settings-daemon/trunk/PKGBUILD

----------+
 PKGBUILD |   37 +++++++++++++------------------------
 1 file changed, 13 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-27 04:10:43 UTC (rev 763959)
+++ PKGBUILD	2020-11-27 04:16:17 UTC (rev 763960)
@@ -3,7 +3,7 @@
 # Contributor: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
 
 pkgname=cinnamon-settings-daemon
-pkgver=4.6.4
+pkgver=4.8.1
 pkgrel=1
 pkgdesc="The Cinnamon Settings daemon"
 arch=('x86_64')
@@ -13,37 +13,26 @@
          'libgnomekbd' 'libgudev' 'libnotify' 'librsvg' 'libwacom' 'nss' 'polkit'
          'pulseaudio-alsa' 'upower')
 optdepends=('cinnamon-translations: i18n')
-makedepends=('autoconf-archive' 'intltool' 'python' 'xf86-input-wacom')
+makedepends=('meson' 'samurai' 'xf86-input-wacom')
 options=('!emptydirs')
 source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha512sums=('77ddb637fd93fdfd59fb27c5a10082259fd99b4753ff36b3473db12f2fe0d19ee89d44c9e72f1ce9eab3f228c5fef418ce774dd78746d77b959ad9d8f93c1208')
-b2sums=('80e14d29a74004c1778e90d39c6ca892d3eee778134e43b8ea77cfec8cbad4f5ac21609cfbb9cdaab0b4d35b42e897223a5b9cdfd43de49d8112b8bc6fc45914')
+sha512sums=('0b3f8764385f8c51fdc2144be92e7394bd8061979942dc370ae5a01abb8a0b309bbbf9b9399586acd4fb5840b4f6c8dd7b6ddb6947ecdaf9bdfaeb7ff4f86292')
+b2sums=('53ac03644bdf766eb8cd8721490330e0672d95a7bfb58d02196a28a7706f4667c469d2a5d2ceee95444cf693a0706fada05efc0823b992779fd37bd374f8c110')
 
-prepare() {
-    cd "${srcdir}"/${pkgname}-${pkgver}
-
-    autoreconf -fi
-}
-
 build() {
-    cd "${srcdir}"/${pkgname}-${pkgver}
+    mkdir -p "${srcdir}"/${pkgname}-${pkgver}/builddir
+    cd "${srcdir}"/${pkgname}-${pkgver}/builddir
 
-    ./configure --prefix=/usr \
-                --sysconfdir=/etc \
-                --localstatedir=/var \
-                --libexecdir="/usr/lib/${pkgname}" \
-                --with-dbus-sys="/usr/share/dbus-1/system.d" \
-                --enable-systemd \
-                --enable-polkit
+    meson --prefix=/usr \
+          --libexecdir="/usr/lib/${pkgname}" \
+          -Dinstall_binfiles=false \
+          ..
 
-    #https://bugzilla.gnome.org/show_bug.cgi?id=656231
-    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
-    make
+    samu
 }
 
 package() {
-    cd "${srcdir}"/${pkgname}-${pkgver}
+    cd "${srcdir}"/${pkgname}-${pkgver}/builddir
 
-    make DESTDIR="$pkgdir" install
+     DESTDIR="${pkgdir}" samu install
 }



More information about the arch-commits mailing list