diff options
author | Jeremy Hansen <jebrhansen+github@gmail.com> | 2023-06-01 16:46:27 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-06-03 10:20:42 +0700 |
commit | 105243757159b1a5e49faa88db8e6568fcdd1c45 (patch) | |
tree | 2b42009528681b8499034a0d6aa9c44703896eac /libraries | |
parent | 187b390544396f334b8642d1a3f3979fc87e6546 (diff) |
libraries/dbus-cpp: Version bump to 5.0.3 and update homepage
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/dbus-cpp/dbus-cpp.SlackBuild | 20 | ||||
-rw-r--r-- | libraries/dbus-cpp/dbus-cpp.info | 8 |
2 files changed, 9 insertions, 19 deletions
diff --git a/libraries/dbus-cpp/dbus-cpp.SlackBuild b/libraries/dbus-cpp/dbus-cpp.SlackBuild index c1ae326c46434..97b7fb7220250 100644 --- a/libraries/dbus-cpp/dbus-cpp.SlackBuild +++ b/libraries/dbus-cpp/dbus-cpp.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for dbus-cpp -# Copyright 2017 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> +# Copyright 2017-2023 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=dbus-cpp -VERSION=${VERSION:-5.0.0} -SRCVER=${SRCVER:-5.0.0+16.10.20160809} +VERSION=${VERSION:-5.0.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -71,11 +67,8 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -# Tarball does not have a parent directory, so we'll create one and cd -# into it before extracting. -mkdir -p $PRGNAM-$VERSION +tar xvf $CWD/${PRGNAM}-${VERSION}.tar.gz cd $PRGNAM-$VERSION -tar xvf $CWD/${PRGNAM}_${SRCVER}.orig.tar.gz chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -90,13 +83,10 @@ mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-error=deprecated-copy" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \ - -DCMAKE_BUILD_TYPE=Release \ - -DDBUS_CPP_VERSION_MAJOR=5 \ - -DDBUS_CPP_VERSION_MINOR=0 \ - -DDBUS_CPP_VERSION_PATCH=0 .. + -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG cd .. diff --git a/libraries/dbus-cpp/dbus-cpp.info b/libraries/dbus-cpp/dbus-cpp.info index 56492d5effa6c..e408c8b185d27 100644 --- a/libraries/dbus-cpp/dbus-cpp.info +++ b/libraries/dbus-cpp/dbus-cpp.info @@ -1,8 +1,8 @@ PRGNAM="dbus-cpp" -VERSION="5.0.0" -HOMEPAGE="https://code.launchpad.net/dbus-cpp" -DOWNLOAD="https://launchpad.net/ubuntu/+archive/primary/+files/dbus-cpp_5.0.0+16.10.20160809.orig.tar.gz" -MD5SUM="1ca6e981f4a53de0ca5dee6a314da7f6" +VERSION="5.0.3" +HOMEPAGE="https://gitlab.com/ubports/development/core/lib-cpp/dbus-cpp/" +DOWNLOAD="https://gitlab.com/ubports/development/core/lib-cpp/dbus-cpp/-/archive/5.0.3/dbus-cpp-5.0.3.tar.gz" +MD5SUM="574ff83c7f3b2ad9400724dda0a0c41a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="process-cpp" |