void-packages/srcpkgs/libdazzle/template

43 lines
1.2 KiB
Bash
Raw Normal View History

2018-03-20 07:04:16 +01:00
# Template file for 'libdazzle'
pkgname=libdazzle
2018-09-25 18:38:42 +02:00
version=3.30.1
revision=1
2018-06-19 09:53:44 +02:00
build_style=meson
2018-03-20 07:04:16 +01:00
configure_args="-Denable_gtk_doc=false -Dwith_vapi=$(vopt_if gir true false)
-Dwith_introspection=$(vopt_if gir true false)"
hostmakedepends="glib-devel pkg-config
$(vopt_if gir 'gobject-introspection vala')"
2018-09-05 14:10:23 +02:00
makedepends="gtk+3-devel libglib-devel"
2018-03-20 07:04:16 +01:00
short_desc="A library to delight your users with fancy features"
2018-09-05 14:10:23 +02:00
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
2018-03-20 07:04:16 +01:00
license="GPL-3.0-or-later"
homepage="https://wiki.gnome.org/Apps/Builder"
2018-09-05 14:10:23 +02:00
changelog="https://raw.githubusercontent.com/GNOME/libdazzle/libdazzle-3-30/NEWS"
2018-03-20 07:04:16 +01:00
distfiles="${GNOME_SITE}/libdazzle/${version%.*}/libdazzle-${version}.tar.xz"
2018-09-25 18:38:42 +02:00
checksum=dcc96520e76692aa442206c2bb5971fa28f1279290b7e520e4078ba603d41fb3
2018-03-20 07:04:16 +01:00
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default+=" gir"
fi
2018-09-05 14:10:23 +02:00
do_check() {
# Needs X
:
}
2018-03-20 07:04:16 +01:00
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
vmove usr/share/vala
fi
}
}