30 lines
1.1 KiB
Bash
30 lines
1.1 KiB
Bash
# Template file for 'poedit'
|
|
pkgname=poedit
|
|
version=3.4.4
|
|
revision=1
|
|
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 pugixml-devel"
|
|
depends="desktop-file-utils hicolor-icon-theme"
|
|
short_desc="Cross-platform gettext catalogs (.po files) editor"
|
|
maintainer="Eloi Torrents <eloitor@disroot.org>"
|
|
license="MIT"
|
|
homepage="https://www.poedit.net/"
|
|
changelog="https://raw.githubusercontent.com/vslavik/poedit/master/NEWS"
|
|
distfiles="https://github.com/vslavik/poedit/releases/download/v${version}-oss/poedit-${version}.tar.gz"
|
|
checksum=29cda1611e01af491e0c770a87cd6d24c5ccfe8737dfbc0f2f23847ba0d821ed
|
|
|
|
CPPFLAGS="-DUCHAR_TYPE=uint16_t -Wno-deprecated-copy"
|
|
CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
|
|
|
|
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
|
|
}
|