2010-04-13 22:15:23 +02:00
|
|
|
# Template file for 'gucharmap'
|
|
|
|
pkgname=gucharmap
|
2014-11-08 01:32:10 +01:00
|
|
|
version=3.14.2
|
2014-03-27 17:32:32 +01:00
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2014-11-30 12:31:05 +01: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 16:23:29 +02:00
|
|
|
makedepends="gtk+3-devel hicolor-icon-theme desktop-file-utils"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="hicolor-icon-theme desktop-file-utils"
|
2010-04-13 22:15:23 +02:00
|
|
|
short_desc="GNOME Unicode Charmap"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-09-30 15:46:56 +02:00
|
|
|
homepage="http://www.gnome.org"
|
|
|
|
license="GPL-2"
|
2013-09-26 16:23:29 +02:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
2014-11-08 01:32:10 +01:00
|
|
|
checksum=fdc3e1889c48c0835d349e2910000f62946ee9f2735d7f64d6a3ad5869c87872
|
2014-02-20 10:35:17 +01: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 15:11:12 +02:00
|
|
|
gucharmap-devel_package() {
|
2013-11-12 09:21:02 +01:00
|
|
|
depends="gtk+3-devel ${sourcepkg}>=${version}_${revision}"
|
2013-05-13 21:10:56 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 15:11:12 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-20 10:35:17 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-09-26 16:23:29 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 15:11:12 +02:00
|
|
|
}
|
|
|
|
}
|