amtk: enable gir
This commit is contained in:
parent
130bfbcc44
commit
942e0b9267
1 changed files with 10 additions and 6 deletions
|
@ -1,10 +1,11 @@
|
||||||
# Template file for 'amtk'
|
# Template file for 'amtk'
|
||||||
pkgname=amtk
|
pkgname=amtk
|
||||||
version=5.0.0
|
version=5.0.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
build_helper="gir"
|
||||||
configure_args="$(vopt_enable gir introspection)"
|
configure_args="$(vopt_enable gir introspection)"
|
||||||
hostmakedepends="pkg-config glib-devel $(vopt_if gir gobject-introspection)"
|
hostmakedepends="pkg-config glib-devel"
|
||||||
makedepends="gtk+3-devel libglib-devel"
|
makedepends="gtk+3-devel libglib-devel"
|
||||||
short_desc="Actions, Menus and Toolbars Kit for GTK+ applications"
|
short_desc="Actions, Menus and Toolbars Kit for GTK+ applications"
|
||||||
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||||
|
@ -14,12 +15,15 @@ distfiles="${GNOME_SITE}/amtk/${version%.*}/amtk-${version}.tar.xz"
|
||||||
checksum=12a996978a30b7b69a810ac0c5656d5cf2f58d9787b98a0c028ff1b64e8f31ff
|
checksum=12a996978a30b7b69a810ac0c5656d5cf2f58d9787b98a0c028ff1b64e8f31ff
|
||||||
|
|
||||||
build_options="gir"
|
build_options="gir"
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
|
||||||
build_options_default="gir"
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
fi
|
x86_64-musl) build_options_default+=" gir" ;;
|
||||||
|
*-musl) ;;
|
||||||
|
*) build_options_default+=" gir" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
amtk-devel_package() {
|
amtk-devel_package() {
|
||||||
depends="amtk-${version}_${revision}"
|
depends="amtk-${version}_${revision} gtk+3-devel libglib-devel"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue