mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
added extra/efl
This commit is contained in:
parent
c512b214e7
commit
8fb492f69c
2 changed files with 84 additions and 0 deletions
68
extra/efl/PKGBUILD
Normal file
68
extra/efl/PKGBUILD
Normal file
|
@ -0,0 +1,68 @@
|
|||
# $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')
|
||||
pkgver=1.10.0
|
||||
pkgrel=1
|
||||
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'
|
||||
'libxinerama' 'libxrandr' 'libxss' 'python2'
|
||||
'libxcursor' 'libxp' 'libwebp' 'shared-mime-info'
|
||||
'libxkbcommon' 'wayland')
|
||||
makedepends=('doxygen')
|
||||
replaces=('ecore' 'edje' 'eet' 'eeze' 'efreet' 'eina' 'eio' 'embryo'
|
||||
'emotion' 'ethumb' 'evas')
|
||||
options=('!emptydirs')
|
||||
source=(http://download.enlightenment.org/rel/libs/${pkgname}/$pkgname-$pkgver.tar.gz)
|
||||
install=efl.install
|
||||
sha1sums=('c9e57f55f050e2a7e97e870857170163a550beaa')
|
||||
|
||||
|
||||
prepare() {
|
||||
sed -i 's/env python$/&2/' "${srcdir}/${pkgname}-${pkgver}/src/scripts/eina/eina-bench-cmp"
|
||||
}
|
||||
|
||||
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 \
|
||||
--enable-image-loader-webp --enable-harfbuzz --enable-wayland --disable-neon
|
||||
|
||||
make
|
||||
make -j1 doc
|
||||
}
|
||||
|
||||
package_efl(){
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make -j1 DESTDIR=${pkgdir} install
|
||||
|
||||
# install non-standard license files
|
||||
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/licenses/COPYING.BSD" \
|
||||
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING.BSD"
|
||||
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/licenses/COPYING.SMALL" \
|
||||
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING.SMALL"
|
||||
}
|
||||
|
||||
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"
|
||||
}
|
||||
|
16
extra/efl/efl.install
Normal file
16
extra/efl/efl.install
Normal file
|
@ -0,0 +1,16 @@
|
|||
post_install() {
|
||||
update-mime-database usr/share/mime > /dev/null
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in a new issue