summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2013-08-18 20:56:03 +0000
committerMike Gilbert <floppym@gentoo.org>2013-08-18 20:56:03 +0000
commit8d1888b1f831bc2000ebb2df3bdd8e25fbc60797 (patch)
tree6945e624e664c40ec849449ee596f5254daebf98 /app-mobilephone
parentActually add stable sparc keyword, drop older versions (diff)
downloadgentoo-2-8d1888b1f831bc2000ebb2df3bdd8e25fbc60797.tar.gz
gentoo-2-8d1888b1f831bc2000ebb2df3bdd8e25fbc60797.tar.bz2
gentoo-2-8d1888b1f831bc2000ebb2df3bdd8e25fbc60797.zip
New ebuild, resolves bug 353180.
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'app-mobilephone')
-rw-r--r--app-mobilephone/heimdall/ChangeLog10
-rw-r--r--app-mobilephone/heimdall/Manifest4
-rw-r--r--app-mobilephone/heimdall/heimdall-1.4.0.ebuild62
-rw-r--r--app-mobilephone/heimdall/heimdall-9999.ebuild62
-rw-r--r--app-mobilephone/heimdall/metadata.xml8
5 files changed, 146 insertions, 0 deletions
diff --git a/app-mobilephone/heimdall/ChangeLog b/app-mobilephone/heimdall/ChangeLog
new file mode 100644
index 000000000000..288811fc7d2a
--- /dev/null
+++ b/app-mobilephone/heimdall/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-mobilephone/heimdall
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/heimdall/ChangeLog,v 1.1 2013/08/18 20:56:03 floppym Exp $
+
+*heimdall-1.4.0 (18 Aug 2013)
+*heimdall-9999 (18 Aug 2013)
+
+ 18 Aug 2013; Mike Gilbert <floppym@gentoo.org> +heimdall-1.4.0.ebuild,
+ +heimdall-9999.ebuild, +metadata.xml:
+ New ebuild, resolves bug 353180.
diff --git a/app-mobilephone/heimdall/Manifest b/app-mobilephone/heimdall/Manifest
new file mode 100644
index 000000000000..22d5bf6ffc74
--- /dev/null
+++ b/app-mobilephone/heimdall/Manifest
@@ -0,0 +1,4 @@
+DIST heimdall-1.4.0.tar.gz 6565316 SHA256 13f5edff2fc857cf7d82708a2ac9ad1f6d2f5d6a2e5d84587f55f62583d60531 SHA512 ae6c55af97fe95587b89cce90e75fd3b236fd8ac0d506112c9c143fb1d0982aac6d1bef7a6c6635b547148ac4913aeb4215ed9c7c8084fd0912010c5ad9604ee WHIRLPOOL b4c64a755d2f3577f894e22633e11cf60323d028b89e8117fa2c6cbedf7b55d9227cb17017d966d3d48fb56958a11ce87f3334aafedfcae57e6928ef42d8c121
+EBUILD heimdall-1.4.0.ebuild 1414 SHA256 9dff0187cda508a1d07779d72b6fb93da81dbab96af991cbcb7ffd1965fde00b SHA512 5856c7081bb5f9ffe39f51d55c63cc81311f7f5ed62fa08ede9fe49c77903611ca19d0287e5b4f557fc77c7d5bf18618f1d659637fb9eb3d08e5aae91e032433 WHIRLPOOL 41b1d4a6e68ce694b353ba662bb011eb170d5f82b24601d66f0026d884719b11e77389eddf464bd68a79d83f3631d10eead0431030f02ab1bcee132d3979c796
+EBUILD heimdall-9999.ebuild 1414 SHA256 9dff0187cda508a1d07779d72b6fb93da81dbab96af991cbcb7ffd1965fde00b SHA512 5856c7081bb5f9ffe39f51d55c63cc81311f7f5ed62fa08ede9fe49c77903611ca19d0287e5b4f557fc77c7d5bf18618f1d659637fb9eb3d08e5aae91e032433 WHIRLPOOL 41b1d4a6e68ce694b353ba662bb011eb170d5f82b24601d66f0026d884719b11e77389eddf464bd68a79d83f3631d10eead0431030f02ab1bcee132d3979c796
+MISC metadata.xml 232 SHA256 8e0308eed9efea18755c3fc2161057faa2b438c4d31895e776d2d5cd5ff109df SHA512 0ec524315be6762228ff54bca53ec039e93672dcef379ef6ef0087656d5e11644aebabcc08663af4f18bdb1b254e71f2b2d3f91277e2867022b93f00d975ae88 WHIRLPOOL bd96dd794e9fdf37bea367be6ada6deb0cf7b98f1978c9e23746f98b1fc2fef931077dd59f6bff7d64856ed284d39f638fb8e0517c61b42f6a0605db09297047
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..b9c9ff247bd7
--- /dev/null
+++ b/app-mobilephone/heimdall/heimdall-1.4.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/heimdall/heimdall-1.4.0.ebuild,v 1.1 2013/08/18 20:56:03 floppym 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"
+
+RDEPEND="dev-libs/libusbx: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-9999.ebuild b/app-mobilephone/heimdall/heimdall-9999.ebuild
new file mode 100644
index 000000000000..70bb68ad85ec
--- /dev/null
+++ b/app-mobilephone/heimdall/heimdall-9999.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/heimdall/heimdall-9999.ebuild,v 1.1 2013/08/18 20:56:03 floppym 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"
+
+RDEPEND="dev-libs/libusbx: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/metadata.xml b/app-mobilephone/heimdall/metadata.xml
new file mode 100644
index 000000000000..09ddbff14dbf
--- /dev/null
+++ b/app-mobilephone/heimdall/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>floppym@gentoo.org</email>
+ <name>Mike Gilbert</name>
+ </maintainer>
+</pkgmetadata>