void-packages/srcpkgs/libwnck/template

34 lines
986 B
Text
Raw Normal View History

# Template build file for 'libwnck'.
pkgname=libwnck
2015-01-13 12:17:54 +00:00
version=3.14.0
2013-08-07 08:17:47 +00:00
revision=1
build_style=gnu-configure
2015-01-13 12:17:54 +00:00
build_options="gir"
configure_args="$(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool $(vopt_if gir gobject-introspection)"
2013-03-28 14:37:03 +00:00
makedepends="startup-notification-devel gtk+3-devel libXres-devel"
short_desc="Library for layout and rendering of text"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-10-16 16:51:27 +00:00
homepage="http://www.gnome.org/"
license="LGPL-2.1"
2015-01-13 12:17:54 +00:00
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=f5080076346609b4c36394b879f3a86b92ced3b90a37cb54c8e9a14f00e7921c
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
libwnck-devel_package() {
2015-01-13 12:17:54 +00:00
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
2013-08-07 08:17:47 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-08-07 08:17:47 +00:00
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
2015-01-13 12:17:54 +00:00
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}