From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A2A371396D0 for ; Sat, 16 Sep 2017 19:34:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F043A1FC008; Sat, 16 Sep 2017 19:34:29 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D02F21FC008 for ; Sat, 16 Sep 2017 19:34:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C4B00341656 for ; Sat, 16 Sep 2017 19:34:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 863C69078 for ; Sat, 16 Sep 2017 19:34:26 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1505590450.d386f9d533a37699f55f9e67d951fb3ef56a859e.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libepoxy/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libepoxy/libepoxy-9999.ebuild X-VCS-Directories: media-libs/libepoxy/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: d386f9d533a37699f55f9e67d951fb3ef56a859e X-VCS-Branch: master Date: Sat, 16 Sep 2017 19:34:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fff86e21-2951-46b1-bf00-26dc76d25644 X-Archives-Hash: 521671788509a987bdc4c31c7f3f014d commit: d386f9d533a37699f55f9e67d951fb3ef56a859e Author: Matt Turner gentoo org> AuthorDate: Sat Sep 16 19:34:10 2017 +0000 Commit: Matt Turner gentoo org> CommitDate: Sat Sep 16 19:34:10 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d386f9d5 media-libs/libepoxy: Switch to using the meson build system media-libs/libepoxy/libepoxy-9999.ebuild | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/media-libs/libepoxy/libepoxy-9999.ebuild b/media-libs/libepoxy/libepoxy-9999.ebuild index 5b6d700758f..633cc77c96a 100644 --- a/media-libs/libepoxy/libepoxy-9999.ebuild +++ b/media-libs/libepoxy/libepoxy-9999.ebuild @@ -11,7 +11,7 @@ fi PYTHON_COMPAT=( python{2_7,3_4,3_5} ) PYTHON_REQ_USE='xml(+)' -inherit autotools ${GIT_ECLASS} multilib-minimal python-any-r1 +inherit ${GIT_ECLASS} meson multilib-minimal python-any-r1 DESCRIPTION="Epoxy is a library for handling OpenGL function pointer management for you" HOMEPAGE="https://github.com/anholt/libepoxy" @@ -37,13 +37,21 @@ src_unpack() { [[ $PV = 9999* ]] && git-r3_src_unpack } -src_prepare() { - default - eautoreconf +multilib_src_configure() { + local emesonargs=( + -Denable-glx=$(usex X) + ) + meson_src_configure } -multilib_src_configure() { - ECONF_SOURCE=${S} \ - econf \ - $(use_enable X glx) +multilib_src_compile() { + meson_src_compile +} + +multilib_src_test() { + meson_src_test +} + +multilib_src_install() { + meson_src_install }