summaryrefslogtreecommitdiff
path: root/app-mobilephone
diff options
context:
space:
mode:
Diffstat (limited to 'app-mobilephone')
-rw-r--r--app-mobilephone/Manifest.gzbin2211 -> 2213 bytes
-rw-r--r--app-mobilephone/heimdall/Manifest6
-rw-r--r--app-mobilephone/heimdall/heimdall-2.0.2.ebuild56
-rw-r--r--app-mobilephone/heimdall/heimdall-9999.ebuild6
-rw-r--r--app-mobilephone/heimdall/metadata.xml9
5 files changed, 66 insertions, 11 deletions
diff --git a/app-mobilephone/Manifest.gz b/app-mobilephone/Manifest.gz
index 29083ea530ad..46142c1f8294 100644
--- a/app-mobilephone/Manifest.gz
+++ b/app-mobilephone/Manifest.gz
Binary files differ
diff --git a/app-mobilephone/heimdall/Manifest b/app-mobilephone/heimdall/Manifest
index f4b03c1e1ec6..94c42198c92c 100644
--- a/app-mobilephone/heimdall/Manifest
+++ b/app-mobilephone/heimdall/Manifest
@@ -1,4 +1,6 @@
DIST heimdall-2.0.1.tar.gz 83642 BLAKE2B 29cd784a4ea4c25f9670d27c306ca95d60d7ad8a11175d2ee835a0cf1e7fc5eb179aa4e49c5e05e280ed5ce475a9e66e56b48444dd4b3b93ea8cb173e3d18060 SHA512 f6df4551702a7ad7688018d60569b8b94f20be4f78a9b4bf5f6e89396ed43cd7519617ef1f420b41bbfeec8b51ae636759a7b90443d3d5945cd8744b43e2d0ef
+DIST heimdall-2.0.2.tar.gz 83619 BLAKE2B 783f94243730a53f25e8d6d95b4c0839d727a5290aed72948fa7e7a3f4217b3ef1cbfc5e3cd828642d0eb5e965b153097d9dfde11d6fcec2066364a444899f41 SHA512 62849bfe7550214dd774efea65169673fa916f9d204000f793d995aed9def95fcc895c8913cd648f2397ab7fd154257e0394b78c180ed60d043c75858bac7c0a
EBUILD heimdall-2.0.1.ebuild 1089 BLAKE2B 3114b156ed756368d0fa9c2260f6442c0541175b00878ac3691235825d9efddc50c29d4e6d6a53ec7ac9b298bd2a80973a08f55ced47008af1e5d6ec38352b1e SHA512 a7f5a35a9c19b7a4d3f118f31d9671e6f7159b9ff43c08192871a0c128ade97aa9bd4b4fd8bff1c5b64e2472dd6a46a999aa760808f522c628129830daae01a1
-EBUILD heimdall-9999.ebuild 1089 BLAKE2B 3114b156ed756368d0fa9c2260f6442c0541175b00878ac3691235825d9efddc50c29d4e6d6a53ec7ac9b298bd2a80973a08f55ced47008af1e5d6ec38352b1e SHA512 a7f5a35a9c19b7a4d3f118f31d9671e6f7159b9ff43c08192871a0c128ade97aa9bd4b4fd8bff1c5b64e2472dd6a46a999aa760808f522c628129830daae01a1
-MISC metadata.xml 487 BLAKE2B e6fa4bfad573e056eb7e154b63563fc9fce98a39ba89629b85899aa9115dd63de277a8bde8e780412acc5103ab993ce88f135e707c633a533f8f07c7480966d7 SHA512 180fbf4181a63b1713890ddbf3407085e5f05870dd433ea354ae8b508e340cbb2f13c4cec8f29bdf9481caaa09339d22272e080136b842c44589b50bfa1cef5d
+EBUILD heimdall-2.0.2.ebuild 1121 BLAKE2B f9437836338d3e112786575c81df0611cf47e93a3902f1cb1741a5f943892c045903901f2e15dd0facc8fce0331cf251dd5bcc9ff27521aeceab2199fd1dcf5f SHA512 02deb3167d1b9024b9d900397b6aaae922ab4eda5ab78ec04585187036bd3c92e83ce08833e0533d5320d9b1c22069d27279fa442b0bd370b17bcd012eef47c3
+EBUILD heimdall-9999.ebuild 1120 BLAKE2B 816bcff4bf4d25872ba3059dd81b6936a9661c52f0987bad75ba1135c59df6a755f673268a6d46855380f3b2e18cc5db00a1ba07c149c178a217985dfe01e50d SHA512 6c1d0b0f746e89a0a99eb708e3fd9be882f818a99b318969648d288d82f53d8a3bb67f3d31001902e8deb5ae198eae5af5151ef7e4d422676f3dd7407205500e
+MISC metadata.xml 253 BLAKE2B bd5309204d275a8ac782c9bb7b17b4d36669597eada758d14cbabdbd1c696b30c91a48e32e07f884f6a8111562623657ff27a5d6ba4f3244b83b858db79359c0 SHA512 dcad51d700f006a9099d814965023d431f623a58b1c4a454ba2be890d81fd5b9c394d91a987295a9dfc7a01b9d82ea68002d27a90bbd6851169c6f9d09f32ef4
diff --git a/app-mobilephone/heimdall/heimdall-2.0.2.ebuild b/app-mobilephone/heimdall/heimdall-2.0.2.ebuild
new file mode 100644
index 000000000000..7595551d2aa5
--- /dev/null
+++ b/app-mobilephone/heimdall/heimdall-2.0.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake udev
+
+if [[ ${PV} != 9999 ]]; then
+ SRC_URI="https://git.sr.ht/~grimler/Heimdall/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64"
+ S="${WORKDIR}/Heimdall-v${PV}"
+else
+ inherit git-r3
+ EGIT_REPO_URI="https://git.sr.ht/~grimler/Heimdall"
+fi
+
+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"
+
+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() {
+ dobin "${BUILD_DIR}"/bin/heimdall
+ use gui && dobin "${BUILD_DIR}"/bin/heimdall-frontend
+ udev_dorules heimdall/60-heimdall.rules
+ dodoc README.md Linux/README
+}
+
+pkg_postinst() {
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}
diff --git a/app-mobilephone/heimdall/heimdall-9999.ebuild b/app-mobilephone/heimdall/heimdall-9999.ebuild
index b1c61d9f7b06..69599346a8bb 100644
--- a/app-mobilephone/heimdall/heimdall-9999.ebuild
+++ b/app-mobilephone/heimdall/heimdall-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -50,3 +50,7 @@ src_install() {
pkg_postinst() {
udev_reload
}
+
+pkg_postrm() {
+ udev_reload
+}
diff --git a/app-mobilephone/heimdall/metadata.xml b/app-mobilephone/heimdall/metadata.xml
index 9e20ad1856b6..c72a6e44e35e 100644
--- a/app-mobilephone/heimdall/metadata.xml
+++ b/app-mobilephone/heimdall/metadata.xml
@@ -1,14 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>duje.mihanovic@skole.hr</email>
- <name>Duje Mihanović</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
+ <!-- maintainer-needed -->
<upstream>
<remote-id type="sourcehut">~grimler/Heimdall</remote-id>
</upstream>