diff options
author | Klaatu <klaatu@member.fsf.org> | 2016-07-27 00:40:48 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-07-30 08:28:31 +0700 |
commit | 76882053d09234775addb503f0ee383d6804e84a (patch) | |
tree | 189b578d97c8b75c9781e47791785adbc8b69057 /audio | |
parent | 0f6e918737a1d48cc2dac464e31609447a15825c (diff) |
audio/butt: Added (Broadcast Using This Tool).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/butt/AJ-simple-radio.svg | 429 | ||||
-rw-r--r-- | audio/butt/README | 17 | ||||
-rw-r--r-- | audio/butt/butt.SlackBuild | 95 | ||||
-rw-r--r-- | audio/butt/butt.desktop | 76 | ||||
-rw-r--r-- | audio/butt/butt.info | 10 | ||||
-rw-r--r-- | audio/butt/doinst.sh | 22 | ||||
-rw-r--r-- | audio/butt/slack-desc | 19 |
7 files changed, 668 insertions, 0 deletions
diff --git a/audio/butt/AJ-simple-radio.svg b/audio/butt/AJ-simple-radio.svg new file mode 100644 index 0000000000000..c5a17815bb3f6 --- /dev/null +++ b/audio/butt/AJ-simple-radio.svg @@ -0,0 +1,429 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> +<svg + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns="http://www.w3.org/2000/svg" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:ns1="http://sozi.baierouge.fr" + xmlns:xlink="http://www.w3.org/1999/xlink" + id="svg1287" + sodipodi:docname="simple-radio.svg" + viewBox="0 0 375 450" + sodipodi:version="0.32" + version="1.0" + inkscape:output_extension="org.inkscape.output.svg.inkscape" + y="0" + x="0" + inkscape:version="0.46" + > + <sodipodi:namedview + id="base" + bordercolor="#666666" + inkscape:pageshadow="2" + guidetolerance="10.0" + pagecolor="#ffffff" + gridtolerance="10.0" + inkscape:zoom="0.51777778" + objecttolerance="10.0" + borderopacity="1.0" + inkscape:current-layer="svg1287" + inkscape:cx="179.89542" + inkscape:cy="198.01049" + inkscape:window-y="171" + inkscape:window-x="353" + inkscape:window-height="658" + showgrid="false" + inkscape:pageopacity="0.0" + inkscape:window-width="640" + /> + <g + id="layer1" + > + <path + id="rect1921" + style="fill:#000000" + d="m118.08 290.55c-6.52 0-11.77 5.44-11.77 12.21v51.44c0 6.76 5.25 12.21 11.77 12.21h2.87v-64.96h307.33v64.96h2.86c6.52 0 11.77-5.45 11.77-12.21v-51.44c0-6.77-5.25-12.21-11.77-12.21h-313.06z" + transform="translate(-87.106 -161.11)" + /> + <rect + id="rect1297" + style="fill:#000000" + transform="translate(-87.106 -161.11)" + height="265.75" + width="372.05" + y="343.7" + x="88.583" + /> + <rect + id="rect1920" + style="stroke-linejoin:round;stroke:#ffffff;stroke-linecap:round;stroke-width:3.75;fill:#969696" + transform="translate(-87.106 -161.11)" + height="160.02" + width="334.71" + y="432.28" + x="108.21" + /> + <path + id="path1924" + style="fill:#ffffff" + d="m159.45 387.99a26.575 26.575 0 1 1 -53.15 0 26.575 26.575 0 1 1 53.15 0z" + transform="translate(194.48 -162.98)" + /> + <path + id="path1925" + style="fill:#ffffff" + d="m159.45 387.99a26.575 26.575 0 1 1 -53.15 0 26.575 26.575 0 1 1 53.15 0z" + transform="translate(-85.231 -162.98)" + /> + <rect + id="rect1926" + style="stroke-linejoin:round;stroke:#ffffff;stroke-linecap:round;stroke-width:3.75;fill:#969696" + transform="translate(-87.106 -161.11)" + height="33.738" + width="194.88" + y="363.2" + x="177.17" + /> + <path + id="path2564" + style="stroke-linejoin:round;stroke:#000000;stroke-linecap:round;stroke-width:7.5;fill:none" + d="m70.866 343.7v-170.91" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2567" + style="fill:#000000" + d="m81.611 173.51a10.745 10.745 0 1 1 -21.49 0 10.745 10.745 0 1 1 21.49 0z" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2569" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m106.3 371.08v17.99" + transform="translate(6.2008 -161.11)" + /> + <path + id="path2577" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m131.3 371.08v17.99" + transform="translate(6.2008 -161.11)" + /> + <path + id="path2578" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m156.3 371.08v17.99" + transform="translate(6.2008 -161.11)" + /> + <path + id="path2579" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m181.3 371.08v17.99" + transform="translate(6.2008 -161.11)" + /> + <path + id="path2580" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m206.3 371.08v17.99" + transform="translate(6.2008 -161.11)" + /> + <path + id="path2581" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m231.3 371.08v17.99" + transform="translate(6.2008 -161.11)" + /> + <path + id="path2582" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m256.3 371.08v17.99" + transform="translate(6.2008 -161.11)" + /> + <path + id="path2606" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m117.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2607" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m142.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2608" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m167.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2609" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m192.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2610" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m217.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2611" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m242.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2612" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m267.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2613" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m122.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2614" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m147.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2615" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m172.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2616" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m197.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2617" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m222.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2618" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m247.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2619" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m272.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2620" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m127.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2621" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m152.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2622" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m177.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2623" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m202.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2624" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m227.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2625" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m252.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2626" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m277.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2627" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m132.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2628" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m157.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2629" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m182.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2630" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m207.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2631" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m232.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2632" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m257.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2634" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m97.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2635" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m102.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <path + id="path2636" + style="stroke:#000000;stroke-width:1.2111pt;fill:none" + d="m107.5 374.4v11.35" + transform="translate(-3.54e-7 -161.11)" + /> + <rect + id="rect1927" + style="fill:#ffffff" + transform="translate(-3.54e-7 -161.11)" + height="27.563" + width="7.7247" + y="369.29" + x="220.68" + /> + </g + > + <metadata + > + <rdf:RDF + > + <cc:Work + > + <dc:format + >image/svg+xml</dc:format + > + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" + /> + <cc:license + rdf:resource="http://creativecommons.org/licenses/publicdomain/" + /> + <dc:publisher + > + <cc:Agent + rdf:about="http://openclipart.org/" + > + <dc:title + >Openclipart</dc:title + > + </cc:Agent + > + </dc:publisher + > + <dc:title + >simple radio</dc:title + > + <dc:date + >2008-09-02T21:40:21</dc:date + > + <dc:description + /> + <dc:source + >https://openclipart.org/detail/18993/simple-radio-by-aj</dc:source + > + <dc:creator + > + <cc:Agent + > + <dc:title + >AJ</dc:title + > + </cc:Agent + > + </dc:creator + > + <dc:subject + > + <rdf:Bag + > + <rdf:li + >broadcast</rdf:li + > + <rdf:li + >editorial pick</rdf:li + > + <rdf:li + >electronic</rdf:li + > + <rdf:li + >music</rdf:li + > + <rdf:li + >radio</rdf:li + > + </rdf:Bag + > + </dc:subject + > + </cc:Work + > + <cc:License + rdf:about="http://creativecommons.org/licenses/publicdomain/" + > + <cc:permits + rdf:resource="http://creativecommons.org/ns#Reproduction" + /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#Distribution" + /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#DerivativeWorks" + /> + </cc:License + > + </rdf:RDF + > + </metadata + > +</svg +> diff --git a/audio/butt/README b/audio/butt/README new file mode 100644 index 0000000000000..ab7cff3aa6766 --- /dev/null +++ b/audio/butt/README @@ -0,0 +1,17 @@ +butt (broadcast using this tool) is an easy to use, multi OS streaming tool. + +It supports ShoutCast and IceCast. + +After installation, be sure to read /usr/doc/butt-0.1.15/README for setup info. + +http://sourceforge.net/projects/butt + +irc.freenode.org #butt + + +Optional dependency: jack-audio-connection-kit + +Technically, you don't HAVE to compile this with lame for mp3 support, +although that is the default of the configure script and so of this +slackbuild. If you want to not support mp3, then you can exclude lame +and set --without-mp3 as a configure option. diff --git a/audio/butt/butt.SlackBuild b/audio/butt/butt.SlackBuild new file mode 100644 index 0000000000000..8cfe05ed28d5a --- /dev/null +++ b/audio/butt/butt.SlackBuild @@ -0,0 +1,95 @@ +#!/bin/sh + +# Slackware build script for butt +# Copyright 2013 klaatu klaatu@member.fsf.org +# +# GNU All Permissive License +# Copying and distribution of this file, with or without modification, +# are permitted in any medium without royalty provided the copyright +# notice and this notice are preserved. This file is offered as-is, +# without any warranty. + +PRGNAM=butt +VERSION=${VERSION:-0.1.15} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PREFIX=${PREFIX:-/usr} +MANDIR=${MANDIR:-$PREFIX/man} +DOCDIR=${DOCDIR:-$PREFIX/doc} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +else + SLKCFLAGS="-O2" +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 . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix $PREFIX \ + --docdir $DOCDIR + +mkdir -p $PKG/$PREFIX/bin +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f + +# desktop file, added to SlackBuild for convenience +mkdir -p $PKG/usr/share/applications/ +cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications/ + +# icon file, added to SlackBuild for convenience +mkdir -p $PKG/usr/share/icons/hicolor/scalable/apps +cp $CWD/AJ-simple-radio.svg $PKG/usr/share/icons/hicolor/scalable/apps/$PRGNAM.svg + +mkdir -p $PKG/$DOCDIR/$PRGNAM-$VERSION +cp -a \ + ChangeLog KNOWN_BUGS AUTHORS \ + INSTALL THANKS COPYING README \ + $PKG/$DOCDIR/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/$DOCDIR/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/audio/butt/butt.desktop b/audio/butt/butt.desktop new file mode 100644 index 0000000000000..c4caebd297472 --- /dev/null +++ b/audio/butt/butt.desktop @@ -0,0 +1,76 @@ +[Desktop Entry] +Name=butt +Name[af]=butt +Name[as]=butt +Name[ast]=butt +Name[be]=butt +Name[be@latin]=butt +Name[bg]=butt +Name[bn_IN]=butt +Name[ca]=butt +Name[ca@valencia]=butt +Name[cs]=butt +Name[csb]=butt +Name[da]=butt +Name[de]=butt +Name[el]=butt +Name[en_GB]=butt +Name[eo]=butt +Name[es]=butt +Name[et]=butt +Name[eu]=butt +Name[fi]=butt +Name[fr]=butt +Name[ga]=butt +Name[gl]=butt +Name[he]=butt +Name[hr]=butt +Name[hsb]=butt +Name[hu]=butt +Name[ia]=butt +Name[id]=butt +Name[is]=butt +Name[it]=butt +Name[ja]=butt +Name[ka]=butt +Name[kk]=butt +Name[km]=butt +Name[ko]=butt +Name[ku]=butt +Name[lt]=butt +Name[lv]=butt +Name[ms]=butt +Name[nb]=butt +Name[nds]=butt +Name[nl]=butt +Name[nn]=butt +Name[oc]=butt +Name[pl]=butt +Name[pt]=butt +Name[pt_BR]=butt +Name[ro]=butt +Name[ru]=butt +Name[se]=butt +Name[sk]=butt +Name[sl]=butt +Name[sr@ijekavianlatin]=butt +Name[sr@latin]=butt +Name[sv]=butt +Name[tg]=butt +Name[tr]=butt +Name[ug]=butt +Name[uk]=butt +Name[uz]=butt +Name[uz@cyrillic]=butt +Name[vi]=butt +Name[wa]=butt +Name[x-test]=xxbuttxx +Name[zh_CN]=butt +Name[zh_TW]=butt +Exec=butt +Icon=butt +Type=Application +Categories=Audio;Sound; +GenericName=Broadcast Using This Tool +GenericName[x-test]=xxBroadcast Using This Toolxx +Terminal=false diff --git a/audio/butt/butt.info b/audio/butt/butt.info new file mode 100644 index 0000000000000..67bee793ca6be --- /dev/null +++ b/audio/butt/butt.info @@ -0,0 +1,10 @@ +PRGNAM="butt" +VERSION="0.1.15" +HOMEPAGE="butt.sourceforge.net" +DOWNLOAD="http://ufpr.dl.sourceforge.net/project/butt/butt/butt-0.1.15/butt-0.1.15.tar.gz" +MD5SUM="0440f29a060636010a0a62cb73b35a82" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="portaudio fltk lame opus libfdk-aac" +MAINTAINER="Klaatu" +EMAIL="klaatu@member.fsf.org" diff --git a/audio/butt/doinst.sh b/audio/butt/doinst.sh new file mode 100644 index 0000000000000..9d12120d19110 --- /dev/null +++ b/audio/butt/doinst.sh @@ -0,0 +1,22 @@ +config() { + NEW="$1" + OLD="$(dirname $NEW)/$(basename $NEW .new)" + # If there's no config file by that name, mv it over: + if [ ! -r $OLD ]; then + mv $NEW $OLD + elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then + # toss the redundant copy + rm $NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/audio/butt/slack-desc b/audio/butt/slack-desc new file mode 100644 index 0000000000000..b6cc2e87d288f --- /dev/null +++ b/audio/butt/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------------------------------------------------------| +butt: butt (broadcast using this tool) +butt: +butt: Butt is a streaming interface that supports Shoutcast and Icecast. +butt: Use butt to do live streaming. It is not necessary for pre-recorded +butt: streams; for that, you can use only icecast and ices and/or ices-cc. +butt: +butt: http://butt.sourceforge.net +butt: +butt: +butt: +butt: |