29 lines
966 B
Bash
29 lines
966 B
Bash
# Template file for 'poedit'
|
|
pkgname=poedit
|
|
version=2.3.1
|
|
revision=2
|
|
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="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://www.poedit.net/"
|
|
distfiles="https://github.com/vslavik/poedit/releases/download/v${version}-oss/poedit-${version}.tar.gz"
|
|
checksum=a0315ca52a908b9ea0a6e438ea60ce1e92d98c1f477fed58d0b4e617e51afec4
|
|
|
|
CPPFLAGS="-DUCHAR_TYPE=uint16_t"
|
|
|
|
makedepends+=" libharfbuzz libxml2 webkit2gtk"
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" wxWidgets-common-devel"
|
|
configure_args+=" WXRC=/usr/bin/wxrc --with-boost-libdir=${XBPS_CROSS_BASE}/usr/lib"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|