multimedia/openshot: Updated for version 1.1.1.

This commit is contained in:
Jonathan Larsen 2010-03-22 02:50:57 -05:00 committed by Erik Hanson
parent a82b64be56
commit ed5865e516
3 changed files with 27 additions and 9 deletions

View File

@ -1,4 +1,4 @@
OpenShot Video Editor(TM) is an open-source program that creates, modifies,
and edits video files.
Requirements: mlt, frei0r, and pygoocanvas. Available at SlackBuilds.org
Requirements: mlt, ffmpeg, frei0r, goocanvas, pygoocanvas, pyxdg

View File

@ -20,10 +20,19 @@
# 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.
#
# Jan 10, 2010 - Initial Creation
#
# Feb 14, 2010 - Fixed version info as openshot got rid of the "-1" at the end.
# Also updated README to reflect the missing required DEP - pyxdg
#
# Mar 3rd, 2010
# Upgraded script to version 1.1.1
# fixed the "strip" for bash 4 compatability
#
PRGNAM=openshot
VERSION=1.0.0
SRC=-1
VERSION=1.1.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -51,8 +60,8 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM
tar xvf $CWD/${PRGNAM}_${VERSION}${SRC}.tar.gz || exit 1
cd $PRGNAM
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@ -62,6 +71,14 @@ find . \
python setup.py install --root=$PKG
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
)
# mkdir -p $PKG/usr/man
mv $PKG/usr/share/man $PKG/usr/
rm -rf $PKG/usr/share/man
@ -71,6 +88,7 @@ rm -rf $PKG/usr/share/man
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$PRGNAM-$VERSION
cp -a AUTHORS COPYING README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View File

@ -1,10 +1,10 @@
PRGNAM="openshot"
VERSION="1.0.0-1"
VERSION="1.1.1"
HOMEPAGE="http://www.openshotvideo.com"
DOWNLOAD="http://launchpad.net/openshot/1.0/1.0.0/+download/openshot_1.0.0-1.tar.gz"
MD5SUM="bb3e0b397c905e5fae11bc2e5ecccdbb"
DOWNLOAD="http://launchpad.net/openshot/1.1/1.1.1/+download/openshot-1.1.1.tar.gz"
MD5SUM="3e0f383384ac6cf129c009a7dd2ebd78"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Jonathan Larsen"
EMAIL="agentc0re@learnix.net"
APPROVED="dsomero"
APPROVED="Erik Hanson"