From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-mobilephone/heimdall/
Date: Mon, 15 May 2017 14:23:01 +0000 (UTC) [thread overview]
Message-ID: <1494858177.b3ffa65c92351e168c1a490d1bab1488dd56bda9.polynomial-c@gentoo> (raw)
commit: b3ffa65c92351e168c1a490d1bab1488dd56bda9
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon May 15 14:22:38 2017 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon May 15 14:22:57 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3ffa65c
app-mobilephone/heimdall: Bump to version 1.4.2 (bug #618266).
Package-Manager: Portage-2.3.5, Repoman-2.3.2
app-mobilephone/heimdall/Manifest | 1 +
app-mobilephone/heimdall/heimdall-1.4.2.ebuild | 53 +++++++++++++++++++++++++
app-mobilephone/heimdall/heimdall-9999.ebuild | 54 ++++++++++++--------------
3 files changed, 79 insertions(+), 29 deletions(-)
diff --git a/app-mobilephone/heimdall/Manifest b/app-mobilephone/heimdall/Manifest
index 45d58a5529a..81feca9e478 100644
--- a/app-mobilephone/heimdall/Manifest
+++ b/app-mobilephone/heimdall/Manifest
@@ -1,2 +1,3 @@
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
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 00000000000..70d3660483e
--- /dev/null
+++ b/app-mobilephone/heimdall/heimdall-1.4.2.ebuild
@@ -0,0 +1,53 @@
+# 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="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://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
index f2707e0a9d0..70d3660483e 100644
--- a/app-mobilephone/heimdall/heimdall-9999.ebuild
+++ b/app-mobilephone/heimdall/heimdall-9999.ebuild
@@ -1,57 +1,53 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
-CMAKE_IN_SOURCE_BUILD="true"
-
-inherit autotools eutils cmake-utils udev
+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-2
+ inherit git-r3
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/"
+HOMEPAGE="http://glassechidna.com.au/heimdall/"
LICENSE="MIT"
SLOT="0"
-IUSE="qt5 static-libs"
+IUSE="qt5"
# virtual/libusb is not precise enough
-RDEPEND=">=dev-libs/libusb-1.0.18:1=[static-libs=]
- qt5? ( dev-qt/qtwidgets:5 )"
+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_prepare() {
- if ! use qt5 ; then
- sed '/heimdall-frontend/d' \
- -i CMakeLists.txt || die
- fi
-}
-
src_configure() {
- cmake-utils_src_configure \
- $(cmake-utils_use_use static-libs STATIC_LIBS)
-}
-
-src_compile() {
- cmake-utils_src_compile
+ local mycmakeargs=(
+ -DDISABLE_FRONTEND="$(usex !qt5)"
+ )
+ cmake-utils_src_configure
}
src_install() {
- # cmake-utils_src_install doesn't work
- dobin "${S}"/bin/${PN}
- use qt5 && dobin "${S}"/bin/${PN}-frontend
+ dobin "${BUILD_DIR}"/bin/heimdall
+ use qt5 && dobin "${BUILD_DIR}"/bin/heimdall-frontend
+
+ insinto "$(get_udevdir)/rules.d"
+ doins heimdall/60-heimdall.rules
- insinto $(get_udevdir)/rules.d
- doins "${S}"/${PN}/60-${PN}.rules
- dodoc Linux/README
+ dodoc README.md Linux/README
}
next reply other threads:[~2017-05-15 14:23 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-15 14:23 Lars Wendler [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-22 13:53 [gentoo-commits] repo/gentoo:master commit in: app-mobilephone/heimdall/ Petr Vaněk
2024-09-27 8:29 Arthur Zamarin
2024-08-28 6:56 Petr Vaněk
2024-08-27 21:04 Sam James
2024-08-27 15:08 Petr Vaněk
2024-08-27 15:08 Petr Vaněk
2024-04-05 15:27 Arthur Zamarin
2023-09-18 16:39 Joonas Niilola
2023-09-18 16:39 Joonas Niilola
2023-09-18 16:39 Joonas Niilola
2022-12-18 10:41 Sam James
2022-08-14 20:06 Sam James
2022-05-26 12:58 Joonas Niilola
2022-05-26 12:58 Joonas Niilola
2022-05-26 12:58 Joonas Niilola
2022-05-26 12:58 Joonas Niilola
2022-05-26 12:58 Joonas Niilola
2022-05-10 20:06 Arthur Zamarin
2021-04-22 20:15 Sam James
2021-03-23 12:32 Joonas Niilola
2021-02-14 19:04 Andreas Sturmlechner
2020-01-20 11:51 Agostino Sarubbo
2019-12-23 13:08 Lars Wendler
2019-04-21 1:28 Lars Wendler
2018-07-10 12:41 Lars Wendler
2018-02-20 10:30 Lars Wendler
2018-01-09 13:17 Lars Wendler
2017-07-30 8:47 Michał Górny
2016-01-14 10:11 Lars Wendler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1494858177.b3ffa65c92351e168c1a490d1bab1488dd56bda9.polynomial-c@gentoo \
--to=polynomial-c@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox