Skip to content

Commit

Permalink
gtk3-mushrooms provides gtk3-print-backends.
Browse files Browse the repository at this point in the history
…and drops i686 arch.
  • Loading branch information
Tomasz Gąsior committed Nov 27, 2017
1 parent c154ce6 commit 2068ccb
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
11 changes: 6 additions & 5 deletions .SRCINFO
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
21 changes: 11 additions & 10 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -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"
}
}

0 comments on commit 2068ccb

Please sign in to comment.