talimat 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # Tanım: Genel Grafik Kitaplığı
  2. # URL: http://gegl.org/
  3. # Paketçi: milisarge
  4. # Gerekler: intltool libopenraw babl gtk2 librsvg libpng ruby lua ffmpeg librsvg openexr exiv2 json-glib jasper vala libspiro
  5. # Grup: kütüphane
  6. isim=gegl2
  7. surum=0.2.0
  8. devir=2
  9. kaynak=(https://download.gimp.org/pub/gegl/0.2/gegl-$surum.tar.bz2
  10. gegl-0.2.0-ffmpeg-0.11.patch
  11. gegl-0.2.0-CVE-2012-4433.patch
  12. gegl-0.2.0-lua-5.2.patch
  13. gegl-0.2.0-remove-src-over-op.patch)
  14. derle() {
  15. cd gegl-${surum}
  16. patch -Np1 -i ../gegl-0.2.0-ffmpeg-0.11.patch
  17. patch -Np1 -i ../gegl-0.2.0-CVE-2012-4433.patch
  18. patch -Np1 -i ../gegl-0.2.0-lua-5.2.patch
  19. patch -Np1 -i ../gegl-0.2.0-remove-src-over-op.patch
  20. sed -i 's/avcodec_alloc_frame/av_frame_alloc/g' operations/external/ff-*.c
  21. # libopenraw 0.1.0 ile derleme tamirleri
  22. sed -i 's/OR_DATA_TYPE_CFA/OR_DATA_TYPE_RAW/' operations/external/openraw.c
  23. sed -ri 's/(libopenraw(-gnome)?)-1\.0/\1-0.1/' configure.ac
  24. autoreconf -vi
  25. ./configure --prefix=/usr --with-sdl --with-librsvg \
  26. --with-libavformat --with-jasper --without-umfpack --disable-docs
  27. sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  28. make
  29. make DESTDIR=$PKG install
  30. rm -r "${PKG}/usr/bin"
  31. rm -rf "${PKG}/usr/share"
  32. }