45 lines
1.3 KiB
Plaintext
45 lines
1.3 KiB
Plaintext
# Template file for 'gucharmap'
|
|
pkgname=gucharmap
|
|
version=3.12.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-schemas-compile"
|
|
hostmakedepends="which pkg-config intltool gnome-doc-utils itstool glib-devel desktop-file-utils"
|
|
makedepends="gtk+3-devel hicolor-icon-theme desktop-file-utils"
|
|
depends="hicolor-icon-theme desktop-file-utils"
|
|
short_desc="GNOME Unicode Charmap"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://www.gnome.org"
|
|
license="GPL-2"
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=902f02e741d7eebf919e8c6bb8936f7eafe88b4c556874c9121346c40dc55c0f
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
desc_option_gir="Enable support for building gobject introspection data"
|
|
|
|
# Disable gir for cross builds.
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
configure_args+=" --enable-introspection"
|
|
makedepends+=" gobject-introspection"
|
|
else
|
|
configure_args+=" --disable-introspection"
|
|
fi
|
|
|
|
gucharmap-devel_package() {
|
|
depends="gtk+3-devel ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|