diff options
author | Konstantin Oshovskij <limulus@balticum-tv.lt> | 2010-05-11 20:01:19 +0200 |
---|---|---|
committer | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-11 20:01:19 +0200 |
commit | 513f419ff58efb294d3260a7dbb3a41933ff0d3c (patch) | |
tree | b5fce27e616036c1003b8e4e5dc8a85008021d6f /multimedia | |
parent | 89528679c0f10f3803addf4e13e044471fee3f40 (diff) | |
download | slackbuilds-513f419ff58efb294d3260a7dbb3a41933ff0d3c.tar.gz |
multimedia/kdetv: Added to 12.0 repository
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/kdetv/README | 7 | ||||
-rw-r--r-- | multimedia/kdetv/kdetv.SlackBuild | 79 | ||||
-rw-r--r-- | multimedia/kdetv/kdetv.info | 8 | ||||
-rw-r--r-- | multimedia/kdetv/slack-desc | 19 |
4 files changed, 113 insertions, 0 deletions
diff --git a/multimedia/kdetv/README b/multimedia/kdetv/README new file mode 100644 index 0000000000..dbf4deadf8 --- /dev/null +++ b/multimedia/kdetv/README @@ -0,0 +1,7 @@ +kdetv is a KDE application that allows you to watch television on +your GNU/Linux box running KDE. Features of kdetv include three +view modes, deinterlacing, overscan, a channel scanner, the ability +to import the channel files of three other TV-tuner applications, +teletext and closed caption decoding, and an easy-to-use graphical +interface. The application supports remote controls using KDELIRC. +kdetv was previously known as QtVision or kwintv3. diff --git a/multimedia/kdetv/kdetv.SlackBuild b/multimedia/kdetv/kdetv.SlackBuild new file mode 100644 index 0000000000..d552f6ba47 --- /dev/null +++ b/multimedia/kdetv/kdetv.SlackBuild @@ -0,0 +1,79 @@ +#!/bin/sh + +# Slackware build script for kdetv + +# Copyright 2008 Konstantin Oshovskij <limulus@balticum-tv.lt> +# 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=kdetv +VERSION=0.8.9 +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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" +fi + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP || exit 1 +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 +cd $PRGNAM-$VERSION || exit 1 +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --enable-kdetv-lirc \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --build=i486-slackware-linux \ + || exit 1 + +make || exit 1 +make install DESTDIR=$PKG || exit 1 + +( cd $PKG + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +) + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog INSTALL README TODO $CWD/$PRGNAM.SlackBuild \ + $PKG/usr/doc/$PRGNAM-$VERSION +find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \; + + +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.tgz diff --git a/multimedia/kdetv/kdetv.info b/multimedia/kdetv/kdetv.info new file mode 100644 index 0000000000..4625ff9cec --- /dev/null +++ b/multimedia/kdetv/kdetv.info @@ -0,0 +1,8 @@ +PRGNAM="kdetv" +VERSION="0.8.9" +HOMEPAGE="http://dziegel.free.fr/releases/" +DOWNLOAD="http://dziegel.free.fr/releases/kdetv-0.8.9.tar.bz2" +MD5SUM="7a5d73e08bc133cc2db228cb6655670e" +MAINTAINER="Konstantin Oshovskij" +EMAIL="limulus@balticum-tv.lt" +APPROVED="Michiel"
\ No newline at end of file diff --git a/multimedia/kdetv/slack-desc b/multimedia/kdetv/slack-desc new file mode 100644 index 0000000000..3e2a9d0f7d --- /dev/null +++ b/multimedia/kdetv/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 ':'. + + |-----handy-ruler-------------------------------------------------------| +kdetv: kdetv (Watch TV on your KDE desktop) +kdetv: +kdetv: kdetv is a KDE application that allows you to watch television on +kdetv: your GNU/Linux box running KDE. Features of kdetv include three +kdetv: view modes, deinterlacing, overscan, a channel scanner, the ability +kdetv: to import the channel files of three other TV-tuner applications, +kdetv: teletext and closed caption decoding, and an easy-to-use graphical +kdetv: interface. The application supports remote controls using KDELIRC. +kdetv: kdetv was previously known as QtVision or kwintv3. +kdetv: +kdetv: |