27 lines
840 B
Bash
27 lines
840 B
Bash
# Template file for 'poedit'
|
|
pkgname=poedit
|
|
version=2.0.5
|
|
revision=2
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="icu-devel db-devel gtkspell-devel wxWidgets-devel boost-devel
|
|
Lucene++-devel cld2-devel"
|
|
depends="hicolor-icon-theme desktop-file-utils"
|
|
short_desc="Cross-platform gettext catalogs (.po files) editor"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="MIT"
|
|
homepage="http://www.poedit.net/"
|
|
distfiles="https://github.com/vslavik/poedit/releases/download/v${version}-oss/poedit-${version}.tar.gz"
|
|
checksum=c755959555b26e584d953a97ee39ed7d060323d003740ed9309eee7a2e205faa
|
|
|
|
CPPFLAGS="-DUCHAR_TYPE=uint16_t"
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" wxWidgets-devel"
|
|
configure_args+=" WXRC=/usr/bin/wxrc --with-boost-libdir=${XBPS_CROSS_BASE}/usr/lib"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|