From e84da5f40a03b20de4e7d0ee1344611f75ae438f Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Mon, 2 Jun 2014 22:44:20 +0000 Subject: Version bump. Removed old. Took over maintenance (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC) --- app-mobilephone/heimdall/ChangeLog | 8 +++- app-mobilephone/heimdall/heimdall-1.4.1.ebuild | 62 ++++++++++++++++++++++++++ app-mobilephone/heimdall/metadata.xml | 4 +- 3 files changed, 71 insertions(+), 3 deletions(-) create mode 100644 app-mobilephone/heimdall/heimdall-1.4.1.ebuild (limited to 'app-mobilephone') 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 +heimdall-1.4.1.ebuild, + metadata.xml: + Version bump. Removed old. Took over maintenance. 24 Mar 2014; Samuli Suominen 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 @@ - floppym@gentoo.org - Mike Gilbert + polynomial-c@gentoo.org + Lars Wendler -- cgit v1.2.3-65-gdbad