libxfce4ui: generate vala bindings
This commit is contained in:
parent
e965299cd4
commit
78fd9746f0
2 changed files with 19 additions and 6 deletions
8
srcpkgs/libxfce4ui/patches/vapi-deps.patch
Normal file
8
srcpkgs/libxfce4ui/patches/vapi-deps.patch
Normal file
|
@ -0,0 +1,8 @@
|
|||
--- a/libxfce4ui/libxfce4ui-2.deps
|
||||
+++ b/libxfce4ui/libxfce4ui-2.deps
|
||||
@@ -1,4 +1,4 @@
|
||||
-libxfce4util-1.0
|
||||
+Libxfce4util-1.0
|
||||
atk
|
||||
gio-2.0
|
||||
cairo
|
|
@ -1,13 +1,15 @@
|
|||
# Template file for 'libxfce4ui'
|
||||
pkgname=libxfce4ui
|
||||
version=4.16.1
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
build_helper="gir"
|
||||
configure_args="--with-locales-dir=/usr/share/locale --disable-static"
|
||||
configure_args="--with-locales-dir=/usr/share/locale --disable-static
|
||||
$(vopt_enable gir introspection) $(vopt_enable vala vala)"
|
||||
conf_files="/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml"
|
||||
hostmakedepends="xfce4-dev-tools pkg-config intltool glib-devel gettext-devel"
|
||||
makedepends="gtk+-devel gtk+3-devel glade3-devel libxfce4util-devel xfconf-devel
|
||||
hostmakedepends="xfce4-dev-tools pkg-config intltool glib-devel gettext-devel
|
||||
$(vopt_if vala vala)"
|
||||
makedepends="gtk+3-devel glade3-devel libxfce4util-devel xfconf-devel
|
||||
libxml2-devel startup-notification-devel libSM-devel libgtop-devel"
|
||||
short_desc="Replacement of the old libxfcegui4 library"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
|
@ -17,8 +19,8 @@ distfiles="https://archive.xfce.org/src/xfce/${pkgname}/${version%.*}/${pkgname}
|
|||
checksum=d96946ae5af6bf078dda415419e0021909f763ee0020b42f3e26f603e51585f6
|
||||
|
||||
# Package build options
|
||||
build_options="gir"
|
||||
build_options_default="gir"
|
||||
build_options="gir vala"
|
||||
build_options_default="gir vala"
|
||||
|
||||
libxfce4ui-devel_package() {
|
||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||
|
@ -31,6 +33,9 @@ libxfce4ui-devel_package() {
|
|||
if [ "$build_option_gir" ]; then
|
||||
vmove usr/share/gir-1.0
|
||||
fi
|
||||
if [ "$build_option_vala" ]; then
|
||||
vmove usr/share/vala
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue