From 647d076bd8f45bd570e915587c7b214df415ac95 Mon Sep 17 00:00:00 2001 From: Juergen Buchmueller Date: Tue, 1 Nov 2016 21:31:16 +0100 Subject: [PATCH] breeze-icons: fix cross Remove noarch=yes because cross compiled pkg differes from native. --- srcpkgs/breeze-icons/template | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/srcpkgs/breeze-icons/template b/srcpkgs/breeze-icons/template index b87c3993b8..82b2b13af4 100644 --- a/srcpkgs/breeze-icons/template +++ b/srcpkgs/breeze-icons/template @@ -1,11 +1,9 @@ # Template file for 'breeze-icons' pkgname=breeze-icons version=5.26.0 -revision=2 -noarch=yes +revision=3 build_style=cmake -configure_args="-DBINARY_ICONS_RESOURCE=ON" -hostmakedepends="extra-cmake-modules" +hostmakedepends="extra-cmake-modules qt5-host-tools qt5-devel" makedepends="qt5-devel" short_desc="Breeze icon theme" maintainer="Juan RP " @@ -13,3 +11,9 @@ license="LGPL-3" homepage="https://community.kde.org/Frameworks" distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" checksum=a9c0d742a37ef3b3b2dae5a5bb97aee2927dd613c17c606f3bcbc6845a8c6bcd + +if [ -z "$CROSS_BUILD" ]; then + configure_args="-DBINARY_ICONS_RESOURCE=ON" +else + configure_args="-DBINARY_ICONS_RESOURCE=OFF" +fi