summaryrefslogtreecommitdiff
path: root/graphics/luminance-hdr
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-25 18:32:44 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-27 01:09:48 +0700
commit6d81046be690a9a2cef28039be1b62e9791cf3e2 (patch)
treed9385f76950946e54b40e1b8cd4c902229b3a237 /graphics/luminance-hdr
parent8d4a89e032472b61027225c97004afa7b1d824fa (diff)
downloadslackbuilds-6d81046be690a9a2cef28039be1b62e9791cf3e2.tar.gz
graphics/luminance-hdr: Updated for version 2.6.0.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/luminance-hdr')
-rw-r--r--graphics/luminance-hdr/luminance-hdr.SlackBuild17
-rw-r--r--graphics/luminance-hdr/luminance-hdr.info6
2 files changed, 12 insertions, 11 deletions
diff --git a/graphics/luminance-hdr/luminance-hdr.SlackBuild b/graphics/luminance-hdr/luminance-hdr.SlackBuild
index 661bcc04c5..3bf2255295 100644
--- a/graphics/luminance-hdr/luminance-hdr.SlackBuild
+++ b/graphics/luminance-hdr/luminance-hdr.SlackBuild
@@ -22,10 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0,
+# by upgrading to v2.6.0. Also actually strip the binaries, and
+# get rid of INSTALL from the doc dir.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=luminance-hdr
-VERSION=${VERSION:-2.5.1}
+VERSION=${VERSION:-2.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,9 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -74,9 +75,9 @@ cd ${PRGNAM}-${VERSION}
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -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 {} \+
# Workround build failure with gcc-g++-4.9.3 and beyond (mangling bug?)
# (fails to link libmvec: "undefined reference to `_ZGVbN4vv_powf'" etc)
@@ -90,12 +91,12 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS BUGS Changelog INSTALL LICENSE README.md README.i18n TODO \
+ AUTHORS BUGS Changelog LICENSE README.md README.i18n TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/graphics/luminance-hdr/luminance-hdr.info b/graphics/luminance-hdr/luminance-hdr.info
index 58976b98ec..cc84ef4b63 100644
--- a/graphics/luminance-hdr/luminance-hdr.info
+++ b/graphics/luminance-hdr/luminance-hdr.info
@@ -1,8 +1,8 @@
PRGNAM="luminance-hdr"
-VERSION="2.5.1"
+VERSION="2.6.0"
HOMEPAGE="http://qtpfsgui.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/qtpfsgui/2.5.1/luminance-hdr-2.5.1.tar.bz2"
-MD5SUM="055278df2b370542ea57fcae86455ce5"
+DOWNLOAD="http://downloads.sourceforge.net/qtpfsgui/2.6.0/luminance-hdr-2.6.0.tar.bz2"
+MD5SUM="9ac2be847d304f0ddc7089b251825c4d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""