2014-02-23 11:07:49 +00:00
|
|
|
# Template file for 'gwenhywfar'
|
|
|
|
pkgname=gwenhywfar
|
2015-05-26 07:59:12 +00:00
|
|
|
version=4.14.0
|
2015-05-26 08:05:03 +00:00
|
|
|
revision=2
|
2015-05-26 07:59:12 +00:00
|
|
|
_dnrel=01
|
2015-04-02 07:33:55 +00:00
|
|
|
hostmakedepends="automake pkg-config libgcrypt-devel libtool"
|
2014-02-23 13:06:19 +00:00
|
|
|
makedepends="libgcrypt-devel gnutls-devel gtk+-devel"
|
2014-02-23 11:07:49 +00:00
|
|
|
build_style="gnu-configure"
|
2015-04-02 07:10:43 +00:00
|
|
|
configure_args="--enable-visibility --disable-binreloc"
|
2015-05-26 08:05:03 +00:00
|
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
2014-02-23 11:07:49 +00:00
|
|
|
license="LGPL"
|
|
|
|
homepage="http://www.aquamaniac.de"
|
|
|
|
short_desc="OS abstraction functions for various projects"
|
2014-02-23 13:06:19 +00:00
|
|
|
distfiles="http://www2.aquamaniac.de/sites/download/download.php?package=01&release=${_dnrel}&file=01&dummy=gwenhywfar-$version.tar.gz"
|
2015-05-26 07:59:12 +00:00
|
|
|
checksum=7e0ec2f1cab7d22a5ae0066e0ef827d4affec59470b1bdbc42132b58a903dd03
|
2014-02-23 13:06:19 +00:00
|
|
|
|
|
|
|
pre_configure() {
|
2015-04-02 07:10:43 +00:00
|
|
|
autoreconf -fi
|
2014-02-23 13:06:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
2014-02-23 17:13:11 +00:00
|
|
|
makedepends+=" qt-devel"
|
2014-02-23 13:06:19 +00:00
|
|
|
gwenhywfar-qt_package() {
|
|
|
|
short_desc+=" - qt4 bindings"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/*-qt4*
|
|
|
|
}
|
|
|
|
}
|
2014-02-24 10:13:22 +00:00
|
|
|
else
|
2014-03-05 11:01:21 +00:00
|
|
|
configure_args+=" --with-guis=gtk2"
|
2014-02-23 13:06:19 +00:00
|
|
|
fi
|
2014-02-23 11:07:49 +00:00
|
|
|
|
|
|
|
gwenhywfar-gtk_package() {
|
|
|
|
short_desc+=" - gtk+2 bindings"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/*-gtk2*
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
gwenhywfar-devel_package() {
|
2014-02-23 17:13:11 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2014-02-23 11:07:49 +00:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-23 17:13:11 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2014-02-23 11:07:49 +00:00
|
|
|
}
|
|
|
|
}
|