49 lines
1.5 KiB
Bash
49 lines
1.5 KiB
Bash
# Template file for 'libxfce4ui'
|
|
pkgname=libxfce4ui
|
|
version=4.18.6
|
|
revision=1
|
|
build_style=gnu-configure
|
|
build_helper="gir"
|
|
configure_args="--with-locales-dir=/usr/share/locale --disable-static
|
|
--enable-tests
|
|
$(vopt_enable gir introspection) $(vopt_enable gir vala)"
|
|
conf_files="/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml"
|
|
hostmakedepends="pkg-config intltool glib-devel gettext-devel
|
|
$(vopt_if gir 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="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
|
license="LGPL-2.0-or-later"
|
|
homepage="https://xfce.org/"
|
|
distfiles="https://archive.xfce.org/src/xfce/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
|
|
checksum=77dd99206cc8c6c7f69c269c83c7ee6a037bca9d4a89b1a6d9765e5a09ce30cd
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
libxfce4ui-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}
|
|
gtk+3-devel libxfce4util-devel xfconf-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/gtk-doc
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
vmove usr/share/vala
|
|
fi
|
|
}
|
|
}
|
|
|
|
libxfce4ui-glade_package() {
|
|
short_desc+=" - glade plugins"
|
|
pkg_install() {
|
|
vmove usr/lib/glade
|
|
vmove usr/share/glade
|
|
}
|
|
}
|