summaryrefslogtreecommitdiffstats
path: root/source/l/LibRaw
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/LibRaw')
-rwxr-xr-xsource/l/LibRaw/LibRaw.SlackBuild10
-rw-r--r--source/l/LibRaw/LibRaw.url1
-rw-r--r--source/l/LibRaw/slack-desc14
3 files changed, 11 insertions, 14 deletions
diff --git a/source/l/LibRaw/LibRaw.SlackBuild b/source/l/LibRaw/LibRaw.SlackBuild
index 176d53bfb..302f7c13a 100755
--- a/source/l/LibRaw/LibRaw.SlackBuild
+++ b/source/l/LibRaw/LibRaw.SlackBuild
@@ -24,8 +24,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=LibRaw
-VERSION=${VERSION:-0.18.12}
-DEMOSAIC=${DEMOSAIC:-0.18.8}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -82,8 +81,6 @@ rm -rf $PKGNAM-$VERSION-build
mkdir $PKGNAM-$VERSION-build
cd $PKGNAM-$VERSION-build
tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
-tar xvf $CWD/$PKGNAM-demosaic-pack-GPL2-$DEMOSAIC.tar.?z || exit 1
-tar xvf $CWD/$PKGNAM-demosaic-pack-GPL3-$DEMOSAIC.tar.?z || exit 1
cd $PKGNAM-$VERSION || exit 1
chown -R root:root .
@@ -96,6 +93,8 @@ find . \
# Don't use icecream:
PATH=$(echo $PATH | sed "s|/usr/libexec/icecc/bin||g" | tr -s : | sed "s/^://g" | sed "s/:$//g")
+autoreconf -vif
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -106,8 +105,6 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PKGNAM-$VERSION \
--disable-static \
- --enable-demosaic-pack-gpl2=../LibRaw-demosaic-pack-GPL2-$DEMOSAIC \
- --enable-demosaic-pack-gpl3=../LibRaw-demosaic-pack-GPL3-$DEMOSAIC \
--enable-jasper \
--enable-lcms \
--disable-examples \
@@ -134,4 +131,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
-
diff --git a/source/l/LibRaw/LibRaw.url b/source/l/LibRaw/LibRaw.url
new file mode 100644
index 000000000..1fdefc8b6
--- /dev/null
+++ b/source/l/LibRaw/LibRaw.url
@@ -0,0 +1 @@
+https://www.libraw.org/download
diff --git a/source/l/LibRaw/slack-desc b/source/l/LibRaw/slack-desc
index 9f5e73e85..d5eb44c8f 100644
--- a/source/l/LibRaw/slack-desc
+++ b/source/l/LibRaw/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
LibRaw: LibRaw (library for decoding raw digital photos)
LibRaw:
-LibRaw: LibRaw is a library for reading RAW files obtained from digital
-LibRaw: cameras (CRW/CR2, NEF, RAF, DNG, and others). It is based on the
-LibRaw: source code of the dcraw utility.
-LibRaw:
-LibRaw: Homepage: http://www.libraw.org/
-LibRaw:
-LibRaw:
+LibRaw: LibRaw is a library for reading RAW files from digital photo cameras
+LibRaw: (CRW/CR2, NEF, RAF, DNG, MOS, KDC, DCR, etc, virtually all RAW formats
+LibRaw: are supported). It pays special attention to correct retrieval of data
+LibRaw: required for subsequent RAW conversion. The library is intended for
+LibRaw: embedding in RAW converters, data analyzers, and other programs using
+LibRaw: RAW files as the initial data.
LibRaw:
+LibRaw: Homepage: https://www.libraw.org/
LibRaw: