aboutsummaryrefslogtreecommitdiff
path: root/audio/ezstream
diff options
context:
space:
mode:
authornullmaster <nullmaster@pm.me>2019-04-27 04:59:52 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-04-27 04:59:52 +0700
commit082cab1b09731df407e08bd28a74de9fcde4e20f (patch)
tree1ce9cb0057b41dede2e9d0d1251e5fce72c310d7 /audio/ezstream
parent0643b4cce3a8c541d6bac7846604925a6417f4d9 (diff)
audio/ezstream: Added (CLI client for Icecast).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/ezstream')
-rw-r--r--audio/ezstream/README1
-rw-r--r--audio/ezstream/ezstream.SlackBuild96
-rw-r--r--audio/ezstream/ezstream.info10
-rw-r--r--audio/ezstream/slack-desc19
4 files changed, 126 insertions, 0 deletions
diff --git a/audio/ezstream/README b/audio/ezstream/README
new file mode 100644
index 0000000000000..b4de5a8f408b0
--- /dev/null
+++ b/audio/ezstream/README
@@ -0,0 +1 @@
+Ezstream is a command line source client for Icecast media streaming servers.
diff --git a/audio/ezstream/ezstream.SlackBuild b/audio/ezstream/ezstream.SlackBuild
new file mode 100644
index 0000000000000..dc695d99706a0
--- /dev/null
+++ b/audio/ezstream/ezstream.SlackBuild
@@ -0,0 +1,96 @@
+#!/bin/sh
+
+# Slackware build script for ezstream
+
+# Copyright 2019 nullmaster
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 AUTHOR 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=ezstream
+VERSION=${VERSION:-0.6.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i586 ;;
+ arm*) export ARCH=arm ;;
+ *) export ARCH=$( uname -m ) ;;
+ esac
+fi
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/audio/ezstream/ezstream.info b/audio/ezstream/ezstream.info
new file mode 100644
index 0000000000000..8dd90b70d7b65
--- /dev/null
+++ b/audio/ezstream/ezstream.info
@@ -0,0 +1,10 @@
+PRGNAM="ezstream"
+VERSION="0.6.0"
+HOMEPAGE="https://icecast.org/ezstream/"
+DOWNLOAD="http://downloads.xiph.org/releases/ezstream/ezstream-0.6.0.tar.gz"
+MD5SUM="913fffa04a5631e5f9d0ee19945045a4"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libshout"
+MAINTAINER="nullmaster"
+EMAIL="nullmaster@pm.me" \ No newline at end of file
diff --git a/audio/ezstream/slack-desc b/audio/ezstream/slack-desc
new file mode 100644
index 0000000000000..771cf2de96806
--- /dev/null
+++ b/audio/ezstream/slack-desc
@@ -0,0 +1,19 @@
+# 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 ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+ezstream: ezstream (A command line source client for Icecast media streaming)
+ezstream:
+ezstream: Ezstream is a command line source client for Icecast media streaming
+ezstream: servers. It began as the successor of the old "shout" utility,
+ezstream: and has since gained a lot of useful features. In its basic
+ezstream: mode of operation, it streams media files or data from standard
+ezstream: input without reencoding and thus requires only very little CPU
+ezstream: resources. It can also use various external decoders and encoders
+ezstream: to reencode from one format to another, and stream the result to
+ezstream: an Icecast server. Additional features include scriptable playlist
+ezstream: and metadata handling.