2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: image dosyalari icin hafif bir goruntuleyici
|
2016-07-20 17:25:53 +02:00
|
|
|
|
# URL: http://www.geeqie.org/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
2017-12-03 19:05:30 +01:00
|
|
|
|
# Gerekler: exiv2 gtk3 lcms desktop-file-utils intltool librsvg shared-mime-info
|
2016-07-20 17:25:53 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=geeqie
|
|
|
|
|
surum=1.3
|
2017-12-03 19:05:30 +01:00
|
|
|
|
devir=2
|
2017-12-03 20:00:44 +01:00
|
|
|
|
kaynak=(https://github.com/BestImageViewer/geeqie/releases/download/v${surum}/geeqie-$surum.tar.xz::${isim}-${surum}.tar.xz)
|
2016-07-20 17:25:53 +02:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-12-03 19:05:30 +01:00
|
|
|
|
if [ ! -d $DERLEME_KAYNAKDIZIN/$isim ];then
|
|
|
|
|
git clone https://github.com/BestImageViewer/geeqie $DERLEME_KAYNAKDIZIN/$isim
|
|
|
|
|
else
|
|
|
|
|
cd $DERLEME_KAYNAKDIZIN/$isim
|
|
|
|
|
git pull
|
|
|
|
|
cd -
|
|
|
|
|
fi
|
|
|
|
|
cp -r $DERLEME_KAYNAKDIZIN/$isim $SRC/
|
|
|
|
|
cd $SRC/$isim
|
|
|
|
|
chmod +x *.sh
|
2016-07-20 17:25:53 +02:00
|
|
|
|
./autogen.sh
|
2017-12-03 19:05:30 +01:00
|
|
|
|
#export CFLAGS="$CFLAGS $(pkg-config --cflags gtk+-2.0)"
|
|
|
|
|
#export LDFLAGS="$LDFLAGS $(pkg-config --libs gtk+-2.0)"
|
|
|
|
|
#export CXXFLAGS="$CXXFLAGS $CFLAGS"
|
2016-07-20 17:25:53 +02:00
|
|
|
|
./configure --prefix=/usr \
|
2017-12-03 20:00:44 +01:00
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
|
--disable-maintainer-mode \
|
|
|
|
|
--disable-debug-log \
|
2016-07-20 17:25:53 +02:00
|
|
|
|
--disable-lirc \
|
|
|
|
|
--disable-doxygen-doc \
|
|
|
|
|
--disable-doxygen-dot \
|
|
|
|
|
--disable-lua
|
2017-12-03 19:05:30 +01:00
|
|
|
|
gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
|
|
|
|
update-mime-database /usr/share/mime
|
|
|
|
|
make
|
2016-07-20 17:25:53 +02:00
|
|
|
|
make DESTDIR=$PKG install
|
2017-12-03 19:05:30 +01:00
|
|
|
|
sed -ri '/\[.+\]=/d' $PKG/usr/share/{geeqie/,}applications/*.desktop
|
|
|
|
|
rm -r $PKG/usr/share/doc
|
2016-07-20 17:25:53 +02:00
|
|
|
|
}
|