gwenhywfar: update to 4.20.0, enable and package gtk3 bindings

Closes #13477.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
Helmut Pozimski 2018-04-14 21:36:25 +02:00 committed by Enno Boland
parent f57e10047d
commit 076b08e94b
3 changed files with 17 additions and 7 deletions

View file

@ -1465,6 +1465,7 @@ libtre.so.5 tre-0.8.0_1
libktoblzcheck.so.1 ktoblzcheck-1.43_2
libgwenhywfar.so.60 gwenhywfar-4.10.0beta_1
libgwengui-gtk2.so.0 gwenhywfar-gtk-4.10.0beta_1
libgwengui-gtk3.so.0 gwenhywfar-gtk3-4.20.0_1
libgwengui-cpp.so.0 gwenhywfar-4.10.0beta_1
libgwengui-qt4.so.0 gwenhywfar-qt-4.15.3_2
libgwengui-qt5.so.0 gwenhywfar-qt5-4.15.3_3

1
srcpkgs/gwenhywfar-gtk3 Symbolic link
View file

@ -0,0 +1 @@
gwenhywfar

View file

@ -1,10 +1,11 @@
# Template file for 'gwenhywfar'
pkgname=gwenhywfar
version=4.18.0
revision=3
_dnrel=206
version=4.20.0
revision=1
_dnrel=208
hostmakedepends="automake pkg-config libgcrypt-devel libtool"
makedepends="libgcrypt-devel gnutls-devel gtk+-devel qt-devel qt5-devel"
makedepends="libgcrypt-devel gnutls-devel gtk+-devel qt-devel qt5-devel
gtk+3-devel"
build_style="gnu-configure"
configure_args="--enable-visibility --disable-binreloc
--with-qt4-includes=${XBPS_CROSS_BASE}/usr/include --with-qt4-libs=${XBPS_CROSS_BASE}/usr/lib
@ -15,8 +16,8 @@ maintainer="Enno Boland <gottox@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://www.aquamaniac.de"
short_desc="OS abstraction functions for various projects"
distfiles="http://www2.aquamaniac.de/sites/download/download.php?package=01&release=${_dnrel}&file=01&dummy=gwenhywfar-$version.tar.gz"
checksum=6915bba42d8b7f0213cee186a944296e5e5e97cdbde5b539a924261af03086ca
distfiles="http://www2.aquamaniac.de/sites/download/download.php?package=01&release=${_dnrel}&file=02&dummy=gwenhywfar-$version.tar.gz"
checksum=5a88daabba1388f9528590aab5de527a12dd44a7da4572ce48469a29911b0fb0
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt-host-tools qt-devel qt5-host-tools qt5-devel"
@ -24,7 +25,7 @@ fi
pre_configure() {
# Build all GUIs
sed -i configure.ac -e's;"qt4 gtk2";"qt4 qt5 gtk2";'
sed -i configure.ac -e's;"qt4 gtk2";"qt4 qt5 gtk2 gtk3";'
autoreconf -fi
}
@ -35,6 +36,13 @@ gwenhywfar-gtk_package() {
}
}
gwenhywfar-gtk3_package() {
short_desc+=" - gtk+3 bindings"
pkg_install() {
vmove usr/lib/*-gtk3*
}
}
gwenhywfar-qt_package() {
short_desc+=" - qt4 bindings"
pkg_install() {