diff options
author | Mike Gilbert <floppym@gentoo.org> | 2013-08-18 20:56:05 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2013-08-18 20:56:05 +0000 |
commit | 79eb18b8bcf334463fa76bd71ebbdc45c82a95ff (patch) | |
tree | 58c8c5af5c9658153b3c8059686f1df795ba0053 /app-mobilephone/heimdall | |
parent | New ebuild, resolves bug 353180. (diff) | |
download | historical-79eb18b8bcf334463fa76bd71ebbdc45c82a95ff.tar.gz historical-79eb18b8bcf334463fa76bd71ebbdc45c82a95ff.tar.bz2 historical-79eb18b8bcf334463fa76bd71ebbdc45c82a95ff.zip |
New ebuild, resolves bug 353180.
Package-Manager: portage-2.2.0/cvs/Linux x86_64
Manifest-Sign-Key: 0x0BBEEA1FEA4843A4
Diffstat (limited to 'app-mobilephone/heimdall')
-rw-r--r-- | app-mobilephone/heimdall/Manifest | 15 | ||||
-rw-r--r-- | app-mobilephone/heimdall/heimdall-1.4.0.ebuild | 62 | ||||
-rw-r--r-- | app-mobilephone/heimdall/heimdall-9999.ebuild | 62 | ||||
-rw-r--r-- | app-mobilephone/heimdall/metadata.xml | 8 |
4 files changed, 145 insertions, 2 deletions
diff --git a/app-mobilephone/heimdall/Manifest b/app-mobilephone/heimdall/Manifest index 22d5bf6ffc74..c4df4a4d01d0 100644 --- a/app-mobilephone/heimdall/Manifest +++ b/app-mobilephone/heimdall/Manifest @@ -1,4 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + 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 +EBUILD heimdall-1.4.0.ebuild 1523 SHA256 e1e8510ff72d0fc03e36624abf5b8956448c44f66ff59432f0d6502216eb5fcc SHA512 be1ba8b8fca7b046a820da85f7132e2b0f2991d85bb93322d6ca2a478a174627f8f05c9f8386c4eb7e2030b7cd20fa8379e576004e6dd2aa8c075b515cd38fce WHIRLPOOL b0c3187fc021f652de836de52ac3b358a81535915e4ba5389a5170edbd470f85bc1c5901ed1ae4c1deab1878509521ed92f15aa658bfece51e9ef558f4a2107c +EBUILD heimdall-9999.ebuild 1522 SHA256 39e19ae808a58fa31f133bbece797118e249f39de8af3d2e20828a0daef3ea7d SHA512 c836e37516fff6f387d8421da25c7964b09aa7b4c474c3c164e3bd7860c3166fc9eb6aca218e07a55befcd744e166729f5fc69763760ce448eb67ce3ac771dde WHIRLPOOL 790877b088252038b16936f95b34eb2ae772df9a4b0a17bcff7101f3efa4a96e06ef627b0b917f29a95f7c9e3c35eb2acd2f992502dd1d55b084a17350f147f2 +MISC ChangeLog 430 SHA256 e4e63c34101fd8a0995bae5b5ee73c36cd0d1c2b2f69f4a0ab93afe8b907eaab SHA512 9560abdbdaa58e0ceabb39b44fff0c7cdcd796a20a75544324f78bdb0a7e0ece2944581b32f54b9c809ebeef6300f9d1df40f8c8da17c75784db83d4a529e61f WHIRLPOOL 4574209d80e608501c38dec447ba31355ee426f81bbb72bf30df04604fceaa19924977642bcae2c0b54edcdc1ceaa249bb13df0c3d0e705446bf0e275b855177 MISC metadata.xml 232 SHA256 8e0308eed9efea18755c3fc2161057faa2b438c4d31895e776d2d5cd5ff109df SHA512 0ec524315be6762228ff54bca53ec039e93672dcef379ef6ef0087656d5e11644aebabcc08663af4f18bdb1b254e71f2b2d3f91277e2867022b93f00d975ae88 WHIRLPOOL bd96dd794e9fdf37bea367be6ada6deb0cf7b98f1978c9e23746f98b1fc2fef931077dd59f6bff7d64856ed284d39f638fb8e0517c61b42f6a0605db09297047 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.20 (GNU/Linux) + +iF4EAREIAAYFAlIRNOQACgkQC77qH+pIQ6SacQD+PltiBKgMXf7vXOQVU37evUVe +sOANLXJ2ySZf3/a+SZEA/iqMg4uPcEHxu0tLpzN8dHkxZbDQ6wefXVSLAPsiZ76D +=7ju3 +-----END PGP SIGNATURE----- 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> |