From patchwork Wed Apr 19 12:32:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 752232 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3w7Lx44yGfz9ryv for ; Wed, 19 Apr 2017 22:32:24 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 23A448759A; Wed, 19 Apr 2017 12:32:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZzQDPskhLGgD; Wed, 19 Apr 2017 12:32:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 3D20F874C7; Wed, 19 Apr 2017 12:32:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 151C31BFC4F for ; Wed, 19 Apr 2017 12:32:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 0D8DE30BA2 for ; Wed, 19 Apr 2017 12:32:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RlPsMsvN-Q6O for ; Wed, 19 Apr 2017 12:32:19 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout04.t-online.de (mailout04.t-online.de [194.25.134.18]) by silver.osuosl.org (Postfix) with ESMTPS id 4467A30BA1 for ; Wed, 19 Apr 2017 12:32:18 +0000 (UTC) Received: from fwd31.aul.t-online.de (fwd31.aul.t-online.de [172.20.26.136]) by mailout04.t-online.de (Postfix) with SMTP id 395EA41B5A97; Wed, 19 Apr 2017 14:32:16 +0200 (CEST) Received: from fli4l.lan.fli4l (EB38UeZLwhMZXsSmiqQqhVgPDkRm-HnZCeM-s5mKOjHHfv1+hKh2QDq7WA-y8ggZht@[79.222.106.186]) by fwd31.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1d0omN-0TCU0O0; Wed, 19 Apr 2017 14:32:15 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:41654 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.89) (envelope-from ) id 1d0omM-0000MC-Oh; Wed, 19 Apr 2017 14:32:15 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Wed, 19 Apr 2017 14:32:14 +0200 Message-Id: <20170419123214.18835-2-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170419123214.18835-1-bernd.kuhls@t-online.de> References: <20170419123214.18835-1-bernd.kuhls@t-online.de> X-ID: EB38UeZLwhMZXsSmiqQqhVgPDkRm-HnZCeM-s5mKOjHHfv1+hKh2QDq7WA-y8ggZht X-TOI-MSGID: 7405e638-aa41-4068-921b-cc9ead668e25 Cc: "Yann E . MORIN" Subject: [Buildroot] [PATCH 2/2] package/nvidia-driver: add glesv2.pc X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" vlc needs glesv2.pc to detect libgles support. Fixes http://autobuild.buildroot.net/results/03c/03cbabacf3f2d665266b468c4ffcd1a1ea1b31af/ Signed-off-by: Bernd Kuhls --- package/nvidia-driver/glesv2.pc | 10 ++++++++++ package/nvidia-driver/nvidia-driver.mk | 1 + 2 files changed, 11 insertions(+) create mode 100644 package/nvidia-driver/glesv2.pc diff --git a/package/nvidia-driver/glesv2.pc b/package/nvidia-driver/glesv2.pc new file mode 100644 index 000000000..273f47db3 --- /dev/null +++ b/package/nvidia-driver/glesv2.pc @@ -0,0 +1,10 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: glesv2 +Description: Nvidia OpenGL ES library +Version: 10.4.2 +Libs: -L${libdir} -lGLESv1_CM +Cflags: -I${includedir}/GLES -DMESA_EGL_NO_X11_HEADERS diff --git a/package/nvidia-driver/nvidia-driver.mk b/package/nvidia-driver/nvidia-driver.mk index 2e72cceb8..f54a07ca6 100644 --- a/package/nvidia-driver/nvidia-driver.mk +++ b/package/nvidia-driver/nvidia-driver.mk @@ -78,6 +78,7 @@ define NVIDIA_DRIVER_INSTALL_GL_DEV $(SED) 's:__LIBGL_PATH__:/usr/lib:' $(STAGING_DIR)/usr/lib/libGL.la $(SED) 's:-L[^[:space:]]\+::' $(STAGING_DIR)/usr/lib/libGL.la $(INSTALL) -D -m 0644 package/nvidia-driver/gl.pc $(STAGING_DIR)/usr/lib/pkgconfig/gl.pc + $(INSTALL) -D -m 0644 package/nvidia-driver/glesv2.pc $(STAGING_DIR)/usr/lib/pkgconfig/glesv2.pc endef # Those libraries are 'private' libraries requiring an agreement with