libraries/dbus-cpp: Version bump to 5.0.3 and update homepage

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Jeremy Hansen 2023-06-01 16:46:27 -07:00 committed by Willy Sudiarto Raharjo
parent 187b390544
commit 1052437571
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 9 additions and 19 deletions

View file

@ -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 ..

View file

@ -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"