public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/vulkan-loader/
Date: Sun, 15 Mar 2020 21:28:57 +0000 (UTC)	[thread overview]
Message-ID: <1584307719.16926d041311af9fee3f598247bb7fe4751afc1f.mattst88@gentoo> (raw)

commit:     16926d041311af9fee3f598247bb7fe4751afc1f
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 11 20:06:37 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Mar 15 21:28:39 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16926d04

media-libs/vulkan-loader: 9999 cleanup, cmake.eclass, >=cmake-3.10.2

Drop superfluous COMMON_DEPEND, other ebuild style improvements, sorting

Bug: https://bugs.gentoo.org/712090
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 media-libs/vulkan-loader/vulkan-loader-9999.ebuild | 37 ++++++++++------------
 1 file changed, 17 insertions(+), 20 deletions(-)

diff --git a/media-libs/vulkan-loader/vulkan-loader-9999.ebuild b/media-libs/vulkan-loader/vulkan-loader-9999.ebuild
index 8d64aee32dd..95a585496af 100644
--- a/media-libs/vulkan-loader/vulkan-loader-9999.ebuild
+++ b/media-libs/vulkan-loader/vulkan-loader-9999.ebuild
@@ -2,27 +2,22 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
+MY_PN=Vulkan-Loader
+CMAKE_ECLASS="cmake"
 PYTHON_COMPAT=( python3_{6,7} )
+inherit cmake-multilib python-any-r1 toolchain-funcs
 
-if [[ "${PV}" == "9999" ]]; then
-	EGIT_REPO_URI="https://github.com/KhronosGroup/Vulkan-Loader.git"
+if [[ ${PV} == *9999* ]]; then
+	EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git"
 	EGIT_SUBMODULES=()
 	inherit git-r3
 else
-	if [[ -z ${SNAPSHOT_COMMIT} ]]; then
-		MY_PV=v${PV}
-		MY_P=Vulkan-Loader-${PV}
-	else
-		MY_PV=${SNAPSHOT_COMMIT}
-		MY_P=Vulkan-Loader-${SNAPSHOT_COMMIT}
-	fi
+	SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~amd64 ~ppc64 ~x86"
-	SRC_URI="https://github.com/KhronosGroup/Vulkan-Loader/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
-	S="${WORKDIR}"/${MY_P}
+	S="${WORKDIR}"/${MY_PN}-${PV}
 fi
 
-inherit toolchain-funcs python-any-r1 cmake-multilib
-
 DESCRIPTION="Vulkan Installable Client Driver (ICD) Loader"
 HOMEPAGE="https://github.com/KhronosGroup/Vulkan-Loader"
 
@@ -30,14 +25,16 @@ LICENSE="Apache-2.0"
 SLOT="0"
 IUSE="layers wayland X"
 
