# $Id: PKGBUILD 172964 2012-12-07 19:25:18Z ronald $ # Maintainer: Ronald van Haren # Contributor: Gustavo Sverzut Barbieri pkgname=ecore pkgver=1.7.3 pkgrel=1 pkgdesc="OS abstraction layer for e17" arch=('i686' 'x86_64' 'mips64el') url="http://www.enlightenment.org" license=('BSD') depends=('eina' 'evas' 'glib2' 'libxp' 'curl' 'libxss' 'libxtst' 'libxcomposite' 'libxrandr' 'libxinerama' 'libxcursor') makedepends=('subversion') options=('!libtool' '!emptydirs') source=(http://download.enlightenment.org/releases/$pkgname-$pkgver.tar.gz) sha1sums=('c6ee8092af99842631e49566f6be32b6149eaaca') build() { cd $srcdir/$pkgname-$pkgver export CFLAGS="-fvisibility=hidden -ffunction-sections -fdata-sections ${CFLAGS}" export CXXFLAGS="-fvisibility=hidden -ffunction-sections -fdata-sections ${CXXFLAGS}" export LDFLAGS="-fvisibility=hidden -ffunction-sections -fdata-sections -Wl,--gc-sections -Wl,--as-needed ${LDFLAGS}" ./configure \ --prefix=/usr \ --libexecdir=/usr/lib/ecore \ --with-internal-maximum-log-level=3 \ --disable-static \ --disable-ecore-timer-dump \ --enable-glib \ --enable-ecore-x-composite \ --enable-ecore-x-damage \ --enable-ecore-x-dpms \ --enable-ecore-x-randr \ --enable-ecore-x-render \ --enable-ecore-x-screensaver \ --enable-ecore-x-shape \ --enable-ecore-x-gesture \ --enable-ecore-x-sync \ --enable-ecore-x-xfixes \ --enable-ecore-x-xinerama \ --enable-ecore-x-xprint \ --enable-ecore-x-xtest \ --enable-ecore-x-cursor \ --enable-ecore-x-input \ --enable-ecore-x-dri \ --enable-epoll \ --enable-posix-threads \ --disable-debug-threads \ --enable-thread-safety \ --enable-atfile-source \ --enable-ecore-con \ --enable-curl \ --disable-gnutls \ --enable-openssl \ --enable-ecore-ipc \ --enable-ecore-file \ --enable-poll \ --enable-inotify \ --enable-ecore-imf \ --enable-ecore-imf-evas \ --enable-ecore-input \ --enable-ecore-input-evas \ --enable-ecore-imf-xim \ --disable-ecore-imf-scim \ --disable-ecore-imf-ibus \ --enable-ecore-x \ --disable-ecore-sdl \ --enable-ecore-fb \ --disable-ecore-directfb \ --enable-ecore-evas \ --enable-ecore-evas-software-buffer \ --enable-ecore-evas-software-x11 \ --enable-ecore-evas-opengl-x11 \ --enable-ecore-evas-fb \ --disable-ecore-evas-ews \ --disable-ecore-wayland \ --disable-tests \ --disable-coverage \ --disable-install-examples \ --disable-doc make } package(){ cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install # install license files install -Dm644 $srcdir/$pkgname-$pkgver/COPYING \ $pkgdir/usr/share/licenses/$pkgname/COPYING }