talimat 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Tanım: Resim dosyalari icin hafif bir goruntuleyici
  2. # URL: http://www.geeqie.org/
  3. # Paketçi: milisarge
  4. # Gerekler: exiv2 gtk3 lcms desktop-file-utils intltool librsvg shared-mime-info
  5. # Grup: medya
  6. isim=geeqie
  7. surum=1.3
  8. devir=2
  9. kaynak=(https://github.com/BestImageViewer/geeqie/releases/download/v${surum}/geeqie-$surum.tar.xz::${isim}-${surum}.tar.xz)
  10. derle() {
  11. if [ ! -d $DERLEME_KAYNAKDIZIN/$isim ];then
  12. git clone https://github.com/BestImageViewer/geeqie $DERLEME_KAYNAKDIZIN/$isim
  13. else
  14. cd $DERLEME_KAYNAKDIZIN/$isim
  15. git pull
  16. cd -
  17. fi
  18. cp -r $DERLEME_KAYNAKDIZIN/$isim $SRC/
  19. cd $SRC/$isim
  20. chmod +x *.sh
  21. ./autogen.sh
  22. #export CFLAGS="$CFLAGS $(pkg-config --cflags gtk+-2.0)"
  23. #export LDFLAGS="$LDFLAGS $(pkg-config --libs gtk+-2.0)"
  24. #export CXXFLAGS="$CXXFLAGS $CFLAGS"
  25. ./configure --prefix=/usr \
  26. --sysconfdir=/etc \
  27. --disable-maintainer-mode \
  28. --disable-debug-log \
  29. --disable-lirc \
  30. --disable-doxygen-doc \
  31. --disable-doxygen-dot \
  32. --disable-lua
  33. gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
  34. update-mime-database /usr/share/mime
  35. make
  36. make DESTDIR=$PKG install
  37. sed -ri '/\[.+\]=/d' $PKG/usr/share/{geeqie/,}applications/*.desktop
  38. rm -r $PKG/usr/share/doc
  39. }