diff options
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/kmediafactory/README | 6 | ||||
-rw-r--r-- | multimedia/kmediafactory/doinst.sh | 14 | ||||
-rw-r--r-- | multimedia/kmediafactory/gcc47.patch | 11 | ||||
-rw-r--r-- | multimedia/kmediafactory/kmediafactory-0.8.1-ffmpeg0.11.patch | 19 | ||||
-rw-r--r-- | multimedia/kmediafactory/kmediafactory.SlackBuild | 109 | ||||
-rw-r--r-- | multimedia/kmediafactory/kmediafactory.info | 10 | ||||
-rw-r--r-- | multimedia/kmediafactory/slack-desc | 19 |
7 files changed, 0 insertions, 188 deletions
diff --git a/multimedia/kmediafactory/README b/multimedia/kmediafactory/README deleted file mode 100644 index 5509777593..0000000000 --- a/multimedia/kmediafactory/README +++ /dev/null @@ -1,6 +0,0 @@ -KMediaFactory is easy to use template based dvd authoring tool. -You can quickly create DVD menus for home videos and TV recordings -in three simple steps. - -Optional dependencies are kaffeine (for preview DVDs), mlt and -dvd-slideshow (for slideshows). diff --git a/multimedia/kmediafactory/doinst.sh b/multimedia/kmediafactory/doinst.sh deleted file mode 100644 index 9830478e8c..0000000000 --- a/multimedia/kmediafactory/doinst.sh +++ /dev/null @@ -1,14 +0,0 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi - -if [ -x /usr/bin/update-mime-database ]; then - /usr/bin/update-mime-database usr/share/mime >/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/multimedia/kmediafactory/gcc47.patch b/multimedia/kmediafactory/gcc47.patch deleted file mode 100644 index 65a62924b0..0000000000 --- a/multimedia/kmediafactory/gcc47.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur kmediafactory-r691.orig/lib/kmftools.cpp kmediafactory-r691/lib/kmftools.cpp ---- kmediafactory-r691.orig/lib/kmftools.cpp 2011-06-10 19:05:46.000000000 +0200 -+++ kmediafactory-r691/lib/kmftools.cpp 2012-09-19 07:54:15.485298848 +0200 -@@ -51,6 +51,7 @@ - #include <fontconfig/fontconfig.h> - #include <sys/stat.h> - #include <stdlib.h> -+#include <unistd.h> - - #include "Q4puGenericSignalSpy.h" - diff --git a/multimedia/kmediafactory/kmediafactory-0.8.1-ffmpeg0.11.patch b/multimedia/kmediafactory/kmediafactory-0.8.1-ffmpeg0.11.patch deleted file mode 100644 index 93b1bfa8e0..0000000000 --- a/multimedia/kmediafactory/kmediafactory-0.8.1-ffmpeg0.11.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- lib/videofile.cpp.ffmpeg 2012-07-30 04:42:30.000000000 +0000 -+++ lib/videofile.cpp 2012-07-30 04:43:24.000000000 +0000 -@@ -58,7 +58,6 @@ - static bool init=false; - if(!init) { - av_register_all(); -- avcodec_init(); - avcodec_register_all(); - av_log_set_level(0); - init=true; -@@ -66,7 +65,7 @@ - - close(); - -- if ( av_open_input_file(&avFromatContext, QFile::encodeName(filename).constData(), 0L, 0, 0L) != 0 || -+ if ( avformat_open_input(&avFromatContext, QFile::encodeName(filename).constData(), 0L, 0L) != 0 || - av_find_stream_info(avFromatContext) < 0) { - close(); - } diff --git a/multimedia/kmediafactory/kmediafactory.SlackBuild b/multimedia/kmediafactory/kmediafactory.SlackBuild deleted file mode 100644 index e1c50f9fce..0000000000 --- a/multimedia/kmediafactory/kmediafactory.SlackBuild +++ /dev/null @@ -1,109 +0,0 @@ -#!/bin/sh - -# Slackware build script for kmediafactory - -# Copyright 2010 by Giovanne Castro, Campinas, Sao Paulo, Brazil <giovannefc@ig.com.br> -# 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=kmediafactory -VERSION=${VERSION:-r691} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -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" - 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.?z* -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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Fix doctype version -sed -i "s/V4.1.2-Based/V4.2-Based/" doc/en/index.docbook - -# Fix for gcc-4.7.x -patch -p1 < $CWD/gcc47.patch - -# Thanks go to mageia for this patch -patch -p0 < $CWD/kmediafactory-0.8.1-ffmpeg0.11.patch - -mkdir -p build -cd build - cmake \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - -DMAN_INSTALL_DIR=/usr/man \ - -DCMAKE_BUILD_TYPE=Release .. - make - make install DESTDIR=$PKG -cd .. - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -# Copy documentation -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS COPYING CREDITS ChangeLog INSTALL NEWS README TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$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/multimedia/kmediafactory/kmediafactory.info b/multimedia/kmediafactory/kmediafactory.info deleted file mode 100644 index 03e01896fd..0000000000 --- a/multimedia/kmediafactory/kmediafactory.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="kmediafactory" -VERSION="r691" -HOMEPAGE="http://code.google.com/p/kmediafactory/" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/kmediafactory-r691.tar.xz" -MD5SUM="49d4ad5aeca21d90f014ff62edf6e80f" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="dvdauthor mjpegtools ffmpeg" -MAINTAINER="Giovanne Castro" -EMAIL="giovannefc@ig.com.br" diff --git a/multimedia/kmediafactory/slack-desc b/multimedia/kmediafactory/slack-desc deleted file mode 100644 index 6ce12151ce..0000000000 --- a/multimedia/kmediafactory/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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------------------------------------------------------| -kmediafactory: kmediafactory (DVD Authoring and Slide-show creator) -kmediafactory: -kmediafactory: KMediaFactory is easy to use template based dvd authoring tool. -kmediafactory: You can quickly create DVD menus for home videos and TV recordings -kmediafactory: in three simple steps. -kmediafactory: -kmediafactory: -kmediafactory: Homepage: http://code.google.com/p/kmediafactory/ -kmediafactory: -kmediafactory: -kmediafactory: |