public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-mobilephone/heimdall/
Date: Sun, 14 Feb 2021 19:04:40 +0000 (UTC)	[thread overview]
Message-ID: <1613329470.86b4fa118b04576c7770ecf02fcdf1e0b6ee02fa.asturm@gentoo> (raw)

commit:     86b4fa118b04576c7770ecf02fcdf1e0b6ee02fa
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 14 18:52:34 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Feb 14 19:04:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86b4fa11

app-mobilephone/heimdall: EAPI-7, cmake.eclass, IUSE=qt5->gui

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-mobilephone/heimdall/heimdall-1.4.2.ebuild | 23 +++++++++++------------
 app-mobilephone/heimdall/heimdall-9999.ebuild  | 23 +++++++++++------------
 app-mobilephone/heimdall/metadata.xml          |  8 ++++----
 3 files changed, 26 insertions(+), 28 deletions(-)

diff --git a/app-mobilephone/heimdall/heimdall-1.4.2.ebuild b/app-mobilephone/heimdall/heimdall-1.4.2.ebuild
index d9c1a516de6..ec8238d43d9 100644
--- a/app-mobilephone/heimdall/heimdall-1.4.2.ebuild
+++ b/app-mobilephone/heimdall/heimdall-1.4.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit cmake-utils udev
+inherit cmake udev
 
 if [[ ${PV} != 9999 ]]; then
 	SRC_URI="https://gitlab.com/BenjaminDobell/Heimdall/-/archive/v${PV}/Heimdall-v${PV}.tar.bz2 -> ${P}.tar.bz2"
@@ -19,31 +19,30 @@ HOMEPAGE="https://glassechidna.com.au/heimdall/"
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="qt5"
+IUSE="gui"
 
-# virtual/libusb is not precise enough
 RDEPEND="
 	>=dev-libs/libusb-1.0.18:1=
-	qt5? (
+	sys-libs/zlib
+	gui? (
 		dev-qt/qtcore:5
 		dev-qt/qtgui:5
 		dev-qt/qtwidgets:5
 	)
-	sys-libs/zlib
 "
-DEPEND="${RDEPEND}
-	virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 src_configure() {
 	local mycmakeargs=(
-		-DDISABLE_FRONTEND="$(usex !qt5)"
+		-DDISABLE_FRONTEND=$(usex !gui)
 	)
-	cmake-utils_src_configure
+	cmake_src_configure
 }
 
 src_install() {
 	dobin "${BUILD_DIR}"/bin/heimdall
-	use qt5 && dobin "${BUILD_DIR}"/bin/heimdall-frontend
+	use gui && dobin "${BUILD_DIR}"/bin/heimdall-frontend
 
 	insinto "$(get_udevdir)/rules.d"
 	doins heimdall/60-heimdall.rules

diff --git a/app-mobilephone/heimdall/heimdall-9999.ebuild b/app-mobilephone/heimdall/heimdall-9999.ebuild
index 15242ac0f03..e583714cae2 100644
--- a/app-mobilephone/heimdall/heimdall-9999.ebuild
+++ b/app-mobilephone/heimdall/heimdall-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit cmake-utils udev
+inherit cmake udev
 
 if [[ ${PV} != 9999 ]]; then
 	SRC_URI="https://gitlab.com/BenjaminDobell/Heimdall/-/archive/v${PV}/Heimdall-v${PV}.tar.bz2 -> ${P}.tar.bz2"
@@ -19,31 +19,30 @@ HOMEPAGE="https://glassechidna.com.au/heimdall/"
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="qt5"
+IUSE="gui"
 
-# virtual/libusb is not precise enough
 RDEPEND="
 	>=dev-libs/libusb-1.0.18:1=
-	qt5? (
+	sys-libs/zlib
+	gui? (
 		dev-qt/qtcore:5
 		dev-qt/qtgui:5
 		dev-qt/qtwidgets:5
 	)
-	sys-libs/zlib
 "
-DEPEND="${RDEPEND}
-	virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 src_configure() {
 	local mycmakeargs=(
-		-DDISABLE_FRONTEND="$(usex !qt5)"
+		-DDISABLE_FRONTEND=$(usex !gui)
 	)
-	cmake-utils_src_configure
+	cmake_src_configure
 }
 
 src_install() {
 	dobin "${BUILD_DIR}"/bin/heimdall
-	use qt5 && dobin "${BUILD_DIR}"/bin/heimdall-frontend
+	use gui && dobin "${BUILD_DIR}"/bin/heimdall-frontend
 
 	insinto "$(get_udevdir)/rules.d"
 	doins heimdall/60-heimdall.rules

diff --git a/app-mobilephone/heimdall/metadata.xml b/app-mobilephone/heimdall/metadata.xml
index 8fe7397a60b..cbbc2b0edd9 100644
--- a/app-mobilephone/heimdall/metadata.xml
+++ b/app-mobilephone/heimdall/metadata.xml
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <!-- maintainer-needed -->
-  <upstream>
-    <remote-id type="gitlab">BenjaminDobell/Heimdall</remote-id>
-  </upstream>
+	<!-- maintainer-needed -->
+	<upstream>
+		<remote-id type="gitlab">BenjaminDobell/Heimdall</remote-id>
+	</upstream>
 </pkgmetadata>


             reply	other threads:[~2021-02-14 19:04 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-14 19:04 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-22 13:53 [gentoo-commits] repo/gentoo:master commit in: app-mobilephone/heimdall/ Petr Vaněk
2024-09-27  8:29 Arthur Zamarin
2024-08-28  6:56 Petr Vaněk
2024-08-27 21:04 Sam James
2024-08-27 15:08 Petr Vaněk
2024-08-27 15:08 Petr Vaněk
2024-04-05 15:27 Arthur Zamarin
2023-09-18 16:39 Joonas Niilola
2023-09-18 16:39 Joonas Niilola
2023-09-18 16:39 Joonas Niilola
2022-12-18 10:41 Sam James
2022-08-14 20:06 Sam James
2022-05-26 12:58 Joonas Niilola
2022-05-26 12:58 Joonas Niilola
2022-05-26 12:58 Joonas Niilola
2022-05-26 12:58 Joonas Niilola
2022-05-26 12:58 Joonas Niilola
2022-05-10 20:06 Arthur Zamarin
2021-04-22 20:15 Sam James
2021-03-23 12:32 Joonas Niilola
2020-01-20 11:51 Agostino Sarubbo
2019-12-23 13:08 Lars Wendler
2019-04-21  1:28 Lars Wendler
2018-07-10 12:41 Lars Wendler
2018-02-20 10:30 Lars Wendler
2018-01-09 13:17 Lars Wendler
2017-07-30  8:47 Michał Górny
2017-05-15 14:23 Lars Wendler
2016-01-14 10:11 Lars Wendler

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=1613329470.86b4fa118b04576c7770ecf02fcdf1e0b6ee02fa.asturm@gentoo \
    --to=asturm@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