summaryrefslogtreecommitdiff
path: root/source/xap
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-03-28 05:48:42 +0000
committerEric Hameleers <alien@slackware.com>2020-03-28 17:59:48 +0100
commitf845c97d2dd37c9cfbc8e21b87f3753167770f1e (patch)
treeae50b5b0593bccdef649cf9536f41f394c28a1b7 /source/xap
parentb0afb726e72ab6716b5be64f5ab3447c9d09a641 (diff)
downloadcurrent-f845c97d2dd37c9cfbc8e21b87f3753167770f1e.tar.gz
Sat Mar 28 05:48:42 UTC 202020200328054842
a/lvm2-2.03.09-x86_64-1.txz: Upgraded. d/guile-3.0.2-x86_64-1.txz: Upgraded. l/glib-networking-2.64.1-x86_64-1.txz: Upgraded. l/gtk+3-3.24.16-x86_64-1.txz: Upgraded. l/gvfs-1.44.1-x86_64-1.txz: Upgraded. l/librsvg-2.48.1-x86_64-1.txz: Upgraded. l/vte-0.60.1-x86_64-1.txz: Upgraded. xap/audacious-4.0-x86_64-3.txz: Rebuilt. Also support GTK+ interface, including a .desktop file for it. xap/audacious-plugins-4.0-x86_64-3.txz: Rebuilt. Rebuilt with --enable-gtk. extra/pure-alsa-system/audacious-plugins-4.0-x86_64-3_alsa.txz: Rebuilt. Rebuilt with --enable-gtk. extra/pure-alsa-system/qt5-5.13.2-x86_64-3_alsa.txz: Added.
Diffstat (limited to 'source/xap')
-rwxr-xr-xsource/xap/audacious-plugins/audacious-plugins.SlackBuild4
-rwxr-xr-xsource/xap/audacious/audacious.SlackBuild9
2 files changed, 10 insertions, 3 deletions
diff --git a/source/xap/audacious-plugins/audacious-plugins.SlackBuild b/source/xap/audacious-plugins/audacious-plugins.SlackBuild
index 3123c588..5e6ce17d 100755
--- a/source/xap/audacious-plugins/audacious-plugins.SlackBuild
+++ b/source/xap/audacious-plugins/audacious-plugins.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=audacious-plugins
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
# Whether to include faad/aac support:
FAAD=${FAAD:---disable-aac}
@@ -97,7 +97,7 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--mandir=/usr/man \
- --disable-aac \
+ --enable-gtk \
--program-prefix= \
--program-suffix= \
${FAAD} \
diff --git a/source/xap/audacious/audacious.SlackBuild b/source/xap/audacious/audacious.SlackBuild
index 0bd31dd1..20f9b225 100755
--- a/source/xap/audacious/audacious.SlackBuild
+++ b/source/xap/audacious/audacious.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=audacious
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -92,6 +92,7 @@ CFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--mandir=/usr/man \
--docdir=/usr/doc/${PKGNAM}-$VERSION \
+ --enable-gtk \
--program-prefix= \
--program-suffix= \
--with-buildstamp=$ARCH-slackware-linux \
@@ -101,6 +102,12 @@ CFLAGS="$SLKCFLAGS" \
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
+# Add a .desktop file for the GTK+ version:
+cp -a $PKG/usr/share/applications/audacious.desktop $PKG/usr/share/applications/audacious-gtk.desktop
+sed -i "s/GenericName=Music Player/GenericName=Music Player (GTK+ version)/g" $PKG/usr/share/applications/audacious-gtk.desktop
+sed -i "s/Name=Audacious/Name=Audacious GTK+/g" $PKG/usr/share/applications/audacious-gtk.desktop
+sed -i "s/audacious %U/audacious -G %U/g" $PKG/usr/share/applications/audacious-gtk.desktop
+
# Strip binaries:
find $PKG | xargs file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null