cb3500d01d
Closes #14936. Signed-off-by: Enno Boland <gottox@voidlinux.eu>
26 lines
828 B
Bash
26 lines
828 B
Bash
# Template file for 'poedit'
|
|
pkgname=poedit
|
|
version=2.0.8
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="Lucene++-devel boost-devel cld2-devel db-devel gtkspell-devel
|
|
wxWidgets-devel"
|
|
depends="desktop-file-utils hicolor-icon-theme"
|
|
short_desc="Cross-platform gettext catalogs (.po files) editor"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="MIT"
|
|
homepage="https://www.poedit.net/"
|
|
distfiles="https://github.com/vslavik/poedit/releases/download/v${version}-oss/poedit-${version}.tar.gz"
|
|
checksum=01a12bc28477922e77995350e1f3677701bfbc848af9efcfbd35fbd37c7501c2
|
|
|
|
CPPFLAGS="-DUCHAR_TYPE=uint16_t"
|
|
|
|
if [ "$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
|
|
}
|