summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-02-14 19:52:34 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-02-14 20:04:30 +0100
commit86b4fa118b04576c7770ecf02fcdf1e0b6ee02fa (patch)
treed78ff9c24092cc7b764024dfc3e4a36465289e31 /app-mobilephone
parentx11-misc/qcomicbook: EAPI-7 bump, port to cmake.eclass (diff)
downloadgentoo-86b4fa118b04576c7770ecf02fcdf1e0b6ee02fa.tar.gz
gentoo-86b4fa118b04576c7770ecf02fcdf1e0b6ee02fa.tar.bz2
gentoo-86b4fa118b04576c7770ecf02fcdf1e0b6ee02fa.zip
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@gentoo.org>
Diffstat (limited to 'app-mobilephone')
-rw-r--r--app-mobilephone/heimdall/heimdall-1.4.2.ebuild23
-rw-r--r--app-mobilephone/heimdall/heimdall-9999.ebuild23
-rw-r--r--app-mobilephone/heimdall/metadata.xml8
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>