aboutsummaryrefslogtreecommitdiff
path: root/audio/paprefs
diff options
context:
space:
mode:
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"