summaryrefslogtreecommitdiffstats
path: root/libs/libdrm/DETAILS
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libdrm/DETAILS')
-rwxr-xr-xlibs/libdrm/DETAILS7
1 files changed, 2 insertions, 5 deletions
diff --git a/libs/libdrm/DETAILS b/libs/libdrm/DETAILS
index 5f9d2fc634..e82c5bafc5 100755
--- a/libs/libdrm/DETAILS
+++ b/libs/libdrm/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=libdrm
if [[ $LIBDRM_BRANCH == scm ]]; then
- if [[ $LIBDRM_AUTOUPDATE == y ]]; then
- VERSION="$(date +%Y%m%d)"
- else
- VERSION=git
- fi
+ VERSION="$(get_scm_version)"
SOURCE=drm-git.tar.bz2 # Use the same source as drm
SOURCE_URL[0]=git://anongit.freedesktop.org/git/mesa/drm:drm-git
SOURCE_DIRECTORY="$BUILD_DIRECTORY/drm-git"