b9f1d362c2
[ci skip]
40 lines
1.4 KiB
Bash
40 lines
1.4 KiB
Bash
# Template file for 'PackageKit'
|
|
pkgname=PackageKit
|
|
version=1.2.2
|
|
revision=1
|
|
wrksrc="PackageKit-PACKAGEKIT_${version//./_}"
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Dgstreamer_plugin=false -Dgtk_module=false
|
|
-Dsystemd=false -Dgobject_introspection=$(vopt_if gir true false)
|
|
-Doffline_update=false -Dbash_command_not_found=false"
|
|
hostmakedepends="glib-devel gettext-devel $(vopt_if vala 'vala-devel')
|
|
libxslt-devel pkg-config which"
|
|
makedepends="bash-completion gettext-devel glib-devel polkit-devel sqlite-devel
|
|
$(vopt_if vala 'vala-devel') libxslt-devel"
|
|
short_desc="D-BUS abstraction layer to package management API"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/hughsie/PackageKit"
|
|
distfiles="https://github.com/hughsie/PackageKit/archive/PACKAGEKIT_${version//./_}.tar.gz"
|
|
checksum=e87e95ce7423f49eff6dad054c86ba6f922e52d0a757f822e0343da0f44d3dbb
|
|
conf_files="/etc/PackageKit/PackageKit.conf /etc/PackageKit/PackageKit.conf"
|
|
|
|
build_options="gir vala"
|
|
build_options_default="gir vala"
|
|
|
|
PackageKit-devel_package() {
|
|
depends="PackageKit-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
if [ "$build_option_vala" ]; then
|
|
vmove usr/share/vala
|
|
fi
|
|
}
|
|
}
|