mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/efl: Updated for version 1.24.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
da1ba81951
commit
0a12bf2bec
2 changed files with 19 additions and 25 deletions
|
@ -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
|
||||
ninja -C build -v
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue