aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/veracrypt/veracrypt.SlackBuild15
-rw-r--r--system/veracrypt/veracrypt.info6
2 files changed, 11 insertions, 10 deletions
diff --git a/system/veracrypt/veracrypt.SlackBuild b/system/veracrypt/veracrypt.SlackBuild
index 22ec7725cb20..b9e6c430d9f0 100644
--- a/system/veracrypt/veracrypt.SlackBuild
+++ b/system/veracrypt/veracrypt.SlackBuild
@@ -22,10 +22,14 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
+# 20220209 bkw: Modified by SlackBuilds.org: updated for v1.25.7 since
+# the previous version wouldn't build on 15.0. Also, always use the
+# correct wx-config version.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=veracrypt
-VERSION=${VERSION:-1.22}
+VERSION=${VERSION:-1.25.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +42,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
@@ -82,7 +83,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cd src
-make
+make WX_CONFIG=/usr/lib$LIBDIRSUFFIX/wx/config/gtk3-unicode-3.0
make package
cp -av Setup/Linux/usr $PKG
rm -f $PKG/usr/bin/veracrypt-uninstall.sh
@@ -92,9 +93,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- $PKG/usr/share/veracrypt/doc/* \
+ $PKG/usr/share/doc/veracrypt/* \
$PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf $PKG/usr/share/veracrypt
+rm -rf $PKG/usr/share/doc/veracrypt
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/veracrypt/veracrypt.info b/system/veracrypt/veracrypt.info
index 2c9fd1db8628..7d86631c1428 100644
--- a/system/veracrypt/veracrypt.info
+++ b/system/veracrypt/veracrypt.info
@@ -1,8 +1,8 @@
PRGNAM="veracrypt"
-VERSION="1.22"
+VERSION="1.25.7"
HOMEPAGE="https://www.veracrypt.fr/"
-DOWNLOAD="https://launchpad.net/veracrypt/trunk/1.22/+download/VeraCrypt_1.22_Source.tar.bz2"
-MD5SUM="54dd43d2d9155cf54504dbc57984e822"
+DOWNLOAD="https://launchpad.net/veracrypt/trunk/1.25.7/+download/VeraCrypt_1.25.7_Source.tar.bz2"
+MD5SUM="0a874ac3d109974de33cf10c9860b03f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="wxGTK3 makeself"