mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
extra/efl to 1.23.1-1
This commit is contained in:
parent
990ea1ad89
commit
ef03a0650b
1 changed files with 47 additions and 29 deletions
|
@ -2,58 +2,74 @@
|
||||||
# Contributor: Enlightenment Developers <enlightenment-devel@enlightenment.org>
|
# Contributor: Enlightenment Developers <enlightenment-devel@enlightenment.org>
|
||||||
|
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
# - configure with --disable-neon for !aarch64
|
# - configure with -Dnative-arch-optimization=false for !aarch64
|
||||||
# - aarch64: depend on lua52, configure with --enable-lua-old
|
|
||||||
|
|
||||||
pkgbase=efl
|
pkgbase=efl
|
||||||
pkgname=('efl' 'efl-docs')
|
pkgname=('efl' 'efl-docs')
|
||||||
pkgver=1.22.2
|
pkgver=1.23.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Enlightenment Foundation Libraries"
|
pkgdesc="Enlightenment Foundation Libraries"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://www.enlightenment.org"
|
url="https://www.enlightenment.org"
|
||||||
license=('BSD' 'LGPL2.1' 'GPL2' 'custom')
|
license=('BSD' 'LGPL2.1' 'GPL2' 'custom')
|
||||||
depends=('bullet' 'libjpeg-turbo' 'gst-plugins-base'
|
depends=('avahi' 'bullet' 'curl' 'fontconfig' 'fribidi'
|
||||||
'luajit' 'curl' 'fribidi' 'libpulse' 'libxcomposite'
|
'gst-plugins-base-libs' 'luajit' 'libexif' 'libgl' 'libinput'
|
||||||
'libxinerama' 'libxrandr' 'libxss' 'libinput'
|
'libpulse' 'libspectre' 'libraw' 'librsvg' 'libwebp' 'libxcomposite'
|
||||||
'libxcursor' 'libxp' 'libwebp' 'shared-mime-info'
|
'libxcursor' 'libxinerama' 'libxkbcommon' 'libxp' 'libxrandr'
|
||||||
'libxkbcommon' 'libxkbcommon-x11' 'wayland' 'lz4' 'openjpeg' 'avahi'
|
'libxss' 'libunwind' 'mesa' 'openjpeg2' 'poppler'
|
||||||
'libspectre' 'libraw' 'librsvg' 'wayland-protocols'
|
'shared-mime-info' 'mailcap' 'ttf-font' 'scim' 'libibus' 'glib2'
|
||||||
'mesa' 'hicolor-icon-theme' 'poppler')
|
'wayland' 'wayland-protocols' 'libxkbcommon-x11'
|
||||||
depends_aarch64=('lua52')
|
'pulseaudio')
|
||||||
optdepends=('python2: einabench-cmp' 'libreoffice: thumbnailing for DOC/PPT/XLS files')
|
optdepends=('geoclue: For elocation'
|
||||||
makedepends=('doxygen' 'python' 'texlive-core' 'ghostscript' 'imagemagick')
|
'gst-plugins-base: Video and thumbnail codecs'
|
||||||
|
'gst-plugins-good: Video and thumbnail codecs'
|
||||||
|
'gst-plugins-bad: Video and thumbnail codecs'
|
||||||
|
'gst-plugins-ugly: Video and thumbnail codecs'
|
||||||
|
'gst-libav: Video and thumbnails with ffmpeg/libav'
|
||||||
|
'libreoffice: Office document thumbnails'
|
||||||
|
'python2: Compare Eina benchmarks')
|
||||||
|
makedepends=('doxygen' 'python' 'texlive-core' 'ghostscript' 'imagemagick' 'meson' 'ninja')
|
||||||
options=('!emptydirs')
|
options=('!emptydirs')
|
||||||
source=(https://download.enlightenment.org/rel/libs/${pkgname}/$pkgname-$pkgver.tar.xz)
|
source=(https://download.enlightenment.org/rel/libs/${pkgname}/$pkgname-$pkgver.tar.xz)
|
||||||
sha256sums=('1699891f825911622de0aa77fe1140eff7335aba619d2352485e54dcff6b1cd0')
|
sha256sums=('d62220cca16d434c18b36fe3acffa0f5c0e669da4931b133524183308f242f61')
|
||||||
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
|
|
||||||
export CFLAGS="$CFLAGS -fvisibility=hidden"
|
export CFLAGS="$CFLAGS -fvisibility=hidden"
|
||||||
|
|
||||||
[[ $CARCH != "aarch64" ]] && CONFIG="--disable-neon"
|
if [ -d build ]; then
|
||||||
[[ $CARCH == "aarch64" ]] && CONFIG="--enable-lua-old"
|
rm -rf build
|
||||||
|
fi
|
||||||
|
mkdir -p build
|
||||||
|
|
||||||
./configure --prefix=/usr \
|
[[ $CARCH != "aarch64" ]] && CONFIG="-Dnative-arch-optimization=false"
|
||||||
--disable-static --disable-tslib --enable-fb \
|
|
||||||
--enable-xinput22 --enable-multisense --enable-systemd \
|
|
||||||
--enable-image-loader-webp --enable-harfbuzz --enable-wayland \
|
|
||||||
--enable-liblz4 --enable-drm --enable-elput --enable-egl --with-opengl=es $CONFIG
|
|
||||||
|
|
||||||
make
|
meson --prefix=/usr \
|
||||||
|
-Dfb=true \
|
||||||
|
-Ddrm=true \
|
||||||
|
-Dwl=true \
|
||||||
|
-Dnetwork-backend=connman \
|
||||||
|
-Devas-loaders-disabler=json \
|
||||||
|
-Dbindings= \
|
||||||
|
-Dbuild-examples=false \
|
||||||
|
-Dbuild-tests=false \
|
||||||
|
-Decore-imf-loaders-disabler= \
|
||||||
|
$CONFIG . build
|
||||||
|
|
||||||
cd doc
|
ninja -C build
|
||||||
|
|
||||||
|
cd build/doc
|
||||||
doxygen
|
doxygen
|
||||||
#make -j1 doc || return 0 # don't fail on the docs
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package_efl(){
|
package_efl(){
|
||||||
replaces=('elementary' 'evas_generic_loaders' 'emotion_generic_players')
|
replaces=('elementary' 'evas_generic_loaders' 'emotion_generic_players')
|
||||||
|
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
make -j1 DESTDIR=${pkgdir} install
|
DESTDIR="${pkgdir}" ninja -C build install
|
||||||
|
|
||||||
# install non-standard license files
|
# install non-standard license files
|
||||||
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/licenses/COPYING.BSD" \
|
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/licenses/COPYING.BSD" \
|
||||||
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING.BSD"
|
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING.BSD"
|
||||||
|
@ -65,9 +81,11 @@ package_efl-docs() {
|
||||||
pkgdesc="Documentation for the Enlightenment Foundation Libraries"
|
pkgdesc="Documentation for the Enlightenment Foundation Libraries"
|
||||||
depends=()
|
depends=()
|
||||||
|
|
||||||
cd "${srcdir}/${pkgbase}-${pkgver}"
|
cd "${srcdir}/${pkgbase}-${pkgver}/build"
|
||||||
install -d "${pkgdir}/usr/share/doc/${pkgbase}"
|
install -d "${pkgdir}/usr/share/doc/${pkgbase}"
|
||||||
cp -a doc/html "${pkgdir}/usr/share/doc/${pkgbase}/html"
|
cp -a html "${pkgdir}/usr/share/doc/${pkgbase}/html"
|
||||||
cp -a doc/latex "${pkgdir}/usr/share/doc/${pkgbase}/latex"
|
cp -a latex "${pkgdir}/usr/share/doc/${pkgbase}/latex"
|
||||||
|
#cp -a man "${pkgdir}/usr/share"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue