void-packages/srcpkgs/poedit/template

27 lines
828 B
Bash

# Template file for 'poedit'
pkgname=poedit
version=2.0.9
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=305a97a6a038af0b6b953e6002b100be3d00f499211de4bcb59f32582874d9c0
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
}