2018-01-12 20:18:19 +01:00
|
|
|
|
# Tanım: Çapraz platform gettext katalogları (.po dosyaları) editörü
|
|
|
|
|
# URL: http://www.poedit.net/
|
|
|
|
|
# Paketçi: Cihan_Alkan
|
2018-01-12 21:07:15 +01:00
|
|
|
|
# Gerekler: boost gtkspell wxgtk lucenepp
|
2018-01-12 20:18:19 +01:00
|
|
|
|
# Grup:
|
|
|
|
|
|
|
|
|
|
isim=poedit
|
|
|
|
|
surum=2.0.5
|
|
|
|
|
devir=1
|
|
|
|
|
kaynak=(https://github.com/vslavik/poedit/releases/download/v$surum-oss/poedit-${surum}.tar.gz)
|
|
|
|
|
|
|
|
|
|
derle() {
|
|
|
|
|
#if komutuyla eğer yoksa demek lazım
|
|
|
|
|
[ ! -L /usr/bin/wx-config-gtk3 ] && ln -s /usr/bin/wx-config /usr/bin/wx-config-gtk3
|
|
|
|
|
cd "${SRC}"/${isim}-${surum}
|
2018-01-12 21:07:15 +01:00
|
|
|
|
GTKSPELL_LIBS="`pkg-config --libss gtkspell3-3.0`" GTKSPELL_CFLAGS="`pkg-config --cflags gtkspell3-3.0`" ./configure \
|
|
|
|
|
--prefix=/usr --libexecdir=/usr/lib/poedit --with-wx-config=/usr/bin/wx-config-gtk3
|
2018-01-12 20:18:19 +01:00
|
|
|
|
make CPPFLAGS+=' -DUCHAR_TYPE=uint16_t'
|
|
|
|
|
make DESTDIR="${PKG}" install
|
|
|
|
|
install -Dm644 COPYING "${PKG}"/usr/share/licenses/${isim}/LICENSE
|
|
|
|
|
}
|