void-packages/srcpkgs/poedit/template
2018-07-24 17:51:58 +02:00

26 lines
828 B
Bash

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