summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Orgis2022-06-13 19:31:29 +0200
committerThomas Orgis2022-06-13 19:31:39 +0200
commit8ae38535d1c41d1f27b52bfc63f46f1fbb78ecab (patch)
treed1ce07ebf19097d9a8e408f9729d7c360cf8ccd2
parentb6114fefa20be5b0ccb1f4c435d4b1451dcbd528 (diff)
libjpeg-turbo: switch back to official URLs
-rwxr-xr-xgraphics-libs/libjpeg-turbo/DETAILS6
-rw-r--r--graphics-libs/libjpeg-turbo/HISTORY5
-rwxr-xr-xgraphics-libs/libjpeg-turbo/PRE_BUILD4
3 files changed, 12 insertions, 3 deletions
diff --git a/graphics-libs/libjpeg-turbo/DETAILS b/graphics-libs/libjpeg-turbo/DETAILS
index 57e7ff8308..555c6911ed 100755
--- a/graphics-libs/libjpeg-turbo/DETAILS
+++ b/graphics-libs/libjpeg-turbo/DETAILS
@@ -1,12 +1,12 @@
source $GRIMOIRE/CMAKE_FUNCTIONS
SPELL=libjpeg-turbo
VERSION=2.1.3
- SOURCE_HASH=sha512:ee1f61c770d1d688f76df14f68d4c6c680074e46186d65332fa650f709a18fb327ea4fb8c6ec12e7c548dcc8d11dee3161ce4486af965d673901732afb18382b
+ SOURCE_HASH=sha512:975c9835de7d70c6c8c5a1959adfa18f7f956bc9946fde8f1b40c1d853245c38a3118ac06b93841ec3e90be6945c38d687d062b371496c2ee9b5638d7f60418d
SECURITY_PATCH=4
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
- SOURCE_URL[0]=https://github.com/libjpeg-turbo/libjpeg-turbo/archive/${VERSION}.tar.gz
- WEB_SITE=https://libjpeg-turbo.virtualgl.org/
+ SOURCE_URL[0]=http://downloads.sourceforge.net/sourceforge/$SPELL/$SOURCE
+ WEB_SITE=https://libjpeg-turbo.org
ENTERED=20101103
LICENSE[0]=WXWINDOWS
SHORT="high-speed version of libjpeg for x86 and x86-64 processors"
diff --git a/graphics-libs/libjpeg-turbo/HISTORY b/graphics-libs/libjpeg-turbo/HISTORY
index dd61435f55..037178b1ad 100644
--- a/graphics-libs/libjpeg-turbo/HISTORY
+++ b/graphics-libs/libjpeg-turbo/HISTORY
@@ -1,3 +1,8 @@
+2022-06-13 Thomas Orgis <sobukus@sourcemage.org>
+ * DETAILS: switch back website and download location, github archive checksums
+ differ (might have to delete local distfile)
+ * PRE_BUILD: add message for the above, to be removed on next update
+
2022-02-25 Pavel Vinogradov <public@sourcemage.org>
* DETAILS: version 2.1.3
diff --git a/graphics-libs/libjpeg-turbo/PRE_BUILD b/graphics-libs/libjpeg-turbo/PRE_BUILD
index f80ee7decc..9d0407e343 100755
--- a/graphics-libs/libjpeg-turbo/PRE_BUILD
+++ b/graphics-libs/libjpeg-turbo/PRE_BUILD
@@ -1,3 +1,7 @@
+# Remove that message on next update.
+if [[ $VERSION = 2.1.3 ]]; then
+ message "${MESSAGE_COLOR}The download location was switched from github back to sf.net. The tarball checksums differ. If you get ee1f61c770d1d688f76df14f68d4c6c680074e46186d65332fa650f709a18fb327ea4fb8c6ec12e7c548dcc8d11dee3161ce4486af965d673901732afb18382b, this refers to an archive with the correct contents, just compressed differently. Choose to remove the distfile and re-summon $SPELL or just continue despite checksum failure at your discretion.$DEFAULT_COLOR"
+fi &&
default_pre_build &&
cd "${SOURCE_DIRECTORY}" &&