From 87d4ddce5bd8d25b32d84e19fa52c86ae93ab34c Mon Sep 17 00:00:00 2001 From: Thorn Inurcide Date: Sat, 22 Jul 2017 00:31:07 -0500 Subject: [PATCH] add yauap as an optional engine for amarok --- Apps/tdeamarok/tdeamarok.SlackBuild | 12 +++-- BUILD-TDE.sh | 1 + Misc/yauap/yauap.SlackBuild | 74 +++++++++++++++++++++++++++++ 3 files changed, 83 insertions(+), 4 deletions(-) create mode 100755 Misc/yauap/yauap.SlackBuild diff --git a/Apps/tdeamarok/tdeamarok.SlackBuild b/Apps/tdeamarok/tdeamarok.SlackBuild index 6497642..f838061 100755 --- a/Apps/tdeamarok/tdeamarok.SlackBuild +++ b/Apps/tdeamarok/tdeamarok.SlackBuild @@ -50,6 +50,10 @@ sed -i -e 's|wav )|wav )\nadd_subdirectory( speex )|' \ # See if xine-lib package from Slackware is installed. (Need this to play music so hopefully it is.) [[ $(grep -E "xine.h" /var/log/packages/*) ]] && XINE="ON" +# If yauap is installed this can be used as an engine for music playback as well. +# Yauap does NOT handle the mp3 format. +[[ $(ls /var/log/packages/yauap-*) ]] && YAUAP="ON" + listdocs_fn # set support for additional language(s) as per I18N variable @@ -85,15 +89,15 @@ cd_builddir_fn -DSYSCONF_INSTALL_DIR="/etc/trinity" \ -DMAN_INSTALL_DIR=${INSTALL_TDE}/man \ -DWITH_MP4V2=${LMP4V2:-"OFF"} \ - -DWITH_LIBVISUAL="OFF" \ - -DWITH_KONQSIDEBAR="OFF" \ + -DWITH_LIBVISUAL="ON" \ + -DWITH_KONQSIDEBAR="ON" \ -DWITH_XINE=${XINE:-"OFF"} \ - -DWITH_YAUAP="OFF" \ + -DWITH_YAUAP=${YAUAP:-"OFF"} \ -DWITH_AKODE="OFF" \ -DWITH_IPOD="OFF" \ -DWITH_IFP="OFF" \ -DWITH_NJB="OFF" \ - -DWITH_MTP="OFF" \ + -DWITH_MTP="ON" \ -DWITH_RIOKARMA="OFF" \ -DWITH_DAAP="OFF" \ -DWITH_INOTIFY="OFF" \ diff --git a/BUILD-TDE.sh b/BUILD-TDE.sh index aa39ffd..2bacbca 100755 --- a/BUILD-TDE.sh +++ b/BUILD-TDE.sh @@ -343,6 +343,7 @@ Non-TDE apps are in the Misc category and don't need the \Zb\Zr\Z4R\Znequired TD "Libs/libksquirrel" "A set of image codecs for KSquirrel" off "\Zb\Z6 Required for ksquirrel. Buildtime options include l/netpbm, t/transfig [fig2dev], Misc/xmedcon \Zn" \ "Apps/abakus" "PC calculator" off "\Zb\Z6 optional dependency l/mpfr which requires l/gmp \Zn" \ " Misc/libmp4v2" "Create and modify mp4 files" off "\Zb\Z6 Buildtime option for Amarok \Zn" \ +" Misc/yauap" "simple commandline audio player" off "\Zb\Z6 Provides an optional engine for Amarok \Zn" \ "Apps/tdeamarok" "A Music Player" off "\Zb\Z6 Optional dependencies - xine-lib, libmp4v2, speex, moodbar \Zn" \ " Misc/moodbar" "GStreamer plugin for Amarok for moodbar feature" off "\Zb\Z6 Runtime option for Amarok \Zn" \ "Apps/digikam" "A digital photo management application + Showfoto viewer" off "\Zb\Z6 Requires kipi-plugins tdelibkdcraw tdelibkexiv2 tdelibkipi. \Zn" \ diff --git a/Misc/yauap/yauap.SlackBuild b/Misc/yauap/yauap.SlackBuild new file mode 100755 index 0000000..9bffc3c --- /dev/null +++ b/Misc/yauap/yauap.SlackBuild @@ -0,0 +1,74 @@ +#!/bin/sh +# Generated by Alien's SlackBuild Toolkit: http://slackware.com/~alien/AST +# Copyright 2009, 2010, 2011, 2012, 2013, 2014, 2015 Eric Hameleers, Eindhoven, Netherlands +# Copyright 2015-2017 Thorn Inurcide +# Copyright 2015-2017 tde-slackbuilds project on GitHub +# All rights reserved. +# +# Permission to use, copy, modify, and distribute this software for +# any purpose with or without fee is hereby granted, provided that +# the above copyright notice and this permission notice appear in all +# copies. +# +# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +# IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR +# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +# SUCH DAMAGE. + +PRGNAM=yauap +VERSION=${VERSION:-0.2.4} +BUILD=${BUILD:-1} +TAG=${TAG:-} + +SRCURL="http://download.savannah.nongnu.org/releases/yauap/yauap-0.2.4.tar.gz" +ARCHIVE_TYPE="tar.gz" +source ../../get-source.sh +getsource_fn + +untar_fn +listdocs_fn + +chown_fn + +make || exit 1 +make DESTDIR=$PKG install || exit 1 + +installdocs_fn + +mangzip_fn + +strip_fn + +mkdir_install_fn + +echo " +# HOW TO EDIT THIS FILE: +# The 'handy ruler' below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (simple commandline audio player) +$PRGNAM: +$PRGNAM: Yauap is a simple commandline audio player based on the GStreamer +$PRGNAM: multimedia framework. There is also a DBus interface that allows yauap +$PRGNAM: to act as a backend for the Amarok audio player. +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: http://www.nongnu.org/yauap/ +" > $PKG/install/slack-desc + +makepkg_fn