-PDEPEND="layers? ( media-libs/vulkan-layers:=[${MULTILIB_USEDEP}] )"
+BDEPEND=">=dev-util/cmake-3.10.2"
 DEPEND="${PYTHON_DEPS}
 	>=dev-util/vulkan-headers-${PV}
 	wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] )
 	X? (
 		x11-libs/libX11:=[${MULTILIB_USEDEP}]
 		x11-libs/libXrandr:=[${MULTILIB_USEDEP}]
-	)"
+	)
+"
+PDEPEND="layers? ( media-libs/vulkan-layers:=[${MULTILIB_USEDEP}] )"
 
 multilib_src_configure() {
 	# Integrated clang assembler doesn't work with x86 - Bug #698164
@@ -46,21 +43,21 @@ multilib_src_configure() {
 	fi
 
 	local mycmakeargs=(
-		-DCMAKE_SKIP_RPATH=True
-		-DBUILD_TESTS=False
-		-DBUILD_LOADER=True
+		-DCMAKE_SKIP_RPATH=ON
+		-DBUILD_TESTS=OFF
+		-DBUILD_LOADER=ON
 		-DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland)
 		-DBUILD_WSI_XCB_SUPPORT=$(usex X)
 		-DBUILD_WSI_XLIB_SUPPORT=$(usex X)
 		-DVULKAN_HEADERS_INSTALL_DIR="/usr"
 	)
-	cmake-utils_src_configure
+	cmake_src_configure
 }
 
 multilib_src_install() {
 	keepdir /etc/vulkan/icd.d
 
-	cmake-utils_src_install
+	cmake_src_install
 }
 
 pkg_postinst() {


             reply	other threads:[~2020-03-15 21:29 UTC|newest]

Thread overview: 271+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-15 21:28 Matt Turner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-22 10:20 [gentoo-commits] repo/gentoo:master commit in: media-libs/vulkan-loader/ Sam James
2024-11-21  9:07 Sam James
2024-11-21  9:07 Sam James
2024-11-21  9:07 Sam James
2024-10-20  6:27 Joonas Niilola
2024-10-18  8:28 Nick Sarnie
2024-10-02 18:06 Matt Turner
2024-09-17  2:49 Matt Turner
2024-09-13  4:13 Sam James
2024-09-12 20:37 Sam James
2024-09-12 20:37 Sam James
2024-09-05  2:04 Sam James
2024-09-04  4:54 Sam James
2024-09-04  4:54 Sam James
2024-09-04  4:54 Sam James
2024-08-04 19:30 Nick Sarnie
2024-07-11 15:41 Matt Turner
2024-06-16  8:03 Sam James
2024-06-16  8:03 Sam James
2024-06-16  4:58 Sam James
2024-06-16  4:58 Sam James
2024-06-16  3:46 Sam James
2024-06-16  3:46 Sam James
2024-05-16 17:18 Matt Turner
2024-05-16 14:53 Matt Turner
2024-05-16 14:45 Arthur Zamarin
2024-05-16 14:43 Arthur Zamarin
2024-05-04  1:32 Sam James
2024-05-04  1:32 Sam James
2024-05-04  0:25 Sam James
2024-05-04  0:25 Sam James
2024-04-03  1:52 Matt Turner
2024-04-03  1:52 Matt Turner
2024-03-03 16:59 Matt Turner
2024-03-02 14:38 Arthur Zamarin
2024-02-17 21:17 Sam James
2024-02-16  1:26 Sam James
2024-02-16  0:19 Sam James
2024-02-15 23:51 Sam James
2024-02-15 19:26 Jakov Smolić
2024-01-24 17:00 Matt Turner
2024-01-18  0:33 Nick Sarnie
2023-12-18  9:01 Arthur Zamarin
2023-12-17 19:22 Arthur Zamarin
2023-12-17 17:46 Arthur Zamarin
2023-12-17 17:46 Arthur Zamarin
2023-12-17 17:45 Arthur Zamarin
2023-12-17 17:32 Arthur Zamarin
2023-11-09 22:57 Nick Sarnie
2023-10-24 17:59 Matt Turner
2023-10-13 14:14 Arthur Zamarin
2023-10-13  9:45 Sam James
2023-10-13  9:45 Sam James
2023-10-13  9:45 Sam James
2023-10-13  3:13 Sam James
2023-10-13  3:10 Sam James
2023-08-30  0:33 Nick Sarnie
2023-08-16 22:07 Matt Turner
2023-08-04  9:22 Sam James
2023-07-24 20:33 Jakov Smolić
2023-07-24 20:33 Jakov Smolić
2023-07-24 18:54 Arthur Zamarin
2023-07-24 18:34 Arthur Zamarin
2023-07-24 18:34 Arthur Zamarin
2023-06-26  8:19 Sam James
2023-06-26  8:19 Sam James
2023-06-26  6:27 Jakov Smolić
2023-06-26  6:27 Jakov Smolić
2023-06-26  6:27 Jakov Smolić
2023-06-26  0:18 Sam James
2023-06-12  1:24 Nick Sarnie
2023-05-17 23:35 Nick Sarnie
2023-05-12 22:34 Matt Turner
2023-04-17 23:49 Sam James
2023-04-17 21:16 Sam James
2023-04-17 21:16 Sam James
2023-04-17 17:50 Arthur Zamarin
2023-04-06  6:11 Conrad Kostecki
2023-03-04 22:40 Andreas Sturmlechner
2023-03-04 13:13 Arthur Zamarin
2023-03-03 18:55 Arthur Zamarin
2023-03-03 18:07 Arthur Zamarin
2023-03-03 17:31 Arthur Zamarin
2023-03-03  5:57 Arthur Zamarin
2023-02-22 18:20 Andreas Sturmlechner
2023-02-22 18:20 Andreas Sturmlechner
2023-02-08  0:49 Nick Sarnie
2023-02-07  2:53 Sam James
2023-02-04 18:19 Arthur Zamarin
2023-02-04 17:38 Arthur Zamarin
2023-02-04 17:38 Arthur Zamarin
2023-02-04 17:37 Arthur Zamarin
2023-02-04 17:37 Arthur Zamarin
2023-02-04 17:07 Nick Sarnie
2022-12-28 21:53 Nick Sarnie
2022-12-28 21:39 Nick Sarnie
2022-12-28 17:08 Matt Turner
2022-12-05  4:55 Arthur Zamarin
2022-12-04 23:40 Sam James
2022-12-04 22:52 Sam James
2022-12-04 22:49 Sam James
2022-12-04 22:49 Sam James
2022-12-04 22:43 Sam James
2022-11-02  0:21 Nick Sarnie
2022-10-31 15:41 Matt Turner
2022-10-13  6:56 Agostino Sarubbo
2022-10-13  6:55 Agostino Sarubbo
2022-10-13  6:54 Agostino Sarubbo
2022-10-13  6:53 Agostino Sarubbo
2022-10-12 23:58 Sam James
2022-09-02  1:15 Nick Sarnie
2022-07-21 11:59 Matt Turner
2022-07-21  7:13 Agostino Sarubbo
2022-07-20 13:46 Agostino Sarubbo
2022-07-20 13:44 Agostino Sarubbo
2022-07-20 13:43 Agostino Sarubbo
2022-07-20 13:40 Agostino Sarubbo
2022-07-20  5:37 Sam James
2022-06-22 23:13 Nick Sarnie
2022-06-12 19:36 Matt Turner
2022-06-01 14:20 Jakov Smolić
2022-06-01 14:20 Jakov Smolić
2022-06-01 14:18 Jakov Smolić
2022-06-01 14:18 Jakov Smolić
2022-05-13  6:33 WANG Xuerui
2022-05-13  6:33 WANG Xuerui
2022-04-24 17:47 Arthur Zamarin
2022-04-24  6:34 Agostino Sarubbo
2022-04-24  6:30 Agostino Sarubbo
2022-04-22 18:52 Arthur Zamarin
2022-04-22 17:52 Arthur Zamarin
2022-04-22 17:41 Arthur Zamarin
2022-04-19 22:31 Nick Sarnie
2022-02-20  2:09 Nick Sarnie
2022-01-17 23:09 Nick Sarnie
2021-12-25 15:06 Nick Sarnie
2021-12-25 10:25 Sam James
2021-12-25  1:26 Sam James
2021-12-25  1:26 Sam James
2021-12-25  1:22 Sam James
2021-12-25  1:22 Sam James
2021-12-24 22:50 Sam James
2021-12-05 16:16 Nick Sarnie
2021-11-29 23:12 Nick Sarnie
2021-11-29 23:12 Nick Sarnie
2021-11-26 23:22 Matt Turner
2021-11-14 20:30 Sam James
2021-11-14  2:15 Sam James
2021-11-13 19:50 Sam James
2021-11-13 19:50 Sam James
2021-11-12 22:13 Jakov Smolić
2021-11-12 22:13 Jakov Smolić
2021-11-07 15:57 Nick Sarnie
2021-09-05  2:05 Nick Sarnie
2021-08-07 19:37 Nick Sarnie
2021-08-06  3:43 Sam James
2021-08-05 14:13 Sam James
2021-08-05 14:13 Sam James
2021-08-05 14:08 Sam James
2021-07-28  1:08 Sam James
2021-07-04 17:59 Nick Sarnie
2021-06-26 20:19 Matt Turner
2021-06-25 16:39 Marek Szuba
2021-06-07  6:20 Sergei Trofimovich
2021-05-31 14:17 Sam James
2021-05-30  7:21 Sam James
2021-05-27  8:34 Georgy Yakovlev
2021-05-27  2:33 Nick Sarnie
2021-05-06 23:31 Sam James
2021-05-06 22:21 Sam James
2021-05-06 10:11 Sam James
2021-05-06 10:09 Sam James
2021-05-06 10:01 Sam James
2021-05-06  9:57 Sam James
2021-03-28  0:37 Nick Sarnie
2021-02-17 18:29 Matt Turner
2021-02-17  0:59 Sam James
2021-01-25 14:07 Sam James
2021-01-24 21:52 Sam James
2021-01-24 19:31 Sam James
2021-01-24 13:31 Sam James
2021-01-24 13:31 Sam James
2020-12-17  2:40 Nick Sarnie
2020-12-16 20:09 Matt Turner
2020-12-16 19:50 Sam James
2020-12-12 17:04 Nick Sarnie
2020-12-11 23:10 Sergei Trofimovich
2020-12-07  5:23 Sam James
2020-12-07  5:23 Sam James
2020-12-06 17:10 Thomas Deutschmann
2020-12-04 14:24 Mikle Kolyada
2020-11-07  3:59 Nick Sarnie
2020-10-09  8:36 Agostino Sarubbo
2020-10-08  2:30 Sam James
2020-10-07 20:16 Sam James
2020-08-09 17:52 Matt Turner
2020-07-27 17:36 Sam James
2020-07-21  9:33 Agostino Sarubbo
2020-07-21  8:48 Agostino Sarubbo
2020-07-12  1:51 Sam James
2020-07-10  0:17 Nick Sarnie
2020-07-04 12:36 Mart Raudsepp
2020-06-20 15:42 Nick Sarnie
2020-06-17  5:46 Matt Turner
2020-06-15 15:16 Agostino Sarubbo
2020-06-15 15:00 Agostino Sarubbo
2020-06-11  1:13 Nick Sarnie
2020-05-30 20:09 Nick Sarnie
2020-05-26 21:48 Nick Sarnie
2020-04-29 22:04 Nick Sarnie
2020-04-06  8:45 Guilherme Amadio
2020-04-04 19:26 Nick Sarnie
2020-03-15 21:28 Matt Turner
2020-03-15 21:28 Matt Turner
2020-03-05  7:22 Guilherme Amadio
2020-02-27  4:05 Georgy Yakovlev
2020-02-27  4:05 Georgy Yakovlev
2020-01-26 21:10 Matt Turner
2020-01-03 14:34 Agostino Sarubbo
2020-01-03 12:00 Agostino Sarubbo
2019-10-23 22:28 Nick Sarnie
2019-10-22  3:12 Nick Sarnie
2019-10-21 22:48 Nick Sarnie
2019-10-21 22:48 Nick Sarnie
2019-10-21 22:48 Nick Sarnie
2019-10-21 22:48 Nick Sarnie
2019-10-21 22:48 Nick Sarnie
2019-09-21 17:11 Matt Turner
2019-09-20 12:17 Agostino Sarubbo
2019-09-20 12:14 Agostino Sarubbo
2019-07-22 17:15 Matt Turner
2019-07-17 10:18 Mikle Kolyada
2019-07-13 15:09 Nick Sarnie
2019-07-10 10:30 Agostino Sarubbo
2019-06-04 14:45 Thomas Deutschmann
2019-04-15  1:05 Nick Sarnie
2019-03-09 19:18 Thomas Deutschmann
2019-03-02 18:51 Nick Sarnie
2019-01-16 15:14 Mikle Kolyada
2018-12-16 14:04 Nick Sarnie
2018-11-30  2:47 Nick Sarnie
2018-11-30  2:47 Nick Sarnie
2018-09-18  0:13 Nick Sarnie
2018-09-18  0:13 Nick Sarnie
2018-06-23 22:53 Nick Sarnie
2018-06-23 22:53 Nick Sarnie
2018-06-11  9:59 Thomas Deutschmann
2018-05-27  2:02 Nick Sarnie
2018-04-28  2:36 Nick Sarnie
2018-04-16  0:23 Matt Turner
2018-04-14 19:50 Matt Turner
2018-03-12 17:41 Matt Turner
2017-11-01 23:51 Matt Turner
2017-09-29 21:23 Matt Turner
2017-06-21  4:07 Matt Turner
2017-05-31 13:06 Agostino Sarubbo
2017-05-29  4:15 Matt Turner
2017-04-01 16:49 Matt Turner
2017-03-03 22:51 Matt Turner
2017-03-03 22:51 Matt Turner
2017-03-03 22:51 Matt Turner
2017-03-03 22:51 Matt Turner
2017-03-03 22:51 Matt Turner
2017-03-03 22:51 Matt Turner
2017-02-13 10:35 Manuel Rüger
2017-01-24 23:45 Matt Turner
2017-01-18  3:12 Matt Turner
2017-01-18  3:12 Matt Turner
2016-11-15 18:36 Matt Turner
2016-11-15  1:25 Matt Turner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1584307719.16926d041311af9fee3f598247bb7fe4751afc1f.mattst88@gentoo \
    --to=mattst88@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox