afa3a57ea4
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
# Template file for 'libdazzle'
|
|
pkgname=libdazzle
|
|
version=3.34.1
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Denable_gtk_doc=false -Dwith_vapi=$(vopt_if vala true false)
|
|
-Dwith_introspection=$(vopt_if gir true false)"
|
|
hostmakedepends="glib-devel pkg-config $(vopt_if vala 'vala')"
|
|
makedepends="gtk+3-devel libglib-devel"
|
|
short_desc="Library to delight your users with fancy features"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://gitlab.gnome.org/GNOME/libdazzle"
|
|
changelog="https://raw.githubusercontent.com/GNOME/libdazzle/libdazzle-3-32/NEWS"
|
|
distfiles="${GNOME_SITE}/libdazzle/${version%.*}/libdazzle-${version}.tar.xz"
|
|
checksum=3d981cbb9d9bb87bfaff7bfd44d9847223b3ef81e69225e4d1f6ac725a669505
|
|
|
|
build_options="gir vala"
|
|
build_options_default="gir vala"
|
|
|
|
libdazzle-devel_package() {
|
|
depends="${sourcepkg}-${version}_${revision} gtk+3-devel"
|
|
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
|
|
if [ "$build_option_vala" ]; then
|
|
vmove usr/share/vala
|
|
fi
|
|
}
|
|
}
|
|
|