multimedia/mlt: Updated for version 0.5.2.

This commit is contained in:
stormtracknole 2010-03-22 02:43:06 -05:00 committed by Erik Hanson
parent 9d295ae5e2
commit a82b64be56
3 changed files with 29 additions and 8 deletions

View File

@ -8,3 +8,6 @@ extensible plug-in based API.
This requires libdv, libsamplerate, and ffmpeg.
libquicktime is optional but recommended, since it will be needed
by kdenlive anyway.
Optional:
By default PYTHON=yes for openshot.

View File

@ -6,11 +6,25 @@
# Modified by Erik Hanson (erik@slackbuilds.org) with
# help from Jonathan Larsen (agentc0re@learnix.net)
#
# Feb 16, 2010 - Modified the script and defined the $PYTHON variable
# outside of the if statement because it was causing issues with
# the other if statement that also relies on it's answer.
# - Fixed the second PYTHON if statement that finds the site package
# directory. Added parentheses around the part that cd's into the
# python swig src to copy the files to the site packages so that it
# would interfere with the CWD before it
#
# Mar 3rd, 2010
# *Version upgrade to 0.5.2
# *fixed the "strip" for bash 4 compatability
#
PRGNAM=mlt
VERSION=${VERSION:-0.4.10}
VERSION=${VERSION:-0.5.2}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@ -18,6 +32,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
PYTHON=${PYTHON:-yes}
# SWIG Languages:
if [ "${JAVA:-no}" = "no" ]; then java=""; else java="java"; fi
if [ "${LUA:-no}" = "no" ]; then lua=""; else lua="lua"; fi
@ -75,8 +91,10 @@ make install DESTDIR=$PKG
if [ $PYTHON = "yes" ]; then
PYTHONSITEPKG=$(python -c "import sys, os; print os.path.join('/usr/lib${LIBDIRSUFFIX}', 'python%s' % sys.version[:3], 'site-packages')")
mkdir -p $PKG/$PYTHONSITEPKG
cd $TMP/$PRGNAM-$VERSION/src/swig/python
cp -a _mlt.so mlt.py mlt_wrap.o $PKG/$PYTHONSITEPKG
(
cd $TMP/$PRGNAM-$VERSION/src/swig/python || true
cp -a _mlt.so mlt.py mlt_wrap.o $PKG/$PYTHONSITEPKG || true
)
fi
( cd $PKG

View File

@ -1,10 +1,10 @@
PRGNAM="mlt"
VERSION="0.4.10"
VERSION="0.5.2"
HOMEPAGE="http://mltframework.org/"
DOWNLOAD="http://downloads.sourceforge.net/mlt/mlt-0.4.10.tar.gz"
MD5SUM="7b0ba842277ea0a77e40a15917ab623f"
DOWNLOAD="http://downloads.sourceforge.net/mlt/mlt-0.5.2.tar.gz"
MD5SUM="8d556b11710fc24801e06b893ac5d61b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="stormtracknole"
EMAIL="stormtracknole@gmail.com"
APPROVED="dsomero"
APPROVED="Erik Hanson"