45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
# Description: Cross-platform C++ GUI toolkit for Unix, Windows and Mac OS X.
|
|
# URL: http://www.fltk.org/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Packager: Ivan Lyanguzov, tzong at tzong dot spb dot ru
|
|
# Depends on: alsa-lib harfbuzz libjpeg-turbo mesa3d xorg-libxft xorg-libxinerama
|
|
|
|
name=fltk
|
|
version=1.3.3
|
|
release=2
|
|
source=(http://fltk.org/pub/fltk/$version/$name-$version-source.tar.gz
|
|
fltk-1.3.2-desktop.patch
|
|
fltk-1.3.0-share.patch
|
|
fltk-1.3.2-conf-tests.patch
|
|
fltk-1.3.2-jpeg-9a.patch
|
|
fltk-1.3.3-visibility.patch
|
|
fltk-1.3.3-fl_open_display.patch
|
|
fltk-1.3.3-fltk-config.patch
|
|
fltk-1.3.3-xutf8-visibility.patch)
|
|
|
|
build() {
|
|
cd fltk-$version
|
|
|
|
patch -p1 -i $SRC/fltk-1.3.2-desktop.patch
|
|
patch -p1 -i $SRC/fltk-1.3.0-share.patch
|
|
patch -p1 -i $SRC/fltk-1.3.2-conf-tests.patch
|
|
patch -p0 -i $SRC/fltk-1.3.2-jpeg-9a.patch
|
|
patch -p1 -i $SRC/fltk-1.3.3-visibility.patch
|
|
patch -p1 -i $SRC/fltk-1.3.3-fl_open_display.patch
|
|
patch -p1 -i $SRC/fltk-1.3.3-fltk-config.patch
|
|
patch -p1 -i $SRC/fltk-1.3.3-xutf8-visibility.patch
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-threads \
|
|
--enable-shared \
|
|
--enable-xft
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
chmod a-x $PKG/usr/lib/*.a
|
|
|
|
rm -r $PKG/usr/share/doc
|
|
}
|