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>
This commit is contained in:
B. Watson 2022-02-25 18:32:44 -05:00 committed by Willy Sudiarto Raharjo
parent 8d4a89e032
commit 6d81046be6
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 12 additions and 11 deletions

View File

@ -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

View File

@ -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=""