33 lines
1.0 KiB
Bash
33 lines
1.0 KiB
Bash
# Template file for 'poedit'
|
|
pkgname=poedit
|
|
version=3.2.2
|
|
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 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/"
|
|
distfiles="https://github.com/vslavik/poedit/releases/download/v${version}-oss/poedit-${version}.tar.gz"
|
|
checksum=d87c1a80a885fd348a6d031bdc7daaa0aa5bc59922db564bef9c6dc49243cdde
|
|
|
|
CPPFLAGS="-DUCHAR_TYPE=uint16_t -Wno-deprecated-copy"
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" wxWidgets-common-devel"
|
|
configure_args+=" WXRC=/usr/bin/wxrc --with-boost-libdir=${XBPS_CROSS_BASE}/usr/lib"
|
|
fi
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
makedepends+=" libatomic-devel"
|
|
CXXFLAGS+=" -latomic "
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|