mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
libdrm-2.4.25: drop from meta-oe, now there is 2.4.26 in oe-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,49 +0,0 @@
|
||||
tests: also install tests app
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Yu Ke <ke.yu@intel.com>
|
||||
|
||||
diff --git a/tests/Makefile.am b/tests/Makefile.am
|
||||
index bf1987f..d909e19 100644
|
||||
--- a/tests/Makefile.am
|
||||
+++ b/tests/Makefile.am
|
||||
@@ -6,10 +6,11 @@ AM_CPPFLAGS = \
|
||||
|
||||
LDADD = $(top_builddir)/libdrm.la
|
||||
|
||||
-check_PROGRAMS = \
|
||||
+bin_PROGRAMS = \
|
||||
dristat \
|
||||
drmstat
|
||||
|
||||
+check_PROGRAMS =
|
||||
SUBDIRS = modeprint
|
||||
|
||||
if HAVE_LIBKMS
|
||||
diff --git a/tests/modeprint/Makefile.am b/tests/modeprint/Makefile.am
|
||||
index c4862ac..7db76ea 100644
|
||||
--- a/tests/modeprint/Makefile.am
|
||||
+++ b/tests/modeprint/Makefile.am
|
||||
@@ -2,7 +2,7 @@ AM_CFLAGS = \
|
||||
-I$(top_srcdir)/include/drm \
|
||||
-I$(top_srcdir)
|
||||
|
||||
-noinst_PROGRAMS = \
|
||||
+bin_PROGRAMS = \
|
||||
modeprint
|
||||
|
||||
modeprint_SOURCES = \
|
||||
diff --git a/tests/modetest/Makefile.am b/tests/modetest/Makefile.am
|
||||
index 2191242..1d2c1b0 100644
|
||||
--- a/tests/modetest/Makefile.am
|
||||
+++ b/tests/modetest/Makefile.am
|
||||
@@ -4,7 +4,7 @@ AM_CFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
$(CAIRO_CFLAGS)
|
||||
|
||||
-noinst_PROGRAMS = \
|
||||
+bin_PROGRAMS = \
|
||||
modetest
|
||||
|
||||
modetest_SOURCES = \
|
||||
@@ -1,37 +0,0 @@
|
||||
SUMMARY = "Userspace interface to the kernel DRM services"
|
||||
DESCRIPTION = "The runtime library for accessing the kernel DRM services. DRM \
|
||||
stands for \"Direct Rendering Manager\", which is the kernel portion of the \
|
||||
\"Direct Rendering Infrastructure\" (DRI). DRI is required for many hardware \
|
||||
accelerated OpenGL drivers."
|
||||
HOMEPAGE = "http://dri.freedesktop.org"
|
||||
SECTION = "x11/base"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71"
|
||||
SRC_URI = "http://dri.freedesktop.org/libdrm/libdrm-${PV}.tar.bz2"
|
||||
PROVIDES = "drm"
|
||||
DEPENDS = "libpthread-stubs udev cairo virtual/libx11"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-kms ${@base_contains('MACHINE_FEATURES', 'x86', '${PN}-intel', '',d)}"
|
||||
FILES_${PN}-tests = "${bindir}/dr* ${bindir}/mode*"
|
||||
FILES_${PN}-drivers = "${libdir}/libdrm_*.so.*"
|
||||
FILES_${PN}-intel = "${libdir}/libdrm_intel.so.*"
|
||||
FILES_${PN}-kms = "${libdir}/libkms*.so.*"
|
||||
|
||||
LEAD_SONAME = "libdrm.so"
|
||||
|
||||
EXTRA_OECONF_append = " ${@base_contains('MACHINE_FEATURES', 'x86', '', '--disable-intel --disable-radeon',d)}"
|
||||
EXTRA_OECONF_append_shr = " --enable-glamo-experimental-api"
|
||||
|
||||
SRC_URI += "file://installtests.patch"
|
||||
SRC_URI += "file://glamo.patch"
|
||||
|
||||
SRC_URI[md5sum] = "f53dc4c72109b17908e4113c3b8addfe"
|
||||
SRC_URI[sha256sum] = "51f99a815a18876977991bbc6f190607791d25a6e47a3269880ce7679dbd0e9f"
|
||||
|
||||
do_compile_prepend_libc-uclibc() {
|
||||
eval "${@base_contains('DISTRO_FEATURES', 'largefile', '', 'sed -i -e "/_FILE_OFFSET_BITS/d" ${S}/libkms/intel.c', d)}"
|
||||
eval "${@base_contains('DISTRO_FEATURES', 'largefile', '', 'sed -i -e "/_FILE_OFFSET_BITS/d" ${S}/libkms/vmwgfx.c', d)}"
|
||||
eval "${@base_contains('DISTRO_FEATURES', 'largefile', '', 'sed -i -e "/_FILE_OFFSET_BITS/d" ${S}/libkms/nouveau.c', d)}"
|
||||
}
|
||||
Reference in New Issue
Block a user