talimat 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Tanım: Veritabanı erişim kitaplığı
  2. # URL: https://git.gnome.org/browse/libgda
  3. # Paketçi: Cihan_Alkan
  4. # Gerekler: gnome-common json-glib gtksourceview3 libxslt python libsecret graphviz goocanvas iso-codes openjdk
  5. # Grup: kütüphane
  6. isim=libgda
  7. surum=5.2.4
  8. devir=1
  9. _apiver=5.0
  10. kaynak=(https://git.gnome.org/browse/libgda/snapshot/LIBGDA_5_2_4.tar.xz
  11. fix-crash.diff
  12. java.patch
  13. 0001-Convert-files-to-Unicode.patch
  14. glib-2.54-ftbfs.patch
  15. glib-2.54-ftbfs-2.patch)
  16. derle() {
  17. mkdir providers
  18. cd LIBGDA_5_2_4
  19. patch -Np1 -i ../java.patch
  20. patch -Np1 -i ../0001-Convert-files-to-Unicode.patch
  21. patch -Np1 -i ../glib-2.54-ftbfs.patch
  22. patch -Np1 -i ../glib-2.54-ftbfs-2.patch
  23. patch -Np1 -i ../fix-crash.diff
  24. /opt/jdk/bin/javac getsp.java
  25. find -name '*.py' -exec sed -i '1s/python$/&2/' {} +
  26. NOCONFIGURE=1 ./autogen.sh
  27. ./configure --prefix=/usr --sysconfdir=/etc --disable-static \
  28. --with-bdb=/usr --with-bdb-libdir-name=lib \
  29. --enable-json --enable-system-sqlite --enable-binreloc \
  30. --enable-gda-gi --enable-gdaui-gi \
  31. --enable-vala --enable-gdaui-vala VALA_API_VERSION=0.38 \
  32. --disable-crypto
  33. sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  34. make
  35. make DESTDIR="$PKG" install
  36. }