aboutsummaryrefslogtreecommitdiff
path: root/audio/paprefs
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2022-01-09 09:46:21 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-01-13 08:58:45 +0700
commit9cd27456b0d302f9e3d4ff84065f7b1fc2f02aba (patch)
tree634e5146929deaa6b591e0d63f582360a0647fb8 /audio/paprefs
parent999acdca40f2b3616fcfabd72ff320d4d45256b9 (diff)
audio/paprefs: Updated for version 1.2
Signed-off-by: Christoph Willing <chris.willing@linux.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/paprefs')
-rw-r--r--audio/paprefs/paprefs.SlackBuild30
-rw-r--r--audio/paprefs/paprefs.info6
2 files changed, 19 insertions, 17 deletions
diff --git a/audio/paprefs/paprefs.SlackBuild b/audio/paprefs/paprefs.SlackBuild
index 9c7495758973..850e26261ba7 100644
--- a/audio/paprefs/paprefs.SlackBuild
+++ b/audio/paprefs/paprefs.SlackBuild
@@ -8,7 +8,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=paprefs
-VERSION=${VERSION:-0.9.10}
+VERSION=${VERSION:-1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -62,23 +62,25 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS -std=c++11" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true
-make
-make install-strip DESTDIR=$PKG
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd -
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- ABOUT-NLS ChangeLog LICENSE README doc/README.html \
+ LICENSE build/doc/README.html \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/audio/paprefs/paprefs.info b/audio/paprefs/paprefs.info
index 9915db5ab61f..260918a7493a 100644
--- a/audio/paprefs/paprefs.info
+++ b/audio/paprefs/paprefs.info
@@ -1,8 +1,8 @@
PRGNAM="paprefs"
-VERSION="0.9.10"
+VERSION="0.1.2"
HOMEPAGE="http://freedesktop.org/software/pulseaudio/paprefs/"
-DOWNLOAD="http://freedesktop.org/software/pulseaudio/paprefs/paprefs-0.9.10.tar.xz"
-MD5SUM="e9130fb1ab5211a50b16f6b63bb6fd49"
+DOWNLOAD="http://freedesktop.org/software/pulseaudio/paprefs/paprefs-1.2.tar.xz"
+MD5SUM="ae3261ccff40060ba39e6d3325e66c96"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gconfmm libglademm"