aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Larsen <agentc0re@learnix.net>2010-03-22 02:50:57 -0500
committerErik Hanson <erik@slackbuilds.org>2010-05-13 14:27:21 +0200
commited5865e5160a0c095e34e5f691a87d6965376581 (patch)
tree1d80d3958a0f0c5e8fefae4ecdbe92db0959046e
parenta82b64be56607f5defdc868b83cff08d8d9d4fcc (diff)
multimedia/openshot: Updated for version 1.1.1.
-rw-r--r--multimedia/openshot/README2
-rw-r--r--multimedia/openshot/openshot.SlackBuild26
-rw-r--r--multimedia/openshot/openshot.info8
3 files changed, 27 insertions, 9 deletions
diff --git a/multimedia/openshot/README b/multimedia/openshot/README
index d08c42b94aaf..57317da7394b 100644
--- a/multimedia/openshot/README
+++ b/multimedia/openshot/README
@@ -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
diff --git a/multimedia/openshot/openshot.SlackBuild b/multimedia/openshot/openshot.SlackBuild
index d45435324906..960ee48bc3e0 100644
--- a/multimedia/openshot/openshot.SlackBuild
+++ b/multimedia/openshot/openshot.SlackBuild
@@ -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
diff --git a/multimedia/openshot/openshot.info b/multimedia/openshot/openshot.info
index 069dd6e4d3af..b3fc5ac8a4a1 100644
--- a/multimedia/openshot/openshot.info
+++ b/multimedia/openshot/openshot.info
@@ -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"