[arch-commits] Commit in enlightenment/trunk (PKGBUILD e_alert.patch)

Ronald van Haren ronald at archlinux.org
Thu Aug 18 10:59:32 UTC 2016


    Date: Thursday, August 18, 2016 @ 10:59:31
  Author: ronald
Revision: 273913

upgpkg: enlightenment 0.21.1-1

update enlightenment and libs

Added:
  enlightenment/trunk/e_alert.patch
Modified:
  enlightenment/trunk/PKGBUILD

---------------+
 PKGBUILD      |   18 +++++++++++++-----
 e_alert.patch |   22 ++++++++++++++++++++++
 2 files changed, 35 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-08-18 10:59:23 UTC (rev 273912)
+++ PKGBUILD	2016-08-18 10:59:31 UTC (rev 273913)
@@ -2,23 +2,31 @@
 # Contributor: Enlightenment Developers <enlightenment-devel at enlightenment.org>>
 
 pkgname=enlightenment
-pkgver=0.20.10
+pkgver=0.21.1
 pkgrel=1
 pkgdesc="Enlightenment window manager"
 arch=('i686' 'x86_64')
 url="http://www.enlightenment.org"
 license=('BSD')
-depends=('elementary' 'xcb-util-keysyms' 'hicolor-icon-theme' 'pixman' 'mesa'
+depends=('efl' 'xcb-util-keysyms' 'hicolor-icon-theme' 'pixman' 'mesa'
          'desktop-file-utils' 'udisks2' 'ttf-font' 'bluez-libs')
 optdepends=('connman: network module'
             'acpid: power events on laptop lid close'
-	    'geoip-database: geolocation module')
+	        'geoip-database: geolocation module')
 provides=('notification-daemon')
 backup=('etc/enlightenment/sysactions.conf'
         'etc/xdg/menus/e-applications.menu')
-source=(http://download.enlightenment.org/rel/apps/${pkgname}/$pkgname-$pkgver.tar.gz)
-sha1sums=('0f8b5b1e1cabfc9583d7080a9bfdf8631679fe9a')
+source=("http://download.enlightenment.org/rel/apps/${pkgname}/$pkgname-$pkgver.tar.gz"
+        'e_alert.patch')
+sha1sums=('b52cf961a15e89a062499f344713d8375f7891db'
+          '23e305c9f0eaa9d22963f2ac79c4d87a29fb422b')
 
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  # upstream build fix: define EFL_BETA_API_SUPPORT before any include
+  patch -Np1 -i ${srcdir}/e_alert.patch
+}
+
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
 

Added: e_alert.patch
===================================================================
--- e_alert.patch	                        (rev 0)
+++ e_alert.patch	2016-08-18 10:59:31 UTC (rev 273913)
@@ -0,0 +1,22 @@
+diff --git a/src/bin/e_alert_main.c b/src/bin/e_alert_main.c
+index b2bcd3c..c0cb3c6 100644
+--- a/src/bin/e_alert_main.c
++++ b/src/bin/e_alert_main.c
+@@ -1,5 +1,9 @@
+ #include "config.h"
+ 
++#ifdef HAVE_DRM2
++#  define EFL_BETA_API_SUPPORT
++#endif
++
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <stdarg.h>
+@@ -19,7 +23,6 @@
+ # ifdef HAVE_WL_DRM
+ #  include <Ecore_Input.h>
+ #  ifdef HAVE_DRM2
+-#   define EFL_BETA_API_SUPPORT
+ #   include <drm_fourcc.h>
+ #   include <Ecore_Drm2.h>
+ #  else



More information about the arch-commits mailing list