mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
desktop/ssr: Updated for version 0.3.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
This commit is contained in:
parent
2d60e09e4d
commit
b1b4373e87
4 changed files with 29 additions and 8 deletions
|
@ -1,2 +1,6 @@
|
|||
SimpleScreenRecorder is a feature-rich screen recorder for Linux that supports
|
||||
X11 and OpenGL.
|
||||
|
||||
For JACK audio support (requires the jack-audio-connection-kit package) set
|
||||
JACK=on. For PulseAudio support (requires the pulseaudio package), set
|
||||
PULSEAUDIO=on.
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications
|
||||
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
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=ssr
|
||||
VERSION=${VERSION:-0.2.2}
|
||||
VERSION=${VERSION:-0.3.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -71,7 +71,18 @@ 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 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
if [ "${JACK:-off}" = "on" ]; then
|
||||
jack="--enable-jack"
|
||||
else
|
||||
jack="--disable-jack"
|
||||
fi
|
||||
if [ "${PULSEAUDIO:-off}" = "on" ]; then
|
||||
pulseaudio="--enable-pulseaudio"
|
||||
else
|
||||
pulseaudio="--disable-pulseaudio"
|
||||
fi
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
|
@ -79,8 +90,8 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--disable-assert \
|
||||
--disable-jack \
|
||||
--disable-pulseaudio \
|
||||
$jack \
|
||||
$pulseaudio \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
|
@ -90,7 +101,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
|
|||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a COPYING notes.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a CHANGELOG.md COPYING notes.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="ssr"
|
||||
VERSION="0.2.2"
|
||||
VERSION="0.3.0"
|
||||
HOMEPAGE="http://www.maartenbaert.be/simplescreenrecorder/"
|
||||
DOWNLOAD="https://github.com/MaartenBaert/ssr/archive/0.2.2.tar.gz"
|
||||
MD5SUM="d3d59ffd71a7560448d05f858ad8b5a5"
|
||||
DOWNLOAD="https://github.com/MaartenBaert/ssr/archive/0.3.0.tar.gz"
|
||||
MD5SUM="35b7e399e9934a5e169525b8c8dad0e6"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="ffmpeg"
|
||||
|
|
Loading…
Reference in a new issue