name : packagekit version : 1.3.0 release : 33 source : - git|https://github.com/getsolus/PackageKit.git : e33f35b2209cc8de99e48c1db48891f5d94a08d8 license : GPL-2.0-or-later component : programming.library homepage : https://www.freedesktop.org/software/PackageKit/ summary : A D-BUS abstraction layer that allows the user to manage packages in a secure way using a cross-distro, cross-architecture API. (NOT SUPPORTED) description: | This package is experimental and not supported! Help will not currently be provided. PackageKit is a DBUS abstraction layer that allows the session user to manage packages in a secure way using a cross-distro, cross-architecture API. builddeps : - pkgconfig(appstream) - pkgconfig(appstream-glib) - pkgconfig(bash-completion) - pkgconfig(gio-2.0) - pkgconfig(gmodule-2.0) - pkgconfig(gstreamer-plugins-base-1.0) - pkgconfig(gtk+-3.0) - pkgconfig(libsystemd) - pkgconfig(polkit-gobject-1) - pkgconfig(python3) - pkgconfig(sqlite3) - docbook-xml - vala setup : | %patch -p1 -i $pkgfiles/0001-policy-Change-group-to-sudo-and-allow-package-remove.patch %patch -p1 -i $pkgfiles/0001-backends-eopkg-Use-python2.patch # https://github.com/getsolus/PackageKit/issues/14 %patch -p1 -i $pkgfiles/0657e0ab3d2f3a69534efd2b460ea9819325e914.patch %meson_configure \ -Dpackaging_backend=eopkg \ -Dpythonpackagedir=/usr/lib/python%python3_version%/site-packages/ \ -Dbash_command_not_found=false build : | %ninja_build install : | %ninja_install # Reproducibility /var/lib/PackageKit/transactions.db rm -rv $installdir/var/ # temporary python 2 + 3 interoperablity install -D -d $installdir/usr/lib/python2.7/site-packages ln -sv /usr/lib/python%python3_version%/site-packages/packagekit $installdir/usr/lib/python2.7/site-packages/