From 6ca1e9a5aafb38123e4176c852dd31c695b0225c Mon Sep 17 00:00:00 2001 From: cr6git Date: Fri, 16 Jun 2017 02:22:18 +0200 Subject: [PATCH] heimdall: update to 1.4.2 --- srcpkgs/heimdall/template | 31 +++++++++++++------------------ 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/srcpkgs/heimdall/template b/srcpkgs/heimdall/template index ddb5e03b195..57bdb0e68a6 100644 --- a/srcpkgs/heimdall/template +++ b/srcpkgs/heimdall/template @@ -1,31 +1,26 @@ # Template file for 'heimdall' -pkgname="heimdall" -version="1.4.1" +pkgname=heimdall +version=1.4.2 revision=1 -build_style=gnu-configure +build_style=cmake short_desc="Tool suite used to flash firmware onto Samsung Galaxy S devices" maintainer="Renato Aguiar " license="MIT" homepage="https://github.com/Benjamin-Dobell/Heimdall" -distfiles="https://github.com/Benjamin-Dobell/Heimdall/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" -checksum="f0a6e4b5bf806fe4ab5413dd869817b600bcd339b642ff46ec0c5fe69adf7230" +distfiles="${homepage}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" +checksum=589bef88f2597c8a84fe6fafbe928ddc9687438b5b54edd917d7df48c7e3eff8 wrksrc="Heimdall-${version}" hostmakedepends="pkg-config" -makedepends="libusb-devel" +makedepends="libusb-devel qt5-devel" -do_configure() { - cd $wrksrc/libpit - ./configure ${configure_args} - cd $wrksrc/heimdall - ./configure ${configure_args} -} - -do_build() { - make ${makejobs} ${make_build_args} -C libpit - make ${makejobs} ${make_build_args} -C heimdall -} +if [ -n "$CROSS_BUILD" ]; then + # Need some devel packages in the host + hostmakedepends+=" qt5-tools-devel" +fi do_install() { - make DESTDIR=${DESTDIR} ${make_install_args} -C heimdall install + vbin build/bin/heimdall + vbin build/bin/heimdall-frontend + vinstall heimdall/60-heimdall.rules 644 usr/lib/udev/rules.d vlicense LICENSE }