void-packages/srcpkgs/poedit/template
2018-10-26 11:52:25 +02:00

27 lines
913 B
Bash

# Template file for 'poedit'
pkgname=poedit
version=2.2
revision=3
build_style=gnu-configure
configure_args="--with-wx-config=wx-config-gtk3"
hostmakedepends="pkg-config"
makedepends="boost-devel cld2-devel db-devel enchant2-devel gtk+3-devel
gtkspell3-devel Lucene++-devel wxWidgets-gtk3-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=bc7048c12cba092a36cf4d960e7ad37eb321e4634b92597a333fc0786821a7eb
CPPFLAGS="-DUCHAR_TYPE=uint16_t"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" wxWidgets-gtk3-devel"
configure_args+=" WXRC=/usr/bin/wxrc --with-boost-libdir=${XBPS_CROSS_BASE}/usr/lib"
fi
post_install() {
vlicense COPYING
}