summaryrefslogtreecommitdiffstats
path: root/vlc2
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2018-02-09 22:02:14 +0000
committer Eric Hameleers <alien@slackware.com>2018-02-09 22:02:14 +0000
commit3eee25c30a7042ce835e6fcf494e2e79515296b4 (patch)
tree0d8bb65150f238b3ad7c62e5c3706bf927ee6f91 /vlc2
parentceef63a9e46a6e5401d5cc65d704cbf616c94732 (diff)
downloadasb-3eee25c30a7042ce835e6fcf494e2e79515296b4.tar.gz
asb-3eee25c30a7042ce835e6fcf494e2e79515296b4.tar.xz
vlc2: renamed the package (was vlc)
Diffstat (limited to 'vlc2')
-rw-r--r--vlc2/build/slack-desc19
-rwxr-xr-xvlc2/build/vlc2.SlackBuild15
2 files changed, 27 insertions, 7 deletions
diff --git a/vlc2/build/slack-desc b/vlc2/build/slack-desc
new file mode 100644
index 00000000..e321cecb
--- /dev/null
+++ b/vlc2/build/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------------------------------------------------------|
+vlc2: vlc (multimedia player for various audio and video formats)
+vlc2:
+vlc2: VLC media player is a highly portable multimedia player for various
+vlc2: audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...)
+vlc2: as well as DVDs, VCDs, and various streaming protocols.
+vlc2: It can also be used as a server to stream in unicast or multicast in
+vlc2: IPv4 or IPv6 on a high-bandwidth network.
+vlc2:
+vlc2:
+vlc2: vlc home: http://www.videolan.org/vlc/
+vlc2:
diff --git a/vlc2/build/vlc2.SlackBuild b/vlc2/build/vlc2.SlackBuild
index 918d8494..f8524198 100755
--- a/vlc2/build/vlc2.SlackBuild
+++ b/vlc2/build/vlc2.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
# $Id$
-# Copyright 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017 Eric Hameleers, Eindhoven, Netherlands
+# Copyright 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 Eric Hameleers, Eindhoven, Netherlands
#
# Permission to use, copy, modify, and distribute this software for
# any purpose with or without fee is hereby granted, provided that
@@ -465,7 +465,8 @@
# -----------------------------------------------------------------------------
# Set initial variables:
-PRGNAM=vlc
+PRGNAM=vlc2
+SRCNAM=vlc
PRGNAM2=npapi-vlc
BUILD=${BUILD:-3}
NPBUILD=${NPBUILD:-1}
@@ -730,9 +731,9 @@ else
BRANCH=""
GITURI=""
SRCVER=$VERSION
- SRCURL[0]="http://download.videolan.org/pub/videolan/${PRGNAM}/${SRCVER}/${PRGNAM}-${SRCVER}.tar.xz"
+ SRCURL[0]="http://download.videolan.org/pub/videolan/${SRCNAM}/${SRCVER}/${SRCNAM}-${SRCVER}.tar.xz"
fi
-SOURCE[0]="$SRCDIR/${PRGNAM}-${SRCVER}.tar.xz"
+SOURCE[0]="$SRCDIR/${SRCNAM}-${SRCVER}.tar.xz"
SRCPAT[0]="NO"
USE[0]="YES"
@@ -3787,7 +3788,7 @@ cd $TMP/tmp-$PRGNAM
# Determine the actual version of the program, and
# optionally the development branch it came from:
-if [ ! -d {PRGNAM}-${SRCVER} ]; then
+if [ ! -d {SRCNAM}-${SRCVER} ]; then
NEWVER=$(ls -1 -d --indicator-style=none vlc-* 2>/dev/null)
if [ -n "$NEWVER" ]; then
echo "##"
@@ -3820,7 +3821,7 @@ if [ "$STATIC_QT4" = "YES" ]; then
export PATH="$NEWPATH"
fi
-cd $TMP/tmp-$PRGNAM/${PRGNAM}-${SRCVER}
+cd $TMP/tmp-$PRGNAM/${SRCNAM}-${SRCVER}
echo "" >$OUTPUT/patch-${PRGNAM}.log
## Configure a default Slackware TTF font:
@@ -4080,7 +4081,7 @@ echo -e "**\n** building the $PRGNAM package (version $PKGVERSION) ...\n**"
#
# Install all the needed stuff to the package dir
#
-cd $TMP/tmp-$PRGNAM/${PRGNAM}-${SRCVER}
+cd $TMP/tmp-$PRGNAM/${SRCNAM}-${SRCVER}
make DESTDIR=$PKG install 2>&1 |tee $OUTPUT/install-${PRGNAM}.log