mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 19:32:57 +02:00
libgudev: enable gir
This commit is contained in:
parent
2b9fe53c53
commit
4985e7e3cd
1 changed files with 13 additions and 9 deletions
|
@ -1,22 +1,26 @@
|
|||
# Template file for 'libgudev'
|
||||
pkgname=libgudev
|
||||
version=232
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
build_helper="gir"
|
||||
configure_args="$(vopt_enable gir introspection) --disable-umockdev"
|
||||
hostmakedepends="pkg-config glib-devel $(vopt_if gir gobject-introspection)"
|
||||
hostmakedepends="pkg-config glib-devel"
|
||||
makedepends="libglib-devel eudev-libudev-devel"
|
||||
short_desc="A library providing GObject bindings for libudev"
|
||||
short_desc="Library providing GObject bindings for libudev"
|
||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
license="LGPL-2.1"
|
||||
license="LGPL-2.1-or-later"
|
||||
homepage="http://wiki.gnome.org/Projects/libgudev"
|
||||
distfiles="${GNOME_SITE}/$pkgname/$version/$pkgname-$version.tar.xz"
|
||||
distfiles="${GNOME_SITE}/${pkgname}/${version}/${pkgname}-${version}.tar.xz"
|
||||
checksum=ee4cb2b9c573cdf354f6ed744f01b111d4b5bed3503ffa956cefff50489c7860
|
||||
|
||||
build_options="gir"
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default="gir"
|
||||
fi
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64-musl) build_options_default+=" gir" ;;
|
||||
*-musl) ;;
|
||||
*) build_options_default+=" gir" ;;
|
||||
esac
|
||||
|
||||
replaces="eudev-libgudev>=0"
|
||||
|
||||
|
@ -26,8 +30,8 @@ libgudev-devel_package() {
|
|||
replaces="eudev-libgudev-devel>=0"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/lib/*.so
|
||||
if [ "$build_option_gir" ]; then
|
||||
vmove usr/share/gir-1.0
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue