From 15f5237a2ec4a2b559be47ca33a1a9520ca1bd94 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 15 Mar 2016 18:31:16 -0300 Subject: iceweasel-1:45.0.deb1-2: use librsvg-stable instead of imagemagick since it's better to convert SVG to PNG files --- libre/iceweasel/PKGBUILD | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'libre/iceweasel/PKGBUILD') diff --git a/libre/iceweasel/PKGBUILD b/libre/iceweasel/PKGBUILD index 05591afd7..cca289c90 100644 --- a/libre/iceweasel/PKGBUILD +++ b/libre/iceweasel/PKGBUILD @@ -27,13 +27,13 @@ _pkgname=firefox pkgname=iceweasel epoch=1 pkgver=$_debver.$_debrel -pkgrel=1 +pkgrel=2 pkgdesc="A libre version of Debian Iceweasel, the standalone web browser based on Mozilla Firefox." arch=(i686 x86_64) license=(MPL GPL LGPL) depends=(alsa-lib dbus-glib desktop-file-utils ffmpeg gtk2 gtk3 hicolor-icon-theme hunspell icu=56.1 libevent libvpx=1.5.0 libxt mime-types mozilla-common nss sqlite startup-notification ttf-font) -makedepends=(autoconf2.13 diffutils gconf imagemagick imake inetutils libidl2 libpulse librsvg libxslt mesa mozilla-searchplugins pkg-config python2 quilt unzip yasm zip) +makedepends=(autoconf2.13 diffutils gconf imake inetutils libidl2 libpulse librsvg-stable libxslt mesa mozilla-searchplugins pkg-config python2 quilt unzip yasm zip) options=(!emptydirs !makeflags debug) if $_pgo; then makedepends+=(xorg-server-xvfb) @@ -62,7 +62,7 @@ sha256sums=('96f8b5ccae9864d7a4eece3735378a148481090f76ebfe6524dc433cec229351' 'd0cc42cbc0718d92c118de2a20db0b48c5b5584ad9e8a8a1e7569c5ca25aa67d' 'SKIP' 'abc617c170b0c4d549d1995d018285e16e9a30adf5e9c116d8b4d0070758070f' - 'e392d975bab18a0351278d8b6777d00afe9382dd285491a1301c23b14e8a235b' + '0b47b95cfa4a56a1292be7107c9a59e4575bac8bc1e1fb7e1359755069919751' '93e3001ce152e1d142619e215a9ef07dd429943b99d21726c25da9ceb31e31cd' '56eba484179c7f498076f8dc603d8795e99dce8c6ea1da9736318c59d666bff6' '2257dc69886bd0b72c48675a27c3a88b9cf6b598252c9e9f1c99763180684fc3' @@ -149,9 +149,8 @@ package() { brandingdir=moz-objdir/$_brandingdir icondir="$pkgdir/usr/share/icons/hicolor" for i in 16 22 24 32 48 64 128 192 256 384; do - convert -background none "$_brandingdir/${pkgname}_icon.svg" \ - -resize ${i}x${i}^ -gravity center -extent ${i}x${i} \ - "$brandingdir/default$i.png" + rsvg-convert -w $i -h $i "$_brandingdir/${pkgname}_icon.svg" \ + -o "$brandingdir/default$i.png" install -Dm644 "$brandingdir/default$i.png" \ "$icondir/${i}x${i}/apps/$pkgname.png" done -- cgit v1.2.3