From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A5BE21580EB for ; Mon, 26 May 2025 19:08:58 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 8CF21343066 for ; Mon, 26 May 2025 19:08:58 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 7CB8F110287; Mon, 26 May 2025 19:08:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 71F1F110287 for ; Mon, 26 May 2025 19:08:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 20AA5342F93 for ; Mon, 26 May 2025 19:08:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5EA1EECC for ; Mon, 26 May 2025 19:08:55 +0000 (UTC) From: "Petr Vaněk" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Petr Vaněk" Message-ID: <1748286337.6ac5b5b77bf8cebd53c5da4de339b1f09c53bc34.arkamar@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-mobilephone/heimdall/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-mobilephone/heimdall/Manifest app-mobilephone/heimdall/heimdall-2.2.2.ebuild X-VCS-Directories: app-mobilephone/heimdall/ X-VCS-Committer: arkamar X-VCS-Committer-Name: Petr Vaněk X-VCS-Revision: 6ac5b5b77bf8cebd53c5da4de339b1f09c53bc34 X-VCS-Branch: master Date: Mon, 26 May 2025 19:08:55 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cf6724b4-a36e-40a0-85a1-6669b950f3b9 X-Archives-Hash: d6a3373406cad3b7df25024f83ae8141 commit: 6ac5b5b77bf8cebd53c5da4de339b1f09c53bc34 Author: Petr Vaněk gentoo org> AuthorDate: Mon May 26 19:04:36 2025 +0000 Commit: Petr Vaněk gentoo org> CommitDate: Mon May 26 19:05:37 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ac5b5b7 app-mobilephone/heimdall: add 2.2.2 Signed-off-by: Petr Vaněk gentoo.org> app-mobilephone/heimdall/Manifest | 1 + app-mobilephone/heimdall/heimdall-2.2.2.ebuild | 58 ++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/app-mobilephone/heimdall/Manifest b/app-mobilephone/heimdall/Manifest index 083bff38afd0..298c5fe1ab4d 100644 --- a/app-mobilephone/heimdall/Manifest +++ b/app-mobilephone/heimdall/Manifest @@ -1,3 +1,4 @@ DIST heimdall-2.1.0.tar.gz 69505 BLAKE2B b35b53d705cc3e6db4041e5941aefaf86217ea920fd26ed9a861eb5b8f94a8f3d5babbdfcf430a85a01e6b5130e381d95720062d1955abf63f83db1ba3e87c5c SHA512 75c58cdfaa183e1a8a73127875f716cf168da3a109eefafc7bf1fe9573b9d716da23ff15d0df93474568a678a1b38e71611c745b688c3bc024e70672d921fdd6 DIST heimdall-2.1.1.tar.gz 68067 BLAKE2B be3fff2b32b1c710a079ebc9a5eca00b30eab881ca02f55176c3f32af50801ec7e02e79a06efb1877782497bc62d28129a413cdfc39f4ea0646556ee6b8be6a7 SHA512 a388b8f3fbf75b46aa3a1b61016c08cfc1c8d4ad6a68e690ddce9424cc4df22500922604f5891f471dddae16034a30e610432fa5d4023fd398bf7a798215a5eb DIST heimdall-2.2.1.tar.gz 68068 BLAKE2B 2a714831ba599786102f2f24493b07c2156555c042635c5d41171b7343ff94f05f638ae88bea908319ec86508e194b98e0d3c3dec44d5498f6de86abaccb5efb SHA512 48566f8064c9b187e4ba179840d824439ed27aaf9a66572223b02ac228054bd78561ad263333aa4ee6c53375939f64ec53c67a7286d3f75cb271e7a0017886a9 +DIST heimdall-2.2.2.tar.gz 68059 BLAKE2B 946959db1819581856f570aa9a114849f0dc20e12639847a63a28c3ea5752a57e5f50a57dd53c7c7ac005542eba4e496d766f2e185c66013d62d803c69a2172d SHA512 75c3614b1c7dcbcd5537a308ddd3e2adb97024c7d9572ad2a9187ff50f516209995cf9ab65efa9dd282b925687af70a61298cf0e07b5dca333b589e37b2a14e3 diff --git a/app-mobilephone/heimdall/heimdall-2.2.2.ebuild b/app-mobilephone/heimdall/heimdall-2.2.2.ebuild new file mode 100644 index 000000000000..3173c55b29fd --- /dev/null +++ b/app-mobilephone/heimdall/heimdall-2.2.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake udev + +DESCRIPTION="Tool suite used to flash firmware onto Samsung devices" +HOMEPAGE=" + https://git.sr.ht/~grimler/Heimdall + https://glassechidna.com.au/heimdall/ + https://github.com/Benjamin-Dobell/Heimdall +" + +if [[ ${PV} != 9999 ]]; then + SRC_URI="https://git.sr.ht/~grimler/Heimdall/archive/v${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/Heimdall-v${PV}" + + KEYWORDS="~amd64 ~arm64" +else + inherit git-r3 + EGIT_REPO_URI="https://git.sr.ht/~grimler/Heimdall" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="gui" + +RDEPEND=" + sys-libs/zlib + virtual/libusb:1= + gui? ( + dev-qt/qtbase:6[gui,widgets] + )" + +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_configure() { + local mycmakeargs=( + -DDISABLE_FRONTEND=$(usex !gui) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + udev_dorules heimdall/60-heimdall.rules +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +}