summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorErik Falor <ewfalor@gmail.com>2020-09-03 12:32:02 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-03 12:32:02 +0700
commit0a12bf2becf2a4c5b51bb9c60538269f192e2027 (patch)
tree70e140ba881bf5d215f3df16b0bb4c5278b45280 /libraries
parentda1ba81951f86d909617942c8b3a630a710755fa (diff)
downloadslackbuilds-0a12bf2becf2a4c5b51bb9c60538269f192e2027.tar.gz
libraries/efl: Updated for version 1.24.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/efl/efl.SlackBuild38
-rw-r--r--libraries/efl/efl.info8
2 files changed, 20 insertions, 26 deletions
diff --git a/libraries/efl/efl.SlackBuild b/libraries/efl/efl.SlackBuild
index 7749d31c32..9bee1447f0 100644
--- a/libraries/efl/efl.SlackBuild
+++ b/libraries/efl/efl.SlackBuild
@@ -22,7 +22,7 @@
# <http://www.gnu.org/licenses/>.
PRGNAM=efl
-VERSION=${VERSION:-1.21.1}
+VERSION=${VERSION:-1.24.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -53,13 +53,8 @@ else
LIBDIRSUFFIX=""
fi
-if [ -e /usr/bin/elementary_run ]; then
- echo "A previous installation of efl has been detected."
- echo "Please uninstall it before running this script."
- exit 1
-fi
-
-DOCS="ABOUT-NLS AUTHORS COMPLIANCE COPYING ChangeLog NEWS README"
+DOCS="AUTHORS COMPLIANCE COPYING COPYING.images ChangeLog INSTALL NEWS README"
+LICENSES="licenses/COPYING.ASL licenses/COPYING.BSD licenses/COPYING.DNS licenses/COPYING.FTL licenses/COPYING.GPL licenses/COPYING.LGPL licenses/COPYING.NGINX-MIT licenses/COPYING.SMALL"
set -e
@@ -76,33 +71,32 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+meson . build \
+ --prefix=/usr/ \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ -Dsystemd=false \
+ -Dbuild-id="$ARCH"-slackware-linux
+
# 20200416 bkw: vita_cell on IRC reported missing DSO errors for -lm
# and -ldl. efl has a LOT of optional/autodetected libraries, I couldn't
# duplicate his problem, but it looks like some optional library normally
# adds the -lm -ldl in its pkgconfig file and he was missing whatever
# it was. In any case, adding them here won't hurt anything.
-
+LIBS="-lm -ldl" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-LIBS="-lm -ldl" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-systemd \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+ninja -C build -v
+
+DESTDIR=$PKG ninja -C build install
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/licenses
+cp -a $LICENSES $PKG/usr/doc/$PRGNAM-$VERSION/licenses
+
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/efl/efl.info b/libraries/efl/efl.info
index 6ecc703b39..8f3836e1d5 100644
--- a/libraries/efl/efl.info
+++ b/libraries/efl/efl.info
@@ -1,10 +1,10 @@
PRGNAM="efl"
-VERSION="1.21.1"
+VERSION="1.24.3"
HOMEPAGE="https://www.enlightenment.org/"
-DOWNLOAD="https://download.enlightenment.org/rel/libs/efl/efl-1.21.1.tar.xz"
-MD5SUM="275ae48d6fdd1ebd47c1f2d0426d5dfc"
+DOWNLOAD="https://download.enlightenment.org/rel/libs/efl/efl-1.24.3.tar.xz"
+MD5SUM="6d0d60b8bceeb1749f4ac66d910486bb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="luajit bullet"
+REQUIRES="luajit bullet libwebp check meson"
MAINTAINER="Erik Falor"
EMAIL="ewfalor@gmail.com"