New package: libdazzle-3.28.0.

This commit is contained in:
maxice8 2018-03-20 03:04:16 -03:00 committed by Enno Boland
parent 602c5eb013
commit d7d5d92167
2 changed files with 37 additions and 0 deletions

1
srcpkgs/libdazzle-devel Symbolic link
View file

@ -0,0 +1 @@
libdazzle

View file

@ -0,0 +1,36 @@
# Template file for 'libdazzle'
pkgname=libdazzle
version=3.28.0
revision=1
configure_args="-Denable_gtk_doc=false -Dwith_vapi=$(vopt_if gir true false)
-Dwith_introspection=$(vopt_if gir true false)"
build_style=meson
hostmakedepends="pkg-config $(vopt_if gir 'gobject-introspection vala') glib-devel"
makedepends="gtk+3-devel"
short_desc="A library to delight your users with fancy features"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://wiki.gnome.org/Apps/Builder"
distfiles="${GNOME_SITE}/libdazzle/${version%.*}/libdazzle-${version}.tar.xz"
checksum=57aa6fe2ea534d9faa17fa105109ed5c38886d3812fe671d3ecc56fb4e3c037f
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default+=" gir"
fi
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
vmove usr/lib/girepository-1.0
fi
}
}