void-packages/srcpkgs/poedit/template
2018-04-24 11:20:39 +02:00

26 lines
831 B
Bash

# Template file for 'poedit'
pkgname=poedit
version=2.0.7
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=8f98eb7a62bc20ecb46ac47d21350c7917e614f745114544b11e5b43b488b2ca
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
}