+++ /dev/null
-From 15f99289cfa0d845cb8381b7151c938ca8531698 Mon Sep 17 00:00:00 2001
-From: Gilles Dartiguelongue <eva@gentoo.org>
-Date: Mon, 3 Oct 2016 00:38:57 +0200
-Subject: [PATCH] Control build of gtk+2 adwaita theme engine from configure
-
-Rather than whole gtk+-2 theme.
-
-This only makes sense in Gentoo as the theme engine has been split to
-a separate package to allow gtk+2 free systems.
----
- themes/Adwaita/Makefile.am | 6 +-----
- themes/Adwaita/gtk-2.0/Makefile.am | 2 ++
- 2 files changed, 3 insertions(+), 5 deletions(-)
-
-diff --git a/themes/Adwaita/Makefile.am b/themes/Adwaita/Makefile.am
-index 8583535..617b9a6 100644
---- a/themes/Adwaita/Makefile.am
-+++ b/themes/Adwaita/Makefile.am
-@@ -1,8 +1,4 @@
--SUBDIRS = gtk-3.0
--
--if GTK2_ENGINE
--SUBDIRS += gtk-2.0
--endif
-+SUBDIRS = gtk-2.0 gtk-3.0
-
- THEME_NAME=Adwaita
- THEME_IN_FILES=index.theme.in
-diff --git a/themes/Adwaita/gtk-2.0/Makefile.am b/themes/Adwaita/gtk-2.0/Makefile.am
-index b78f7dc..1c73e67 100644
---- a/themes/Adwaita/gtk-2.0/Makefile.am
-+++ b/themes/Adwaita/gtk-2.0/Makefile.am
-@@ -1,3 +1,4 @@
-+if GTK2_ENGINE
- enginedir = $(libdir)/gtk-2.0/$(GTK2_VERSION)/engines
- engine_LTLIBRARIES = libadwaita.la
-
-@@ -5,6 +6,7 @@ libadwaita_la_CFLAGS = $(GTK2_ENGINE_CFLAGS)
- libadwaita_la_SOURCES = adwaita_engine.c
- libadwaita_la_LDFLAGS = -module -avoid-version -no-undefined
- libadwaita_la_LIBADD = $(GTK2_ENGINE_LIBS)
-+endif
-
- themedir = $(datadir)/themes/Adwaita/gtk-2.0
- theme_DATA = gtkrc main.rc apps.rc
---
-2.10.0
-
+++ /dev/null
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools gnome.org
-
-DESCRIPTION="Standard Themes for GNOME Applications"
-HOMEPAGE="https://git.gnome.org/browse/gnome-themes-standard/"
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-IUSE=""
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-solaris ~x86-solaris"
-
-# Depend on gsettings-desktop-schemas-3.4 to make sure 3.2 users don't lose
-# their default background image
-RDEPEND="
- >=gnome-base/gsettings-desktop-schemas-3.4
-"
-DEPEND="
- >=dev-util/intltool-0.40
- sys-devel/gettext
- virtual/pkgconfig
-"
-
-PATCHES=(
- # https://bugzilla.gnome.org/show_bug.cgi?id=746920
- "${FILESDIR}"/${PN}-3.14.2.3-srcdir.patch
- # Leave build of gtk+:2 engine to x11-themes/gtk-engines-adwaita
- "${FILESDIR}"/${PN}-3.20.2-exclude-engine.patch
-)
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- ECONF_SOURCE="${S}" econf \
- --disable-static \
- --disable-gtk2-engine \
- --disable-gtk3-engine \
- GTK_UPDATE_ICON_CACHE=$(type -P true)
-}
-
-src_install() {
- emake install DESTDIR="${D}"
-}