Revert "meson: add wrap for libdrm"
authorDylan Baker <dylan@pnwbakers.com>
Tue, 17 Apr 2018 20:47:17 +0000 (13:47 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 17 Apr 2018 20:48:55 +0000 (13:48 -0700)
This reverts commit 6217eedc9bac86856d5048c43b5f5a3f6976c13e.

I was using this for testing and accidentally put it on master

Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
meson.build
subprojects/libdrm.wrap [deleted file]

index 70b93a9891a4003ebe65f7713613ac4eca9eec78..a4dfa62255c632569ab4bf7d56aa864ec1b6ea5c 100644 (file)
@@ -1066,10 +1066,7 @@ foreach d : _libdrm_checks
   if d[1]
     set_variable(
       'dep_libdrm_' + d[0],
-      dependency(
-        'libdrm_' + d[0], version : '>=' + _drm_ver,
-        fallback : ['libdrm', 'ext_libdrm_' + d[0]]
-      )
+      dependency('libdrm_' + d[0], version : '>=' + _drm_ver)
     )
   endif
 endforeach
@@ -1077,8 +1074,7 @@ endforeach
 with_gallium_drisw_kms = false
 dep_libdrm = dependency(
   'libdrm', version : '>=' + _drm_ver,
-  required : with_dri2 or with_dri3,
-  fallback : ['libdrm', 'ext_libdrm']
+  required : with_dri2 or with_dri3
 )
 if dep_libdrm.found()
   pre_args += '-DHAVE_LIBDRM'
diff --git a/subprojects/libdrm.wrap b/subprojects/libdrm.wrap
deleted file mode 100644 (file)
index 3fcd65c..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-[wrap-git]
-directory=libdrm
-url=https://anongit.freedesktop.org/git/mesa/drm.git
-revision=head