2013-03-31 06:22:19 -07:00
|
|
|
# Maintainer: Enlightenment Developers <enlightenment-devel@enlightenment.org>
|
|
|
|
pkgname=('efl' 'efl_doc' 'efl_x11')
|
|
|
|
pkgver=@VERSION@
|
|
|
|
pkgrel=1
|
2013-06-05 04:05:47 -07:00
|
|
|
pkgdesc="Enlightenment Foundation Libraries - GIT development snapshot (Ecore, Eldbus, Edje, Eet, Eeze, Efreet, Eina, Eio, Embryo, Emotion, Eo, Ephysics, Ethumb, & Evas)"
|
2013-03-31 06:22:19 -07:00
|
|
|
arch=('i686' 'x86_64' 'arm')
|
|
|
|
url="http://www.enlightenment.org"
|
|
|
|
license=('BSD' 'LGPL2' 'GPL2')
|
2013-06-05 04:05:47 -07:00
|
|
|
makedepends=('doxygen')
|
|
|
|
depends=('bullet' 'libpng' 'libjpeg-turbo' 'gstreamer0.10'
|
|
|
|
'gstreamer0.10-base' 'gstreamer0.10-good'
|
|
|
|
'gstreamer0.10-bad' 'gstreamer0.10-ugly' 'gstreamer0.10-ffmpeg'
|
|
|
|
'zlib' 'lua' 'libtiff' 'openssl' 'util-linux' 'curl' 'dbus-core'
|
|
|
|
'glibc' 'fontconfig' 'freetype2' 'fribidi' 'libpulse'
|
|
|
|
'libsndfile' 'systemd' 'libx11' 'libxau' 'libxcomposite'
|
|
|
|
'libxdamage' 'libxdmcp' 'libxext' 'libxfixes' 'libxinerama'
|
|
|
|
'libxi' 'libxrandr' 'libxrender' 'libxss' 'libxtst'
|
|
|
|
'libxcursor' 'libxp' 'libgl' 'giflib' 'libwebp' 'harfbuzz')
|
2013-06-07 04:01:55 -07:00
|
|
|
provides_efl=("ecore=$pkgver" "eldbus=$pkgver" "edje=$pkgver"
|
|
|
|
"eet=$pkgver" "eeze=$pkgver" "efreet=$pkgver"
|
|
|
|
"eina=$pkgver" "eio=$pkgver" "embryo=$pkgver" "emotion=$pkgver"
|
|
|
|
"ephysics=$pkgver" "ethumb=$pkgver" "evas=$pkgver")
|
2013-06-05 04:05:47 -07:00
|
|
|
options=('strip' 'docs' 'zipman' '!libtool' 'debug')
|
2013-06-07 02:35:44 -07:00
|
|
|
buildflags="-O2 -g -fvisibility=hidden -fomit-frame-pointer"
|
2013-03-31 06:22:19 -07:00
|
|
|
build() {
|
2013-06-05 04:05:47 -07:00
|
|
|
cd "../.."
|
|
|
|
make clean distclean
|
2013-03-31 06:22:19 -07:00
|
|
|
./configure --prefix=/usr \
|
2013-06-05 04:05:47 -07:00
|
|
|
--disable-static --disable-tslib --enable-fb \
|
|
|
|
--enable-xinput22 --enable-multisense --enable-systemd \
|
|
|
|
--enable-image-loader-webp --enable-harfbuzz
|
2013-03-31 06:22:19 -07:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2013-06-05 04:05:47 -07:00
|
|
|
#check() {
|
|
|
|
# cd "../.."
|
|
|
|
# make -k check
|
|
|
|
#}
|
2013-03-31 06:22:19 -07:00
|
|
|
|
|
|
|
package_efl() {
|
2013-06-05 04:05:47 -07:00
|
|
|
cd "../.."
|
2013-03-31 06:22:19 -07:00
|
|
|
rm -rf $pkgdir/usr
|
2013-06-05 04:05:47 -07:00
|
|
|
make -j1 DESTDIR="$pkgdir/" install
|
2013-06-07 03:03:41 -07:00
|
|
|
install -Dm644 README $pkgdir/usr/share/$pkgname/README
|
|
|
|
install -Dm644 NEWS $pkgdir/usr/share/$pkgname/NEWS
|
|
|
|
install -Dm644 ChangeLog $pkgdir/usr/share/$pkgname/ChangeLog
|
|
|
|
install -Dm644 AUTHORS $pkgdir/usr/share/$pkgname/AUTHORS
|
|
|
|
install -Dm644 COMPLIANCE $pkgdir/usr/share/$pkgname/COMPLIANCE
|
|
|
|
install -Dm644 licenses/COPYING.BSD $pkgdir/usr/share/licenses/$pkgname/COPYING.BSD
|
|
|
|
install -Dm644 licenses/COPYING.GPL $pkgdir/usr/share/licenses/$pkgname/COPYING.GPL
|
|
|
|
install -Dm644 licenses/COPYING.LGPL $pkgdir/usr/share/licenses/$pkgname/COPYING.LGPL
|
|
|
|
install -Dm644 licenses/COPYING.SMALL $pkgdir/usr/share/licenses/$pkgname/COPYING.SMALL
|
|
|
|
ln -s ../licenses/$pkgname/COPYING.BSD $pkgdir/usr/share/$pkgname/COPYING.BSD
|
|
|
|
ln -s ../licenses/$pkgname/COPYING.GPL $pkgdir/usr/share/$pkgname/COPYING.GPL
|
|
|
|
ln -s ../licenses/$pkgname/COPYING.LGPL $pkgdir/usr/share/$pkgname/COPYING.LGPL
|
|
|
|
ln -s ../licenses/$pkgname/COPYING.SMALL $pkgdir/usr/share/$pkgname/COPYING.SMALL
|
2013-03-31 06:22:19 -07:00
|
|
|
rm -rf \
|
|
|
|
$pkgdir/usr/include/evas-1/Evas_Engine_*_X11.h \
|
|
|
|
$pkgdir/usr/include/ecore-x-1 \
|
|
|
|
$pkgdir/usr/lib/evas/modules/engines/*_x11 \
|
|
|
|
$pkgdir/usr/lib/ecore_evas/engines/x \
|
|
|
|
$pkgdir/usr/lib/libecore_x* \
|
|
|
|
$pkgdir/usr/lib/pkgconfig/ecore-x.pc \
|
|
|
|
$pkgdir/usr/lib/pkgconfig/evas-*-x11.pc
|
|
|
|
}
|
|
|
|
|
|
|
|
package_efl_doc() {
|
2013-06-05 04:05:47 -07:00
|
|
|
cd "../.."
|
2013-03-31 06:22:19 -07:00
|
|
|
rm -rf $pkgdir/usr
|
2013-06-05 04:05:47 -07:00
|
|
|
make -j1 doc
|
2013-06-07 04:01:55 -07:00
|
|
|
mkdir -p $pkgdir/usr/share/$pkgname
|
|
|
|
cp -r doc/html $pkgdir/usr/share/$pkgname/html
|
2013-03-31 06:22:19 -07:00
|
|
|
cp -r doc/latex $pkgdir/usr/share/$pkgname/latex
|
|
|
|
}
|
|
|
|
|
|
|
|
package_efl_x11() {
|
2013-06-05 04:05:47 -07:00
|
|
|
cd "../.."
|
2013-03-31 06:22:19 -07:00
|
|
|
rm -rf $pkgdir/usr
|
2013-06-05 04:05:47 -07:00
|
|
|
make -j1 DESTDIR="$pkgdir/" install
|
|
|
|
tar cf /tmp/xf.tar \
|
2013-03-31 06:22:19 -07:00
|
|
|
$pkgdir/usr/include/evas-1/Evas_Engine_*_X11.h \
|
|
|
|
$pkgdir/usr/include/ecore-x-1 \
|
|
|
|
$pkgdir/usr/lib/evas/modules/engines/*_x11 \
|
|
|
|
$pkgdir/usr/lib/ecore_evas/engines/x \
|
|
|
|
$pkgdir/usr/lib/libecore_x* \
|
|
|
|
$pkgdir/usr/lib/pkgconfig/ecore-x.pc \
|
|
|
|
$pkgdir/usr/lib/pkgconfig/evas-*-x11.pc
|
|
|
|
rm -rf $pkgdir/usr
|
2013-06-05 04:05:47 -07:00
|
|
|
tar -C / -P -xf /tmp/xf.tar
|
2013-03-31 06:22:19 -07:00
|
|
|
}
|