poedit: switch to wxWidgets-gtk3

This commit is contained in:
newbluemoon 2018-09-12 07:35:53 +02:00 committed by Helmut Pozimski
parent 0824533ebe
commit f8358af96f

View file

@ -1,11 +1,12 @@
# Template file for 'poedit'
pkgname=poedit
version=2.1.1
revision=4
revision=5
build_style=gnu-configure
configure_args="--with-wx-config=wx-config-gtk3"
hostmakedepends="pkg-config"
makedepends="Lucene++-devel boost-devel cld2-devel db-devel gtkspell-devel
wxWidgets-devel"
makedepends="boost-devel cld2-devel db-devel enchant2-devel gtk+3-devel
gtkspell3-devel Lucene++-devel wxWidgets-gtk3-devel"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Cross-platform gettext catalogs (.po files) editor"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -14,13 +15,10 @@ homepage="https://www.poedit.net/"
distfiles="https://github.com/vslavik/poedit/releases/download/v${version}-oss/poedit-${version}.tar.gz"
checksum=6c4639b8e56b6cffd52afc33d9ddf51b6ce2c6ffdf4f4edff8bb3e4c1a343101
# XXX: remove once ICU rebuild is done
makedepends+=" harfbuzz-devel libxml2-devel webkitgtk-devel"
CPPFLAGS="-DUCHAR_TYPE=uint16_t"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" wxWidgets-devel"
hostmakedepends+=" wxWidgets-gtk3-devel"
configure_args+=" WXRC=/usr/bin/wxrc --with-boost-libdir=${XBPS_CROSS_BASE}/usr/lib"
fi