2014-05-26 20:39:26 +00:00
|
|
|
# $Id$
|
|
|
|
# Maintainer: Ronald van Haren <ronald@archlinux.org>
|
|
|
|
# Contributor: Enlightenment Developers <enlightenment-devel@enlightenment.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - configure with --disable-neon
|
|
|
|
|
|
|
|
pkgbase=efl
|
|
|
|
pkgname=('efl' 'efl-docs')
|
2015-09-16 12:07:10 +00:00
|
|
|
pkgver=1.15.1
|
2014-11-30 16:49:05 +00:00
|
|
|
pkgrel=1
|
2014-05-26 20:39:26 +00:00
|
|
|
pkgdesc="Enlightenment Foundation Libraries"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://www.enlightenment.org"
|
|
|
|
license=('BSD' 'LGPL2.1' 'GPL2' 'custom')
|
|
|
|
depends=('bullet' 'libjpeg-turbo' 'gst-plugins-base'
|
|
|
|
'luajit' 'curl' 'fribidi' 'libpulse' 'libxcomposite'
|
2014-08-27 20:18:04 +00:00
|
|
|
'libxinerama' 'libxrandr' 'libxss'
|
2014-05-26 20:39:26 +00:00
|
|
|
'libxcursor' 'libxp' 'libwebp' 'shared-mime-info'
|
2014-12-23 16:59:03 +00:00
|
|
|
'libxkbcommon' 'wayland' 'lz4' 'openjpeg' 'avahi')
|
2014-09-16 23:38:02 +00:00
|
|
|
optdepends=('python2: einabench-cmp')
|
2014-09-14 19:16:25 +00:00
|
|
|
makedepends=('doxygen' 'python' 'texlive-core' 'ghostscript')
|
2014-06-14 19:54:08 +00:00
|
|
|
replaces=('ecore' 'edje' 'eet' 'eeze' 'efreet' 'eina' 'eio' 'embryo'
|
|
|
|
'emotion' 'ethumb' 'evas')
|
2014-05-26 20:39:26 +00:00
|
|
|
options=('!emptydirs')
|
2014-11-30 16:49:05 +00:00
|
|
|
source=(http://download.enlightenment.org/rel/libs/${pkgname}/$pkgname-$pkgver.tar.xz
|
2014-09-16 23:38:02 +00:00
|
|
|
'eina_doxygen.patch')
|
2014-05-26 20:39:26 +00:00
|
|
|
install=efl.install
|
2015-09-16 12:07:10 +00:00
|
|
|
sha1sums=('52ac42d561b4ec88e224832609df7d655b650a31'
|
2014-09-16 23:38:02 +00:00
|
|
|
'ef2b961e793c711685623a149ab55b1bec9a3676')
|
2014-05-26 20:39:26 +00:00
|
|
|
|
|
|
|
prepare() {
|
2014-06-14 19:54:08 +00:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
sed -i 's/env python$/&2/' src/scripts/eina/eina-bench-cmp
|
2014-09-16 23:38:02 +00:00
|
|
|
|
|
|
|
# fix docs building
|
|
|
|
patch -Np0 -i ${srcdir}/eina_doxygen.patch
|
2014-05-26 20:39:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
|
|
|
|
export CFLAGS="$CFLAGS -fvisibility=hidden"
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--disable-static --disable-tslib --enable-fb \
|
|
|
|
--enable-xinput22 --enable-multisense --enable-systemd \
|
2014-11-28 20:52:08 +00:00
|
|
|
--enable-image-loader-webp --enable-harfbuzz --enable-wayland \
|
|
|
|
--enable-liblz4 --disable-neon
|
2014-05-26 20:39:26 +00:00
|
|
|
|
|
|
|
make
|
2014-09-16 23:38:02 +00:00
|
|
|
make -j1 doc
|
2014-05-26 20:39:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package_efl(){
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make -j1 DESTDIR=${pkgdir} install
|
|
|
|
|
|
|
|
# install non-standard license files
|
|
|
|
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/licenses/COPYING.BSD" \
|
2014-06-14 19:54:08 +00:00
|
|
|
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING.BSD"
|
2014-05-26 20:39:26 +00:00
|
|
|
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/licenses/COPYING.SMALL" \
|
2014-06-14 19:54:08 +00:00
|
|
|
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING.SMALL"
|
2014-05-26 20:39:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package_efl-docs() {
|
|
|
|
pkgdesc="Documentation for the Enlightenment Foundation Libraries"
|
|
|
|
depends=()
|
|
|
|
|
|
|
|
cd "${srcdir}/${pkgbase}-${pkgver}"
|
|
|
|
install -d "${pkgdir}/usr/share/doc/${pkgbase}"
|
|
|
|
cp -a doc/html "${pkgdir}/usr/share/doc/${pkgbase}/html"
|
|
|
|
cp -a doc/latex "${pkgdir}/usr/share/doc/${pkgbase}/latex"
|
|
|
|
}
|
|
|
|
|