2010-04-13 20:15:23 +00:00
|
|
|
# Template file for 'gucharmap'
|
|
|
|
pkgname=gucharmap
|
2015-11-22 23:52:11 +00:00
|
|
|
version=3.18.2
|
2014-03-27 16:32:32 +00:00
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2014-11-30 11:31:05 +00:00
|
|
|
configure_args="--disable-schemas-compile $(vopt_enable gir introspection)"
|
|
|
|
hostmakedepends="pkg-config intltool gnome-doc-utils itstool glib-devel
|
|
|
|
desktop-file-utils appdata-tools $(vopt_if gir gobject-introspection)"
|
2013-09-26 14:23:29 +00:00
|
|
|
makedepends="gtk+3-devel hicolor-icon-theme desktop-file-utils"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="hicolor-icon-theme desktop-file-utils"
|
2010-04-13 20:15:23 +00:00
|
|
|
short_desc="GNOME Unicode Charmap"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2011-09-30 13:46:56 +00:00
|
|
|
homepage="http://www.gnome.org"
|
|
|
|
license="GPL-2"
|
2013-09-26 14:23:29 +00:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
2015-11-22 23:52:11 +00:00
|
|
|
checksum=80141d3e892c3c4812c1a8fad8f89978559ef19e933843267e6e9a5524c09ec9
|
2014-02-20 09:35:17 +00:00
|
|
|
|
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
2013-04-12 13:11:12 +00:00
|
|
|
gucharmap-devel_package() {
|
2013-11-12 08:21:02 +00:00
|
|
|
depends="gtk+3-devel ${sourcepkg}>=${version}_${revision}"
|
2013-05-13 19:10:56 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 13:11:12 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-20 09:35:17 +00:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-09-26 14:23:29 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 13:11:12 +00:00
|
|
|
}
|
|
|
|
}
|