[arch-commits] Commit in packagekit/trunk (3 files)

Christian Hesse eworm at archlinux.org
Fri May 21 09:42:10 UTC 2021


    Date: Friday, May 21, 2021 @ 09:42:09
  Author: eworm
Revision: 940534

update WIP PKGBUILD for packagekit 1.2.3

Added:
  packagekit/trunk/PKGBUILD-1-2-x
Deleted:
  packagekit/trunk/0001-alpm-fix-paths-for-configuration-files.patch
  packagekit/trunk/PKGBUILD-1-2-0

---------------------------------------------------+
 0001-alpm-fix-paths-for-configuration-files.patch |   25 -------
 PKGBUILD-1-2-0                                    |   70 --------------------
 PKGBUILD-1-2-x                                    |   62 +++++++++++++++++
 3 files changed, 62 insertions(+), 95 deletions(-)

Deleted: 0001-alpm-fix-paths-for-configuration-files.patch
===================================================================
--- 0001-alpm-fix-paths-for-configuration-files.patch	2021-05-21 09:41:49 UTC (rev 940533)
+++ 0001-alpm-fix-paths-for-configuration-files.patch	2021-05-21 09:42:09 UTC (rev 940534)
@@ -1,25 +0,0 @@
-From 1d3f14b722017808ced3c940c16048d0ac631305 Mon Sep 17 00:00:00 2001
-From: Christian Hesse <mail at eworm.de>
-Date: Wed, 6 May 2020 08:57:00 +0200
-Subject: [PATCH 1/1] alpm: fix paths for configuration files
----
- backends/alpm/meson.build | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/backends/alpm/meson.build b/backends/alpm/meson.build
-index 179b02fe6..db03c898d 100644
---- a/backends/alpm/meson.build
-+++ b/backends/alpm/meson.build
-@@ -33,9 +33,9 @@ shared_module(
-   c_args: [
-     '-DPK_LOG_PREFIX="PACKAGEKIT"',
-     '-DG_LOG_DOMAIN="PackageKit-alpm"',
--    '-DPK_BACKEND_CONFIG_FILE="@0@"'.format(join_paths(get_option('sysconfdir'), 'pacman.conf')),
--    '-DPK_BACKEND_GROUP_FILE="@0@"'.format(join_paths(get_option('sysconfdir'), 'groups.list')),
--    '-DPK_BACKEND_REPO_FILE="@0@"'.format(join_paths(get_option('sysconfdir'), 'repos.list')),
-+    '-DPK_BACKEND_CONFIG_FILE="@0@"'.format(join_paths(get_option('sysconfdir'), 'PackageKit', 'alpm.d', 'pacman.conf')),
-+    '-DPK_BACKEND_GROUP_FILE="@0@"'.format(join_paths(get_option('sysconfdir'), 'PackageKit', 'alpm.d', 'groups.list')),
-+    '-DPK_BACKEND_REPO_FILE="@0@"'.format(join_paths(get_option('sysconfdir'), 'PackageKit', 'alpm.d', 'repos.list')),
-     '-DPK_BACKEND_DEFAULT_PATH="/bin:/usr/bin:/sbin:/usr/sbin"',
-   ],
-   install: true,

Deleted: PKGBUILD-1-2-0
===================================================================
--- PKGBUILD-1-2-0	2021-05-21 09:41:49 UTC (rev 940533)
+++ PKGBUILD-1-2-0	2021-05-21 09:42:09 UTC (rev 940534)
@@ -1,70 +0,0 @@
-# Maintainer: Christian Hesse <mail at eworm.de>
-# Contributor: Jonathan Conder <jonno.conder at gmail.com>
-
-pkgbase='packagekit'
-pkgname=('packagekit' 'libpackagekit-glib')
-pkgver=1.2.0
-pkgrel=1
-pkgdesc='A system designed to make installation and updates of packages easier'
-arch=('x86_64')
-url='https://www.freedesktop.org/software/PackageKit/'
-license=('GPL')
-makedepends=('polkit' 'sqlite' 'gobject-introspection' 'intltool'
-             'bash-completion' 'vala' 'meson')
-options=('!emptydirs')
-validpgpkeys=('163EB50119225DB3DF8F49EA17ACBA8DFA970E17'	# Richard Hughes <richard at hughsie.com>
-              'EC60AABDF42AAE8FB062640480858FA38F62AF74')	# Kalev Lember <klember at redhat.com>
-source=("https://www.freedesktop.org/software/PackageKit/releases/PackageKit-${pkgver}.tar.xz"{,.asc}
-        '0001-alpm-fix-paths-for-configuration-files.patch')
-sha256sums=('9434c3ff2e2f2800ddc95c506e879651b035ea2775ed1e795455e8668bf5020c'
-            'SKIP'
-            '7c661788c69fb93efe6f4b62dc638ed6fea88d1948c4596179b7ae4cb81f1383')
-
-prepare() {
-	cd "PackageKit-$pkgver"
-
-	patch -Np1 < ../0001-alpm-fix-paths-for-configuration-files.patch
-}
-
-build() {
-	local _meson_options=(
-		-Dcron=false
-		-Ddbus_sys=/usr/share/dbus-1/system.d
-		-Dgstreamer_plugin=false
-		-Dgtk_doc=false
-		-Dgtk_module=false
-		-Dpackaging_backend=alpm
-		-Dsystemd=true
-	)
-
-	arch-meson "PackageKit-$pkgver" build "${_meson_options[@]}"
-
-	ninja -C build
-}
-
-package_packagekit() {
-	depends=('libpackagekit-glib' 'pacman>=5.2.0' 'polkit' 'sqlite')
-	optdepends=('bash-completion: command completion in bash')
-	backup=('var/lib/PackageKit/transactions.db'
-		'etc/PackageKit/alpm.d/pacman.conf'
-		'etc/PackageKit/alpm.d/repos.list')
-
-	# install directory with root owner, polkit group and
-	# correct permission
-	install -d -o root -g 102 -m 750 "${pkgdir}/usr/share/polkit-1/rules.d"
-
-	DESTDIR="$pkgdir" meson install -C build
-
-	# move away for libpackagekit-glib
-	mkdir -p libpackagekit/usr/{lib,share}
-	mv "$pkgdir"/usr/include/ libpackagekit/usr/
-	mv "$pkgdir"/usr/lib/{girepository-1.0,libpackagekit-glib2.so*,pkgconfig} libpackagekit/usr/lib/
-	mv "$pkgdir"/usr/share/{gir-1.0,vala}/ libpackagekit/usr/share/
-}
-
-package_libpackagekit-glib() {
-	pkgdesc='GLib library for accessing PackageKit'
-	depends=('glib2')
-
-	mv libpackagekit/usr/ "$pkgdir"/
-}

Added: PKGBUILD-1-2-x
===================================================================
--- PKGBUILD-1-2-x	                        (rev 0)
+++ PKGBUILD-1-2-x	2021-05-21 09:42:09 UTC (rev 940534)
@@ -0,0 +1,62 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Jonathan Conder <jonno.conder at gmail.com>
+
+pkgbase='packagekit'
+pkgname=('packagekit' 'libpackagekit-glib')
+pkgver=1.2.3
+pkgrel=1
+pkgdesc='A system designed to make installation and updates of packages easier'
+arch=('x86_64')
+url='https://www.freedesktop.org/software/PackageKit/'
+license=('GPL')
+makedepends=('polkit' 'sqlite' 'gobject-introspection' 'intltool'
+             'bash-completion' 'vala' 'meson')
+options=('!emptydirs')
+validpgpkeys=('163EB50119225DB3DF8F49EA17ACBA8DFA970E17'	# Richard Hughes <richard at hughsie.com>
+              'EC60AABDF42AAE8FB062640480858FA38F62AF74')	# Kalev Lember <klember at redhat.com>
+source=("https://www.freedesktop.org/software/PackageKit/releases/PackageKit-${pkgver}.tar.xz"{,.asc})
+sha256sums=('d3bef282f8b45963618adb69ed5199f23640b00b98ead66291ae30cff8068e4a'
+            'SKIP')
+
+build() {
+	local _meson_options=(
+		-Dcron=false
+		-Ddbus_sys=/usr/share/dbus-1/system.d
+		-Dgstreamer_plugin=false
+		-Dgtk_doc=false
+		-Dgtk_module=false
+		-Dpackaging_backend=alpm
+		-Dsystemd=true
+	)
+
+	arch-meson "PackageKit-$pkgver" build "${_meson_options[@]}"
+
+	ninja -C build
+}
+
+package_packagekit() {
+	depends=('libpackagekit-glib' 'pacman>=5.2.0' 'polkit' 'sqlite')
+	optdepends=('bash-completion: command completion in bash')
+	backup=('var/lib/PackageKit/transactions.db'
+		'etc/PackageKit/alpm.d/pacman.conf'
+		'etc/PackageKit/alpm.d/repos.list')
+
+	# install directory with root owner, polkit group and
+	# correct permission
+	install -d -o root -g 102 -m 750 "${pkgdir}/usr/share/polkit-1/rules.d"
+
+	DESTDIR="$pkgdir" meson install -C build
+
+	# move away for libpackagekit-glib
+	mkdir -p libpackagekit/usr/{lib,share}
+	mv "$pkgdir"/usr/include/ libpackagekit/usr/
+	mv "$pkgdir"/usr/lib/{girepository-1.0,libpackagekit-glib2.so*,pkgconfig} libpackagekit/usr/lib/
+	mv "$pkgdir"/usr/share/{gir-1.0,vala}/ libpackagekit/usr/share/
+}
+
+package_libpackagekit-glib() {
+	pkgdesc='GLib library for accessing PackageKit'
+	depends=('glib2')
+
+	mv libpackagekit/usr/ "$pkgdir"/
+}



More information about the arch-commits mailing list