diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2018-03-15 08:15:29 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-03-17 08:51:51 +0700 |
commit | af9271e4344ea54e0f08d7495f7b72eefc226d07 (patch) | |
tree | 723dec3b53f5d93b352a4ac8ec6bfe5c516ed3bb /libraries/appstream-glib | |
parent | 5b15274e7dcf04ffe2cf1c0461f0d69904f4d11a (diff) |
libraries/appstream-glib: Updated for version 0.7.7.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'libraries/appstream-glib')
-rw-r--r-- | libraries/appstream-glib/appstream-glib.SlackBuild | 18 | ||||
-rw-r--r-- | libraries/appstream-glib/appstream-glib.info | 6 |
2 files changed, 11 insertions, 13 deletions
diff --git a/libraries/appstream-glib/appstream-glib.SlackBuild b/libraries/appstream-glib/appstream-glib.SlackBuild index 2df9340c681a0..160e8f2f38dbf 100644 --- a/libraries/appstream-glib/appstream-glib.SlackBuild +++ b/libraries/appstream-glib/appstream-glib.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=appstream-glib -VERSION=${VERSION:-0.7.6} +VERSION=${VERSION:-0.7.7} SRCVERSION=$(echo "$PRGNAM" | tr - _)_$(echo "$VERSION" | tr . _) BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -72,22 +72,20 @@ find -L . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -./configure \ +meson \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --mandir=/usr/man \ - --enable-gtk-doc \ - --disable-stemmer + -Dgtk-doc=true \ + -Dstemmer=false \ + build # not sure why this is necessary -sed -i "/^ COMMAND = \/usr\/bin\/g-ir-scanner/s/-lyaml //" _build/build.ninja +sed -i "/^ COMMAND = \\/usr\\/bin\\/g-ir-scanner/s/-lyaml //" build/build.ninja -# thanks ricardo j. barberis -sed -i 's,../libappstream-glib/libappstream-glib/,../libappstream-glib/,g' _build/build.ninja - -make -make install DESTDIR=$PKG +ninja -C build +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 diff --git a/libraries/appstream-glib/appstream-glib.info b/libraries/appstream-glib/appstream-glib.info index be8114f24b908..c7d4e4380b504 100644 --- a/libraries/appstream-glib/appstream-glib.info +++ b/libraries/appstream-glib/appstream-glib.info @@ -1,8 +1,8 @@ PRGNAM="appstream-glib" -VERSION="0.7.6" +VERSION="0.7.7" HOMEPAGE="https://github.com/hughsie/appstream-glib" -DOWNLOAD="https://github.com/hughsie/appstream-glib/archive/appstream_glib_0_7_6/appstream-glib-appstream_glib_0_7_6.tar.gz" -MD5SUM="77e34a89b882b3c625c6b5ea799ca6e4" +DOWNLOAD="https://github.com/hughsie/appstream-glib/archive/appstream_glib_0_7_7/appstream-glib-appstream_glib_0_7_7.tar.gz" +MD5SUM="5466718e681cd4edf6ee5ea8bea32805" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="meson json-glib gcab" |