summaryrefslogtreecommitdiff
path: root/app-mobilephone/heimdall
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-mobilephone/heimdall
reinit the tree, so we can have metadata
Diffstat (limited to 'app-mobilephone/heimdall')
-rw-r--r--app-mobilephone/heimdall/Manifest10
-rw-r--r--app-mobilephone/heimdall/heimdall-1.4.0.ebuild61
-rw-r--r--app-mobilephone/heimdall/heimdall-1.4.1.ebuild60
-rw-r--r--app-mobilephone/heimdall/heimdall-1.4.2.ebuild52
-rw-r--r--app-mobilephone/heimdall/heimdall-9999.ebuild52
-rw-r--r--app-mobilephone/heimdall/metadata.xml11
6 files changed, 246 insertions, 0 deletions
diff --git a/app-mobilephone/heimdall/Manifest b/app-mobilephone/heimdall/Manifest
new file mode 100644
index 000000000000..5566d303b76c
--- /dev/null
+++ b/app-mobilephone/heimdall/Manifest
@@ -0,0 +1,10 @@
+DIST heimdall-1.4.0.tar.gz 6565316 SHA256 13f5edff2fc857cf7d82708a2ac9ad1f6d2f5d6a2e5d84587f55f62583d60531 SHA512 ae6c55af97fe95587b89cce90e75fd3b236fd8ac0d506112c9c143fb1d0982aac6d1bef7a6c6635b547148ac4913aeb4215ed9c7c8084fd0912010c5ad9604ee WHIRLPOOL b4c64a755d2f3577f894e22633e11cf60323d028b89e8117fa2c6cbedf7b55d9227cb17017d966d3d48fb56958a11ce87f3334aafedfcae57e6928ef42d8c121
+DIST heimdall-1.4.1.tar.gz 6358720 SHA256 f0a6e4b5bf806fe4ab5413dd869817b600bcd339b642ff46ec0c5fe69adf7230 SHA512 2f1f49b0ad7bd5f4359893359b26024fe0cce84afed3878e42d902eb4dee487a44e351247d57e4af143ad728abd6c664df688246fcf7b96b9f3841cd16594296 WHIRLPOOL 13fa7c40f66c17010e0aca9c96e87ed34196ae2fa4c2944c63afba7df619620e154692b3846cafecf5b8cf6896e7f7a92d47e255c87421a57494f5747c6cedee
+DIST heimdall-1.4.2.tar.gz 5486693 SHA256 589bef88f2597c8a84fe6fafbe928ddc9687438b5b54edd917d7df48c7e3eff8 SHA512 c554662f9ccb763a8e9867a0c563618879d2533af985d44db3c237d3ee51add44c1681d13b1a83b72b30ba6e5b32d7c2f9c02b31114c67c5fbe01cbb010acfe7 WHIRLPOOL ad7bf8b8ff2df4b132a77dc62dba0a3caf551f80cedff80c3715079109255939fc140da493dc6cb40c6dce3c843b3390af2deaefa6bb5b44c5cb8875e8cd2831
+EBUILD heimdall-1.4.0.ebuild 1400 SHA256 c53d7247db31d4729f343ffd047d6af4eb1b22e91a19f30b2ad3a20c072970f7 SHA512 12d975db4830fe5c0ccd44afde36e24d1a127539a0d309e98fa4e74a79e7bc4364d57cb8dc0081ce42ba241f4518d9c137a892234f776a7b7c8e62d49d02ba54 WHIRLPOOL 5dd21830955c93712e50788a1020c5c6a2a00e20799b44ee38afe5ac36c87d079808857c1a35a2b8cf6cc04c15a260c71e2843bd0915b853e1f0dc382dcdad7d
+EBUILD heimdall-1.4.1.ebuild 1349 SHA256 4c6ab51509233b8d75fe62aef93c344a812699a8ff74bb83106bdeb6477f2dce SHA512 a46d54a8a322a43df14ec034c3875ada1277acdd2f705e8c9a675e7160f6cae63f4d437064517366fedb2dd40c3130e756d30ec5be25351735dabdda2c979ae7 WHIRLPOOL baba1216d2f780e0bc5ab5ae875b368ba3df255f675761e52a319f2980f8b58722c74d57283a44bfdf298147b9164b10a525d81f92d1133a253701add7f5eab3
+EBUILD heimdall-1.4.2.ebuild 1086 SHA256 e0f33abd2186451b67e94d3598c000ad5b752bf9d36bca69f6c818560798aff0 SHA512 fd841befd0bcb859da7e59badc8e34a69891a4eebe944eff3fbe7eba3f9cfd50d6edff6d725f3f75a8f547cad13f20923365e9496dc9f5378ca2909d756d422c WHIRLPOOL 1fe24fb7b769fb33f9184111f5d601ad8705b08387d7168502a8c831bea864f2ec2c70799f5109e68b9cfaf0dc00f4822f5261d36192e22971d225dc7784e22e
+EBUILD heimdall-9999.ebuild 1086 SHA256 e0f33abd2186451b67e94d3598c000ad5b752bf9d36bca69f6c818560798aff0 SHA512 fd841befd0bcb859da7e59badc8e34a69891a4eebe944eff3fbe7eba3f9cfd50d6edff6d725f3f75a8f547cad13f20923365e9496dc9f5378ca2909d756d422c WHIRLPOOL 1fe24fb7b769fb33f9184111f5d601ad8705b08387d7168502a8c831bea864f2ec2c70799f5109e68b9cfaf0dc00f4822f5261d36192e22971d225dc7784e22e
+MISC ChangeLog 2533 SHA256 a748b1f0f12d9250c5cf62db9871f365ebf354e1685820bac3d1aa7cff638e10 SHA512 c91ee75643d9bf68eae2541d200525117cb076033bbbacdc5980ecfc55129b32a5377bf422538b77e8e77253d604be2c496be673a91b1c87630676ec03fe8ca3 WHIRLPOOL 218deac8c22a8be182da19d63a5ea0a8b340227dbfec9db821cfbb3d68d934e09019f4cdddcc14ac3a8ef1ac460a42369be6262d228c263c4f09f9ab47984b1a
+MISC ChangeLog-2015 1658 SHA256 4336eddabfa0cca6a20a8e0c84fcc4323d2a6a742b2612abceca1b38d01b1c5d SHA512 079c12ff1e3a954cce860bf547a2d7c2ce08ae62b4667d58f13923487975436cf1068a93612c14aa0c01d7d61c5062835a4a56d3a5b8c6cea49cd7bac83fa196 WHIRLPOOL 7411d01f3c2833950f0664fbd334fcc6c0d013313ec86490a682c49f0c5d766b439956eeb94612af4bdb6d0bca61454b283f947b7b32e298e991ee2c0a058506
+MISC metadata.xml 350 SHA256 ab08bf0dcb0e191f0daa4ffd7379000ebc78be0c1ab17cc50c1b6c82901a77c3 SHA512 bef074ae5251d966c48420c9ed1c61e1cbf36636823e8b237914087b31e300c2436e3c7479da9762d396412e6767ebe3c9453fd85e958e603a0639268c539f77 WHIRLPOOL 76cead4a190153ba837aa574130e1b5419331f465e17921de667f9c60eb41c095a96a5b089ad7cf43b58c9d86f2322165c6cab1f7ff4250299bc8a2fd7962801
diff --git a/app-mobilephone/heimdall/heimdall-1.4.0.ebuild b/app-mobilephone/heimdall/heimdall-1.4.0.ebuild
new file mode 100644
index 000000000000..cac3459aa2c6
--- /dev/null
+++ b/app-mobilephone/heimdall/heimdall-1.4.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils qt4-r2 udev
+
+if [[ ${PV} != 9999 ]]; then
+ SRC_URI="https://github.com/Benjamin-Dobell/Heimdall/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/Heimdall-${PV}"
+else
+ inherit git-2
+ EGIT_REPO_URI="https://github.com/Benjamin-Dobell/Heimdall.git"
+fi
+
+DESCRIPTION="Tool suite used to flash firmware onto Samsung Galaxy S devices"
+HOMEPAGE="http://www.glassechidna.com.au/products/heimdall/"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="qt4"
+
+# virtual/libusb is not precise enough
+RDEPEND=">=dev-libs/libusb-1.0.18:1=
+ qt4? ( dev-qt/qtcore:4= dev-qt/qtgui:4= )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ rm -r libusbx-1.0 || die
+ cd "${S}/heimdall" || die
+ edos2unix configure.ac Makefile.am || die
+ sed -i -e /sudo/d Makefile.am || die
+ eautoreconf
+}
+
+src_configure() {
+ cd "${S}/libpit" || die
+ econf
+
+ cd "${S}/heimdall" || die
+ econf
+
+ if use qt4; then
+ cd "${S}/heimdall-frontend" || die
+ eqmake4 heimdall-frontend.pro OUTPUTDIR=/usr/bin || die
+ fi
+}
+
+src_compile() {
+ emake -C libpit
+ emake -C heimdall
+ use qt4 && emake -C heimdall-frontend
+}
+
+src_install() {
+ emake -C heimdall DESTDIR="${D}" udevrulesdir="$(get_udevdir)/rules.d" install
+ dodoc Linux/README
+ use qt4 && emake -C heimdall-frontend INSTALL_ROOT="${D}" install
+}
diff --git a/app-mobilephone/heimdall/heimdall-1.4.1.ebuild b/app-mobilephone/heimdall/heimdall-1.4.1.ebuild
new file mode 100644
index 000000000000..58662f1ba5d7
--- /dev/null
+++ b/app-mobilephone/heimdall/heimdall-1.4.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils qt4-r2 udev
+
+if [[ ${PV} != 9999 ]]; then
+ SRC_URI="https://github.com/Benjamin-Dobell/Heimdall/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/Heimdall-${PV}"
+else
+ inherit git-2
+ EGIT_REPO_URI="https://github.com/Benjamin-Dobell/Heimdall.git"
+fi
+
+DESCRIPTION="Tool suite used to flash firmware onto Samsung Galaxy S devices"
+HOMEPAGE="http://www.glassechidna.com.au/products/heimdall/"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="qt4"
+
+# virtual/libusb is not precise enough
+RDEPEND=">=dev-libs/libusb-1.0.18:1=
+ qt4? ( dev-qt/qtcore:4= dev-qt/qtgui:4= )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ rm -r libusb-1.0 || die
+ cd "${S}/heimdall" || die
+ edos2unix configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ cd "${S}/libpit" || die
+ econf
+
+ cd "${S}/heimdall" || die
+ econf
+
+ if use qt4; then
+ cd "${S}/heimdall-frontend" || die
+ eqmake4 heimdall-frontend.pro OUTPUTDIR=/usr/bin || die
+ fi
+}
+
+src_compile() {
+ emake -C libpit
+ emake -C heimdall
+ use qt4 && emake -C heimdall-frontend
+}
+
+src_install() {
+ emake -C heimdall DESTDIR="${D}" udevrulesdir="$(get_udevdir)/rules.d" install
+ dodoc Linux/README
+ use qt4 && emake -C heimdall-frontend INSTALL_ROOT="${D}" install
+}
diff --git a/app-mobilephone/heimdall/heimdall-1.4.2.ebuild b/app-mobilephone/heimdall/heimdall-1.4.2.ebuild
new file mode 100644
index 000000000000..944650f2addf
--- /dev/null
+++ b/app-mobilephone/heimdall/heimdall-1.4.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils udev
+
+if [[ ${PV} != 9999 ]]; then
+ SRC_URI="https://github.com/Benjamin-Dobell/Heimdall/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/Heimdall-${PV}"
+else
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/Benjamin-Dobell/Heimdall.git"
+fi
+
+DESCRIPTION="Tool suite used to flash firmware onto Samsung Galaxy S devices"
+HOMEPAGE="http://glassechidna.com.au/heimdall/"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="qt5"
+
+# virtual/libusb is not precise enough
+RDEPEND="
+ >=dev-libs/libusb-1.0.18:1=
+ qt5? (
+ dev-qt/qtcore:5=
+ dev-qt/qtgui:5=
+ dev-qt/qtwidgets:5=
+ )
+ sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ local mycmakeargs=(
+ -DDISABLE_FRONTEND="$(usex !qt5)"
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ dobin "${BUILD_DIR}"/bin/heimdall
+ use qt5 && dobin "${BUILD_DIR}"/bin/heimdall-frontend
+
+ insinto "$(get_udevdir)/rules.d"
+ doins heimdall/60-heimdall.rules
+
+ dodoc README.md Linux/README
+}
diff --git a/app-mobilephone/heimdall/heimdall-9999.ebuild b/app-mobilephone/heimdall/heimdall-9999.ebuild
new file mode 100644
index 000000000000..944650f2addf
--- /dev/null
+++ b/app-mobilephone/heimdall/heimdall-9999.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils udev
+
+if [[ ${PV} != 9999 ]]; then
+ SRC_URI="https://github.com/Benjamin-Dobell/Heimdall/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/Heimdall-${PV}"
+else
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/Benjamin-Dobell/Heimdall.git"
+fi
+
+DESCRIPTION="Tool suite used to flash firmware onto Samsung Galaxy S devices"
+HOMEPAGE="http://glassechidna.com.au/heimdall/"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="qt5"
+
+# virtual/libusb is not precise enough
+RDEPEND="
+ >=dev-libs/libusb-1.0.18:1=
+ qt5? (
+ dev-qt/qtcore:5=
+ dev-qt/qtgui:5=
+ dev-qt/qtwidgets:5=
+ )
+ sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ local mycmakeargs=(
+ -DDISABLE_FRONTEND="$(usex !qt5)"
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ dobin "${BUILD_DIR}"/bin/heimdall
+ use qt5 && dobin "${BUILD_DIR}"/bin/heimdall-frontend
+
+ insinto "$(get_udevdir)/rules.d"
+ doins heimdall/60-heimdall.rules
+
+ dodoc README.md Linux/README
+}
diff --git a/app-mobilephone/heimdall/metadata.xml b/app-mobilephone/heimdall/metadata.xml
new file mode 100644
index 000000000000..a32d39ae12f7
--- /dev/null
+++ b/app-mobilephone/heimdall/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>polynomial-c@gentoo.org</email>
+ <name>Lars Wendler</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Benjamin-Dobell/Heimdall</remote-id>
+ </upstream>
+</pkgmetadata>