efl: update to 1.22.2.

- Added new build options: elogind, drm, gstreamer and vlc.
- The same options that were available before are kept.
- Tested on x86_64.
This commit is contained in:
Juan RP 2019-06-03 12:15:47 +02:00 committed by Johannes
parent 562cf55d40
commit 5bdc4619a4
2 changed files with 33 additions and 40 deletions

View File

@ -94,3 +94,5 @@ desc_option_xml="Enable support for XML"
desc_option_xscreensaver="Enable support for libXScrnSaver to determine idle time" desc_option_xscreensaver="Enable support for libXScrnSaver to determine idle time"
desc_option_zeitgeist="Enable support for ZeitGeist" desc_option_zeitgeist="Enable support for ZeitGeist"
desc_option_zstd="Enable support for ZSTD compression format" desc_option_zstd="Enable support for ZSTD compression format"
desc_option_elogind="Enable support for elogind"
desc_option_drm="Enable support for DRM"

View File

@ -1,17 +1,34 @@
# Template file for 'efl' # Template file for 'efl'
pkgname=efl pkgname=efl
version=1.22.1 version=1.22.2
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="CXX= --enable-multisense --enable-image-loader-webp --enable-liblz4 configure_args="CXX= --disable-systemd --enable-liblz4
--disable-systemd $(vopt_enable framebuffer fb) $(vopt_enable pulseaudio) --enable-multisense --enable-image-loader-webp
$(vopt_enable harfbuzz)" $(vopt_enable gstreamer gstreamer1) $(vopt_enable vlc libvlc)
$(vopt_enable framebuffer fb) $(vopt_enable pulseaudio)
$(vopt_enable harfbuzz) $(vopt_if opengl '--with-opengl=full')
$(vopt_if gles2 '--enable-egl --with-opengl=es')
$(vopt_if drm '--enable-drm --enable-elput')
$(vopt_if wayland '--enable-wayland --enable-wayland-ivi-shell')
$(vopt_if x11 '--enable-xinput22 --with-x11=xlib --enable-xpresent')
$(vopt_if elogind '--enable-elput --enable-elogind')"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="liblz4-devel libressl-devel glib-devel libjpeg-turbo-devel fontconfig-devel makedepends="
liblz4-devel libressl-devel glib-devel libjpeg-turbo-devel fontconfig-devel
fribidi-devel giflib-devel libpng-devel tiff-devel libwebp-devel fribidi-devel giflib-devel libpng-devel tiff-devel libwebp-devel
gst-plugins-base1-devel avahi-libs-devel eudev-libudev-devel bullet-devel avahi-libs-devel eudev-libudev-devel bullet-devel
alsa-lib-devel libsndfile-devel libmount-devel LuaJIT-devel poppler-cpp-devel alsa-lib-devel libsndfile-devel libmount-devel LuaJIT-devel poppler-cpp-devel
librsvg-devel vlc-devel libspectre-devel libraw-devel librsvg-devel libspectre-devel libraw-devel
$(vopt_if gstreamer gst-plugins-base1-devel) $(vopt_if opengl MesaLib-devel)
$(vopt_if vlc vlc-devel) $(vopt_if elogind 'elogind-devel libinput-devel libxkbcommon-devel')
$(vopt_if gles2 'libinput-devel libxkbcommon-devel MesaLib-devel')
$(vopt_if wayland 'libxkbcommon-devel wayland-protocols wayland-devel libinput-devel')
$(vopt_if x11 'libXcomposite-devel libXcursor-devel libXp-devel
libXrandr-devel libXScrnSaver-devel libXdamage-devel
libXrender-devel libXi-devel libXinerama-devel libXpresent-devel
xcb-util-devel xcb-util-keysyms-devel xcb-util-image-devel
xcb-util-renderutil-devel xcb-util-wm-devel xorgproto')
$(vopt_if harfbuzz harfbuzz-devel) $(vopt_if pulseaudio pulseaudio-devel)" $(vopt_if harfbuzz harfbuzz-devel) $(vopt_if pulseaudio pulseaudio-devel)"
short_desc="Enlightenment Foundation Libraries" short_desc="Enlightenment Foundation Libraries"
maintainer="Juan RP <xtraeme@voidlinux.org>" maintainer="Juan RP <xtraeme@voidlinux.org>"
@ -19,7 +36,7 @@ license="LGPL-2.1-only"
homepage="http://enlightenment.org" homepage="http://enlightenment.org"
changelog="https://raw.githubusercontent.com/Enlightenment/efl/master/NEWS" changelog="https://raw.githubusercontent.com/Enlightenment/efl/master/NEWS"
distfiles="http://download.enlightenment.org/rel/libs/efl/efl-${version}.tar.xz" distfiles="http://download.enlightenment.org/rel/libs/efl/efl-${version}.tar.xz"
checksum=20d3e5e945d54ae46ec916c7341b5dec24f904b6c0123b4d3ecb8cd8d596ae12 checksum=1699891f825911622de0aa77fe1140eff7335aba619d2352485e54dcff6b1cd0
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" automake gettext-devel libtool efl-devel" hostmakedepends+=" automake gettext-devel libtool efl-devel"
@ -37,13 +54,15 @@ if [ "$CROSS_BUILD" ]; then
fi fi
# Package build options # Package build options
build_options="framebuffer gles2 harfbuzz opengl pulseaudio wayland x11" build_options="elogind drm framebuffer gles2 gstreamer harfbuzz opengl pulseaudio vlc wayland x11"
# Enable harfbuzz, pulseaudio and x11 by default. desc_option_gst="Enable support for video previews via gstreamer"
build_options_default="harfbuzz pulseaudio x11" desc_option_vlc="Enable support for video previews via VLC"
# Enable gstreamer, harfbuzz, pulseaudio and x11 by default.
build_options_default="gstreamer harfbuzz pulseaudio x11"
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*|ppc64*) i686*|x86_64*|ppc64*)
# Enable gles2 by default on x86. # Enable opengl by default on x86/ppc64.
build_options_default+=" opengl" build_options_default+=" opengl"
;; ;;
armv6l*) armv6l*)
@ -59,34 +78,6 @@ case "$XBPS_TARGET_MACHINE" in
;; ;;
esac esac
if [ "$build_option_opengl" ]; then
configure_args+=" --with-opengl=full"
makedepends+=" MesaLib-devel"
elif [ "$build_option_gles2" ]; then
configure_args+=" --with-opengl=es"
makedepends+=" MesaLib-devel"
else
configure_args+=" --with-opengl=none"
fi
if [ "$build_option_wayland" ]; then
configure_args+=" --enable-egl --enable-wayland --enable-wayland-ivi-shell"
makedepends+=" libxkbcommon-devel wayland-devel libinput-devel"
else
configure_args+=" --disable-egl --disable-wayland"
fi
if [ "$build_option_x11" ]; then
configure_args+=" --with-x --enable-xinput22 --with-x11=xlib"
makedepends+=" libXcomposite-devel libXcursor-devel libXp-devel"
makedepends+=" libXrandr-devel libXScrnSaver-devel"
makedepends+=" libXdamage-devel libXrender-devel libXi-devel libXinerama-devel"
makedepends+=" xcb-util-devel xcb-util-keysyms-devel xcb-util-image-devel"
makedepends+=" xcb-util-renderutil-devel xcb-util-wm-devel xorgproto"
else
configure_args+=" --without-x --with-x11=none"
fi
efl-devel_package() { efl-devel_package() {
short_desc+=" - development files" short_desc+=" - development files"
depends="${makedepends} efl>=${version}_${revision}" depends="${makedepends} efl>=${version}_${revision}"