void-packages/srcpkgs/libwnck/template
Sir_Boops c73cb2f3ce libwnck: update to 3.24.0
Closes: #6918 [via git-merge-pr]
2017-07-02 23:04:02 -07:00

33 lines
1,006 B
Bash

# Template build file for 'libwnck'.
pkgname=libwnck
version=3.24.0
revision=1
build_style=gnu-configure
build_options="gir"
configure_args="$(vopt_enable gir introspection)"
hostmakedepends="gdk-pixbuf-devel pkg-config intltool $(vopt_if gir gobject-introspection)"
makedepends="startup-notification-devel gtk+3-devel libXres-devel"
short_desc="Library for layout and rendering of text"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnome.org/"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=424cf0c5438b25d282fe38cd876eafc8ec2312a31900576abad322a656eeb863
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
libwnck-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
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
fi
}
}