diff options
author | Benjamin Trigona-Harany <bosth@alumni.sfu.ca> | 2014-08-07 21:27:16 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-08-09 07:44:09 +0700 |
commit | b1b4373e878161a703b8ab33d8c01f841469b700 (patch) | |
tree | 9c803142a7dbc82bf63c524e4ae67efce4d187ee /desktop | |
parent | 2d60e09e4dc5c56d8e63436530c17675cd0f9c27 (diff) |
desktop/ssr: Updated for version 0.3.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/ssr/README | 4 | ||||
-rw-r--r-- | desktop/ssr/doinst.sh | 6 | ||||
-rw-r--r-- | desktop/ssr/ssr.SlackBuild | 21 | ||||
-rw-r--r-- | desktop/ssr/ssr.info | 6 |
4 files changed, 29 insertions, 8 deletions
diff --git a/desktop/ssr/README b/desktop/ssr/README index 71573ef4aba2..9e02a13da4c9 100644 --- a/desktop/ssr/README +++ b/desktop/ssr/README @@ -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. diff --git a/desktop/ssr/doinst.sh b/desktop/ssr/doinst.sh index 140e33222297..5934a15ab1ef 100644 --- a/desktop/ssr/doinst.sh +++ b/desktop/ssr/doinst.sh @@ -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 diff --git a/desktop/ssr/ssr.SlackBuild b/desktop/ssr/ssr.SlackBuild index 85e849f1abb6..1f0854add74e 100644 --- a/desktop/ssr/ssr.SlackBuild +++ b/desktop/ssr/ssr.SlackBuild @@ -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 diff --git a/desktop/ssr/ssr.info b/desktop/ssr/ssr.info index 80c691f25ac0..f54caca5e7a9 100644 --- a/desktop/ssr/ssr.info +++ b/desktop/ssr/ssr.info @@ -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" |