milis/talimatname/genel/g/geeqie/talimat

41 lines
1.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: image dosyalari icin hafif bir goruntuleyici
# URL: http://www.geeqie.org/
# Paketçi: milisarge
# Gerekler: exiv2 gtk3 lcms desktop-file-utils intltool librsvg shared-mime-info
isim=geeqie
surum=1.3
devir=2
kaynak=(https://github.com/BestImageViewer/geeqie/releases/download/v${surum}/geeqie-$surum.tar.xz::${isim}-${surum}.tar.xz)
derle() {
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
./autogen.sh
#export CFLAGS="$CFLAGS $(pkg-config --cflags gtk+-2.0)"
#export LDFLAGS="$LDFLAGS $(pkg-config --libs gtk+-2.0)"
#export CXXFLAGS="$CXXFLAGS $CFLAGS"
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-maintainer-mode \
--disable-debug-log \
--disable-lirc \
--disable-doxygen-doc \
--disable-doxygen-dot \
--disable-lua
gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
update-mime-database /usr/share/mime
make
make DESTDIR=$PKG install
sed -ri '/\[.+\]=/d' $PKG/usr/share/{geeqie/,}applications/*.desktop
rm -r $PKG/usr/share/doc
}