summaryrefslogtreecommitdiff
path: root/graphics/screengrab
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-11-05 12:40:40 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-06 00:56:08 -0600
commitf4d1eaaea808220d06ca257a9ba129db62bd79cb (patch)
tree8b262d6e3b162b1a6f98c69fdb30619a961f0c37 /graphics/screengrab
parent009c3b1af3501c4ef05cce8891e13142ae01687e (diff)
downloadslackbuilds-f4d1eaaea808220d06ca257a9ba129db62bd79cb.tar.gz
graphics/screengrab: Updated for version 1.0, added license.
Changed homepage Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics/screengrab')
-rw-r--r--graphics/screengrab/screengrab.SlackBuild29
-rw-r--r--graphics/screengrab/screengrab.info8
-rw-r--r--graphics/screengrab/slack-desc2
3 files changed, 31 insertions, 8 deletions
diff --git a/graphics/screengrab/screengrab.SlackBuild b/graphics/screengrab/screengrab.SlackBuild
index 4d758a7dcf..2863016694 100644
--- a/graphics/screengrab/screengrab.SlackBuild
+++ b/graphics/screengrab/screengrab.SlackBuild
@@ -1,10 +1,28 @@
#!/bin/sh
# Slackware build script for screengrab
-# Written by Matteo Bernardini <ponce@slackbuilds.org>
+# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# 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.
PRGNAM=screengrab
-VERSION=${VERSION:-0.9.85}
+VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -21,6 +39,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+IS64BITS=0
+RESPECTLIB64=0
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -29,7 +49,8 @@ elif [ "$ARCH" = "i686" ]; then
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
+ IS64BITS=1
+ RESPECTLIB64=1
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -56,6 +77,8 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DIS64BITS=$IS64BITS \
+ -DRESPECTLIB64=$RESPECTLIB64 \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
diff --git a/graphics/screengrab/screengrab.info b/graphics/screengrab/screengrab.info
index 632a70e24f..1669f1c21b 100644
--- a/graphics/screengrab/screengrab.info
+++ b/graphics/screengrab/screengrab.info
@@ -1,8 +1,8 @@
PRGNAM="screengrab"
-VERSION="0.9.85"
-HOMEPAGE="http://code.google.com/p/screengrab-qt/"
-DOWNLOAD="http://screengrab-qt.googlecode.com/files/screengrab-0.9.85.tar.gz"
-MD5SUM="4773aa90c1f2da9098a5abf6f33f8c15"
+VERSION="1.0"
+HOMEPAGE="http://screengrab.doomer.org"
+DOWNLOAD="http://screengrab.doomer.org/download/screengrab-1_0_/"
+MD5SUM="9b5c09754c544d485933e7847c80f548"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/screengrab/slack-desc b/graphics/screengrab/slack-desc
index cf866c879f..4cba699a73 100644
--- a/graphics/screengrab/slack-desc
+++ b/graphics/screengrab/slack-desc
@@ -13,7 +13,7 @@ screengrab: It can grab screenshot (also with a delay and using shortcuts) of th
screengrab: desktop, of the active window and of a selected area; it can copy the
screengrab: result in the clipboard and save it in jpg or png format.
screengrab:
-screengrab: homepage: http://code.google.com/p/screengrab-qt/
+screengrab: homepage: http://screengrab.doomer.org
screengrab:
screengrab:
screengrab: