From 2068ccbbe6d0cadc5db3777686ca9fb431ff0002 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20G=C4=85sior?= Date: Mon, 27 Nov 2017 12:34:36 +0100 Subject: [PATCH] gtk3-mushrooms provides gtk3-print-backends. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …and drops i686 arch. --- .SRCINFO | 11 ++++++----- PKGBUILD | 21 +++++++++++---------- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index fd16408..7425aff 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,9 +1,8 @@ pkgbase = gtk3-mushrooms pkgdesc = GTK3 library with my modifications (see README). pkgver = 3.22.26 - pkgrel = 1 + pkgrel = 2 url = http://www.gtk.org/ - arch = i686 arch = x86_64 license = LGPL makedepends = gobject-introspection @@ -30,12 +29,14 @@ pkgbase = gtk3-mushrooms depends = desktop-file-utils depends = mesa depends = gtk-update-icon-cache - optdepends = gtk3-print-backends: printing optdepends = dconf: default GSettings backend optdepends = adwaita-icon-theme: default icon theme optdepends = cantarell-fonts: default font provides = gtk3=3.22.26 + provides = gtk3-print-backends conflicts = gtk3 + conflicts = gtk3-print-backends + replaces = gtk3-print-backends<=3.22.26-1 source = appearance__buttons-menus-icons.patch source = appearance__file-chooser.patch source = appearance__print-dialog.patch @@ -57,8 +58,8 @@ pkgbase = gtk3-mushrooms source = popovers__places-sidebar.patch source = smaller-adwaita.css source = https://github.com/GNOME/gtk/archive/3.22.26.tar.gz - source = settings.ini::https://git.archlinux.org/svntogit/packages.git/plain/trunk/settings.ini?h=packages/gtk3&id=9c134e81edd28eb5db10cd6b2129a5b9e42689fa - source = gtk-query-immodules-3.0.hook::https://git.archlinux.org/svntogit/packages.git/plain/trunk/gtk-query-immodules-3.0.hook?h=packages/gtk3&id=9c134e81edd28eb5db10cd6b2129a5b9e42689fa + source = settings.ini::https://git.archlinux.org/svntogit/packages.git/plain/trunk/settings.ini?h=packages/gtk3&id=ced279e9020925d34991926230a754bd1650da2f + source = gtk-query-immodules-3.0.hook::https://git.archlinux.org/svntogit/packages.git/plain/trunk/gtk-query-immodules-3.0.hook?h=packages/gtk3&id=ced279e9020925d34991926230a754bd1650da2f sha256sums = 68b26360764a2ea7e057a2aaa29c6fdfe164b9987866e038d8d0188a025477fb sha256sums = 3d4d9cac36285e19972650a33bdba815096cb256e3f0991914ed3c8c19cfb650 sha256sums = be4ddf03a5cce8270e8118eb331b3056972c0bd490faa6e4a4ebe332ec4c2e91 diff --git a/PKGBUILD b/PKGBUILD index cd5d2b2..092cc36 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,16 +3,17 @@ # This file is based on original PKGBUILD of GTK3 package. # https://git.archlinux.org/svntogit/packages.git/plain/trunk/PKGBUILD?h=packages/gtk3 -__arch_pkg_commit="9c134e81edd28eb5db10cd6b2129a5b9e42689fa" +__arch_pkg_commit="ced279e9020925d34991926230a754bd1650da2f" pkgname=gtk3-mushrooms pkgver=3.22.26 -pkgrel=1 +pkgrel=2 pkgdesc="GTK3 library with my modifications (see README)." url="http://www.gtk.org/" -conflicts=(gtk3) -provides=("gtk3=$pkgver") -arch=(i686 x86_64) +conflicts=(gtk3 gtk3-print-backends) +provides=(gtk3=$pkgver gtk3-print-backends) +replaces=("gtk3-print-backends<=3.22.26-1") +arch=(x86_64) license=(LGPL) depends=( atk cairo libxcursor libxinerama libxrandr libxi libepoxy gdk-pixbuf2 @@ -23,7 +24,6 @@ makedepends=( gobject-introspection libcanberra gtk-doc ) optdepends=( - 'gtk3-print-backends: printing' 'dconf: default GSettings backend' 'adwaita-icon-theme: default icon theme' 'cantarell-fonts: default font' @@ -109,9 +109,10 @@ __patch_makefiles() "SUBDIRS = widget-factory" \ "demos/Makefile.am" - __replace_string_in_file "SUBDIRS += cloudprint" "" "modules/printbackends/Makefile.am" - __replace_string_in_file "SUBDIRS += cups" "" "modules/printbackends/Makefile.am" - __replace_string_in_file "gtk-update-icon-cache" "" "gtk/Makefile.am" + __replace_string_in_file \ + "gtk-update-icon-cache" \ + "" \ + "gtk/Makefile.am" } __patch_gtk_code() @@ -156,4 +157,4 @@ package() make -j 15 DESTDIR="$pkgdir" install install -Dm644 ../settings.ini "$pkgdir/usr/share/gtk-3.0/settings.ini" install -Dm644 ../gtk-query-immodules-3.0.hook "$pkgdir/usr/share/libalpm/hooks/gtk-query-immodules-3.0.hook" -} +} \ No newline at end of file