d5a51bc1d2
Closes #23196
41 lines
1.5 KiB
Bash
41 lines
1.5 KiB
Bash
# Template file for 'udisks2'
|
|
pkgname=udisks2
|
|
version=2.9.0
|
|
revision=1
|
|
wrksrc="udisks-${version}"
|
|
build_style=gnu-configure
|
|
build_helper="gir"
|
|
configure_args="--disable-static --with-udevdir=/usr/lib/udev
|
|
--enable-lvm2 --enable-btrfs --enable-bcache --enable-vdo
|
|
--enable-lvmcache --enable-zram $(vopt_enable gir introspection)"
|
|
hostmakedepends="docbook-xsl gettext glib-devel libxslt pkg-config
|
|
$(vopt_if gir 'gobject-introspection') polkit"
|
|
makedepends="acl-devel libatasmart-devel libgudev-devel libparted-devel
|
|
polkit-devel sg3_utils-devel libblockdev-devel libbtrfs-devel elogind-devel"
|
|
short_desc="Disk Management Service, version 2"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://www.freedesktop.org/wiki/Software/udisks"
|
|
changelog="https://raw.githubusercontent.com/storaged-project/udisks/master/NEWS"
|
|
distfiles="https://github.com/storaged-project/udisks/releases/download/udisks-${version}/udisks-${version}.tar.bz2"
|
|
checksum=25b09265d71b9b97069e4a2fae10f696a851e0b812e69b20bcc4b23efee1ad34
|
|
make_dirs="/var/lib/udisks2 0750 root root"
|
|
conf_files="/etc/udisks2/udisks2.conf"
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
udisks2-devel_package() {
|
|
depends="libglib-devel ${sourcepkg}>=${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
|
|
vmove usr/share/gtk-doc
|
|
}
|
|
}
|