On Tue, Jun 09, 2020 at 04:19:31PM +0100, Ross Burton wrote:
> Also I guess you should mention that this is basically copied from
> meta-intel, and talk about how to handle duplicate recipes.
>
> Ross
>
> On Tue, 9 Jun 2020 at 15:30, Arthur She <[email protected]> wrote:
> >
> > igt-gpu-tools is a collection of tools for development and testing of the
> > DRM
> > drivers. (https://gitlab.freedesktop.org/drm/igt-gpu-tools)
> >
> > Signed-off-by: Arthur She <[email protected]>
> > ---
> > .../igt-gpu-tools/igt-gpu-tools_git.bb | 46 +++++++++++++++++++
> > 1 file changed, 46 insertions(+)
> > create mode 100644
> > meta-oe/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
> >
> > diff --git a/meta-oe/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
> > b/meta-oe/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
> > new file mode 100644
> > index 000000000..761df1cbb
> > --- /dev/null
> > +++ b/meta-oe/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
> > @@ -0,0 +1,46 @@
> > +SUMMARY = "IGT GPU Tools"
> > +DESCRIPTION = "IGT GPU Tools is a collection of tools for development and
> > testing of the DRM drivers"
> > +
> > +LIC_FILES_CHKSUM = "file://COPYING;md5=67bfee4df38fa6ecbe3a675c552d4c08"
> > +
> > +LICENSE_append = " & ISC"
Huh?
> > +inherit meson gtk-doc
> > +
> > +SRCREV = "${AUTOREV}"
> > +
> > +SRC_URI =
> > "git://gitlab.freedesktop.org/drm/igt-gpu-tools.git;protocol=https"
> > +
> > +S = "${WORKDIR}/git"
> > +
> > +DEPENDS += "libdrm libpciaccess cairo udev glib-2.0 procps libunwind kmod
> > openssl xmlrpc-c gsl elfutils alsa-lib json-c bison-native"
> > +RDEPENDS_${PN} += "bash python3-mako python3-six git net-snmp"
> > +
> > +PACKAGE_BEFORE_PN = "${PN}-benchmarks"
> > +
> > +EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled -Dchamelium=enabled"
> > +COMPATIBLE_HOST = "(x86_64.*|i.86.*|arm.*|aarch64).*-linux"
> > +COMPATIBLE_HOST_libc-musl_class-target = "null"
> > +
> > +gputools_sysroot_preprocess() {
> > + rm -f ${SYSROOT_DESTDIR}${libdir}/pkgconfig/intel-gen4asm.pc
> > +}
> > +SYSROOT_PREPROCESS_FUNCS += "gputools_sysroot_preprocess"
> > +
> > +do_install_append() {
> > + install -d ${D}/usr/share/${BPN}/scripts
> > + install ${S}/scripts/run-tests.sh ${D}/usr/share/${BPN}/scripts
> > + install -d ${D}/usr/share/${BPN}/runner
> > + install -D ${B}/runner/igt_runner ${D}/usr/share/${BPN}/runner
> > + install -D ${B}/runner/igt_resume ${D}/usr/share/${BPN}/runner
> > +}
> > +
> > +FILES_${PN} += "\
> > + ${libexecdir}/${BPN}/*\
> > + ${libdir}/intel_aubdump.so \
> > + ${datadir}/${BPN}/1080p-right.png \
> > + ${datadir}/${BPN}/1080p-left.png \
> > + ${datadir}/${BPN}/pass.png \
> > + ${datadir}/${BPN}/test-list.txt \
> > + ${libexecdir}/${BPN}/benchmarks \
> > + "
> > --
> > 2.25.1
> >
> >
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#84923):
https://lists.openembedded.org/g/openembedded-devel/message/84923
Mute This Topic: https://lists.openembedded.org/mt/74775294/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-