milis/talimatname/genel/g/gegl2/talimat

34 lines
1.2 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Genel Grafik Kitaplığı
2017-04-07 03:41:04 +02:00
# URL: http://gegl.org/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: intltool libopenraw babl gtk2 librsvg libpng ruby lua ffmpeg librsvg openexr exiv2 json-glib jasper vala libspiro
2017-04-07 03:41:04 +02:00
2017-10-28 14:10:23 +02:00
isim=gegl2
surum=0.2.0
devir=2
kaynak=(https://download.gimp.org/pub/gegl/0.2/gegl-$surum.tar.bz2
2017-04-07 03:41:04 +02:00
gegl-0.2.0-ffmpeg-0.11.patch
gegl-0.2.0-CVE-2012-4433.patch
gegl-0.2.0-lua-5.2.patch
gegl-0.2.0-remove-src-over-op.patch)
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd gegl-${surum}
2017-04-07 03:41:04 +02:00
patch -Np1 -i ../gegl-0.2.0-ffmpeg-0.11.patch
patch -Np1 -i ../gegl-0.2.0-CVE-2012-4433.patch
patch -Np1 -i ../gegl-0.2.0-lua-5.2.patch
patch -Np1 -i ../gegl-0.2.0-remove-src-over-op.patch
sed -i 's/avcodec_alloc_frame/av_frame_alloc/g' operations/external/ff-*.c
# libopenraw 0.1.0 ile derleme tamirleri
sed -i 's/OR_DATA_TYPE_CFA/OR_DATA_TYPE_RAW/' operations/external/openraw.c
sed -ri 's/(libopenraw(-gnome)?)-1\.0/\1-0.1/' configure.ac
autoreconf -vi
./configure --prefix=/usr --with-sdl --with-librsvg \
--with-libavformat --with-jasper --without-umfpack --disable-docs
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
rm -r "${PKG}/usr/bin"
2017-09-12 05:59:16 +02:00
rm -rf "${PKG}/usr/share"
2017-04-07 03:41:04 +02:00
}