diff options
author | Erik Falor <ewfalor@gmail.com> | 2020-09-03 12:32:02 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-09-03 12:32:02 +0700 |
commit | 0a12bf2becf2a4c5b51bb9c60538269f192e2027 (patch) | |
tree | 70e140ba881bf5d215f3df16b0bb4c5278b45280 /libraries/efl/efl.SlackBuild | |
parent | da1ba81951f86d909617942c8b3a630a710755fa (diff) | |
download | slackbuilds-0a12bf2becf2a4c5b51bb9c60538269f192e2027.tar.gz |
libraries/efl: Updated for version 1.24.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/efl/efl.SlackBuild')
-rw-r--r-- | libraries/efl/efl.SlackBuild | 38 |
1 files changed, 16 insertions, 22 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 |