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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5BF171581FB for ; Tue, 27 Aug 2024 15:08:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 918B5E29C1; Tue, 27 Aug 2024 15:08:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 7BFA9E29C1 for ; Tue, 27 Aug 2024 15:08:02 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C36E7341C4B for ; Tue, 27 Aug 2024 15:08:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 392C11F08 for ; Tue, 27 Aug 2024 15:08:00 +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: <1724771234.fe04b4bfe3ceacbcb9b9c10b9aebab52cc08773f.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.1.0.ebuild X-VCS-Directories: app-mobilephone/heimdall/ X-VCS-Committer: arkamar X-VCS-Committer-Name: Petr Vaněk X-VCS-Revision: fe04b4bfe3ceacbcb9b9c10b9aebab52cc08773f X-VCS-Branch: master Date: Tue, 27 Aug 2024 15:08:00 +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: 517475d7-6ab0-4fc9-b8d3-83f68576fd5f X-Archives-Hash: 5e925bb5efa369173ae42eb0d68ea246 commit: fe04b4bfe3ceacbcb9b9c10b9aebab52cc08773f Author: Petr Vaněk gentoo org> AuthorDate: Tue Aug 27 14:46:15 2024 +0000 Commit: Petr Vaněk gentoo org> CommitDate: Tue Aug 27 15:07:14 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe04b4bf app-mobilephone/heimdall: add 2.1.0 Signed-off-by: Petr Vaněk gentoo.org> app-mobilephone/heimdall/Manifest | 1 + app-mobilephone/heimdall/heimdall-2.1.0.ebuild | 60 ++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/app-mobilephone/heimdall/Manifest b/app-mobilephone/heimdall/Manifest index e9a2e5b5577c..35372479e26a 100644 --- a/app-mobilephone/heimdall/Manifest +++ b/app-mobilephone/heimdall/Manifest @@ -1,2 +1,3 @@ DIST heimdall-2.0.1.tar.gz 83642 BLAKE2B 29cd784a4ea4c25f9670d27c306ca95d60d7ad8a11175d2ee835a0cf1e7fc5eb179aa4e49c5e05e280ed5ce475a9e66e56b48444dd4b3b93ea8cb173e3d18060 SHA512 f6df4551702a7ad7688018d60569b8b94f20be4f78a9b4bf5f6e89396ed43cd7519617ef1f420b41bbfeec8b51ae636759a7b90443d3d5945cd8744b43e2d0ef DIST heimdall-2.0.2.tar.gz 83619 BLAKE2B 783f94243730a53f25e8d6d95b4c0839d727a5290aed72948fa7e7a3f4217b3ef1cbfc5e3cd828642d0eb5e965b153097d9dfde11d6fcec2066364a444899f41 SHA512 62849bfe7550214dd774efea65169673fa916f9d204000f793d995aed9def95fcc895c8913cd648f2397ab7fd154257e0394b78c180ed60d043c75858bac7c0a +DIST heimdall-2.1.0.tar.gz 69505 BLAKE2B b35b53d705cc3e6db4041e5941aefaf86217ea920fd26ed9a861eb5b8f94a8f3d5babbdfcf430a85a01e6b5130e381d95720062d1955abf63f83db1ba3e87c5c SHA512 75c58cdfaa183e1a8a73127875f716cf168da3a109eefafc7bf1fe9573b9d716da23ff15d0df93474568a678a1b38e71611c745b688c3bc024e70672d921fdd6 diff --git a/app-mobilephone/heimdall/heimdall-2.1.0.ebuild b/app-mobilephone/heimdall/heimdall-2.1.0.ebuild new file mode 100644 index 000000000000..4869617d580c --- /dev/null +++ b/app-mobilephone/heimdall/heimdall-2.1.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2024 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/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + )" + +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 +}