[arch-commits] Commit in efl/trunk (PKGBUILD)

Ronald van Haren ronald at archlinux.org
Thu Oct 10 15:09:02 UTC 2019


    Date: Thursday, October 10, 2019 @ 15:09:02
  Author: ronald
Revision: 364571

upgpkg: efl 1.23.0-1

update to 1.23.0; switch build system to meson

Modified:
  efl/trunk/PKGBUILD

----------+
 PKGBUILD |   68 ++++++++++++++++++++++++++++++++++++++++---------------------
 1 file changed, 45 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-10 14:31:17 UTC (rev 364570)
+++ PKGBUILD	2019-10-10 15:09:02 UTC (rev 364571)
@@ -3,39 +3,59 @@
 
 pkgbase=efl
 pkgname=('efl' 'efl-docs')
-pkgver=1.22.2
+pkgver=1.23.0
 pkgrel=1
 pkgdesc="Enlightenment Foundation Libraries"
 arch=('x86_64')
 url="https://www.enlightenment.org"
 license=('BSD' 'LGPL2.1' 'GPL2' 'custom')
-depends=('bullet' 'libjpeg-turbo' 'gst-plugins-base'
-         'luajit' 'curl' 'fribidi' 'libpulse' 'libxcomposite'
-         'libxinerama' 'libxrandr' 'libxss' 'libinput'
-         'libxcursor' 'libxp' 'libwebp' 'shared-mime-info'
-         'libxkbcommon' 'libxkbcommon-x11' 'wayland' 'lz4' 'openjpeg' 'avahi'
-         'libspectre' 'libraw' 'librsvg' 'wayland-protocols'
-         'mesa' 'hicolor-icon-theme' 'poppler')
-optdepends=('python2: einabench-cmp' 'libreoffice: thumbnailing for DOC/PPT/XLS files')
-makedepends=('doxygen' 'python' 'texlive-core' 'ghostscript' 'imagemagick')
+depends=('avahi' 'bullet' 'curl' 'fontconfig' 'fribidi'
+         'gst-plugins-base-libs' 'luajit' 'libexif' 'libgl' 'libinput'
+         'libpulse' 'libspectre' 'libraw' 'librsvg' 'libwebp' 'libxcomposite'
+         'libxcursor' 'libxinerama' 'libxkbcommon' 'libxp' 'libxrandr'
+         'libxss' 'libunwind' 'mesa' 'openjpeg2' 'poppler'
+         'shared-mime-info' 'mailcap' 'ttf-font' 'scim' 'libibus' 'glib2'
+         'wayland' 'wayland-protocols' 'libxkbcommon-x11'
+         'pulseaudio')
+optdepends=('geoclue: For elocation'
+            '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')
 source=(https://download.enlightenment.org/rel/libs/${pkgname}/$pkgname-$pkgver.tar.xz)
-sha256sums=('1699891f825911622de0aa77fe1140eff7335aba619d2352485e54dcff6b1cd0')
+sha256sums=('cd9625161b324621f873f00eb841de03398892078ce73d60205abd1766c15cc5')
 
+
 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 \
-  --enable-liblz4 --enable-drm --enable-elput --enable-egl --with-opengl=es
+  if [ -d build ]; then
+    rm -rf build
+  fi
+  mkdir -p build
 
-  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= \
+    . build
 
-  cd doc
+  ninja -C build
+
+  cd build/doc
   doxygen
   #make -j1 doc || return 0  # don't fail on the docs
 }
@@ -44,8 +64,8 @@
   replaces=('elementary' 'evas_generic_loaders' 'emotion_generic_players')
 
   cd "${srcdir}/${pkgname}-${pkgver}"
-  make -j1 DESTDIR=${pkgdir} install
-
+  DESTDIR="${pkgdir}" ninja -C build install
+  
   # install non-standard license files
   install -Dm644 "${srcdir}/${pkgname}-${pkgver}/licenses/COPYING.BSD" \
     "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.BSD"
@@ -57,9 +77,11 @@
   pkgdesc="Documentation for the Enlightenment Foundation Libraries"
   depends=()
 
-  cd "${srcdir}/${pkgbase}-${pkgver}"
+  cd "${srcdir}/${pkgbase}-${pkgver}/build"
   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"
+  cp -a html "${pkgdir}/usr/share/doc/${pkgbase}/html"
+  cp -a latex "${pkgdir}/usr/share/doc/${pkgbase}/latex"
+  cp -a man "${pkgdir}/usr/share"
+  
 }
 



More information about the arch-commits mailing list