summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2014-06-02 22:44:20 +0000
committerLars Wendler <polynomial-c@gentoo.org>2014-06-02 22:44:20 +0000
commite84da5f40a03b20de4e7d0ee1344611f75ae438f (patch)
tree82adeff3c318688cda15165e3dfb8afc1f543205 /app-mobilephone
parentVersion bump, bug #508270. Add a webstart USE flag that enables creating a ja... (diff)
downloadgentoo-2-e84da5f40a03b20de4e7d0ee1344611f75ae438f.tar.gz
gentoo-2-e84da5f40a03b20de4e7d0ee1344611f75ae438f.tar.bz2
gentoo-2-e84da5f40a03b20de4e7d0ee1344611f75ae438f.zip
Version bump. Removed old. Took over maintenance
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Diffstat (limited to 'app-mobilephone')
-rw-r--r--app-mobilephone/heimdall/ChangeLog8
-rw-r--r--app-mobilephone/heimdall/heimdall-1.4.1.ebuild62
-rw-r--r--app-mobilephone/heimdall/metadata.xml4
3 files changed, 71 insertions, 3 deletions
diff --git a/app-mobilephone/heimdall/ChangeLog b/app-mobilephone/heimdall/ChangeLog
index aca8f7b48dc6..cf96244ba6a1 100644
--- a/app-mobilephone/heimdall/ChangeLog
+++ b/app-mobilephone/heimdall/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-mobilephone/heimdall
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/heimdall/ChangeLog,v 1.7 2014/03/24 17:48:11 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/heimdall/ChangeLog,v 1.8 2014/06/02 22:44:20 polynomial-c Exp $
+
+*heimdall-1.4.1 (02 Jun 2014)
+
+ 02 Jun 2014; Lars Wendler <polynomial-c@gentoo.org> +heimdall-1.4.1.ebuild,
+ metadata.xml:
+ Version bump. Removed old. Took over maintenance.
24 Mar 2014; Samuli Suominen <ssuominen@gentoo.org> heimdall-1.4.0.ebuild,
heimdall-9999.ebuild:
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..ce66eb7d1048
--- /dev/null
+++ b/app-mobilephone/heimdall/heimdall-1.4.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/heimdall/heimdall-1.4.1.ebuild,v 1.1 2014/06/02 22:44:20 polynomial-c Exp $
+
+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="git://github.com/Benjamin-Dobell/Heimdall.git
+ 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/metadata.xml b/app-mobilephone/heimdall/metadata.xml
index 09ddbff14dbf..c9169515bdf5 100644
--- a/app-mobilephone/heimdall/metadata.xml
+++ b/app-mobilephone/heimdall/metadata.xml
@@ -2,7 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
- <email>floppym@gentoo.org</email>
- <name>Mike Gilbert</name>
+ <email>polynomial-c@gentoo.org</email>
+ <name>Lars Wendler</name>
</maintainer>
</pkgmetadata>