summaryrefslogtreecommitdiffstats
path: root/graphics-libs
diff options
context:
space:
mode:
authorPavel Vinogradov2021-07-15 16:30:49 -0400
committerPavel Vinogradov2021-07-15 16:56:47 -0400
commitfb887b0bc6d41a8542e6a36e81a16808ff424be1 (patch)
tree01ba890a04c00059be51fc4e87fa529c4946cb6e /graphics-libs
parentb59fa373e24b85ebf1af628b4a51d6fbeb9d5326 (diff)
graphics-lips/mesa: version 21.1.5
Diffstat (limited to 'graphics-libs')
-rwxr-xr-xgraphics-libs/mesa/DETAILS4
-rw-r--r--graphics-libs/mesa/HISTORY4
-rwxr-xr-xgraphics-libs/mesa/PRE_BUILD6
3 files changed, 11 insertions, 3 deletions
diff --git a/graphics-libs/mesa/DETAILS b/graphics-libs/mesa/DETAILS
index fca7fddc62..7de3045615 100755
--- a/graphics-libs/mesa/DETAILS
+++ b/graphics-libs/mesa/DETAILS
@@ -9,8 +9,8 @@ if [[ "${MESA_BRANCH}" == "scm" ]]; then
SOURCE_IGNORE="volatile"
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-git"
else
- VERSION=21.1.4
- SOURCE_HASH=sha512:1f4e2d8ba2c3c02bad5468687752d7e87d6e79c4a0e6ec4b2741a57fb270d18ae4712aaa07a9e09a2d3348540f5a26cdbe05464cd52adb8df1e2e28a581b2b53
+ VERSION=21.1.5
+ SOURCE_HASH="sha256:022c7293074aeeced2278c872db4fa693147c70f8595b076cf3f1ef81520766d:UPSTREAM_HASH"
SOURCE=mesa-$VERSION.tar.xz
SOURCE_URL[0]="https://mesa.freedesktop.org/archive/${SOURCE}"
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/mesa-${VERSION}
diff --git a/graphics-libs/mesa/HISTORY b/graphics-libs/mesa/HISTORY
index 20075cf1c6..2db8467032 100644
--- a/graphics-libs/mesa/HISTORY
+++ b/graphics-libs/mesa/HISTORY
@@ -1,3 +1,7 @@
+2021-07-15 Pavel Vinogradov <public@sourcemage.org>
+ * DETAILS: version 21.1.5, switched to UPSTREAM_HASH
+ * PRE_BUILD: apply patches from patches/ dir only for stable
+
2021-07-02 Ismael Luceno <ismael@sourcemage.org>
* DETAILS: updated spell to 21.1.4
diff --git a/graphics-libs/mesa/PRE_BUILD b/graphics-libs/mesa/PRE_BUILD
index 4d2feeff18..348da290d9 100755
--- a/graphics-libs/mesa/PRE_BUILD
+++ b/graphics-libs/mesa/PRE_BUILD
@@ -1,6 +1,10 @@
default_pre_build &&
cd "$SOURCE_DIRECTORY" &&
-apply_patch_dir patches &&
+
+if [[ "${MESA_BRANCH}" == "stable" ]]; then
+ apply_patch_dir patches
+fi &&
+
if is_depends_enabled "$SPELL" smgl-gl_select; then
patch -fp1 -i "$SPELL_DIRECTORY"/0001-install-GL-headers-in-.mesa.patch
fi