new blfs: x11-themes/gnome-themes-standard-3.28

This commit is contained in:
2026-01-18 04:11:48 -05:00
parent c8e3b86dff
commit a529ad2dd4
2 changed files with 102 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
pkgname=gnome-themes-standard
pkgbase=gnome-themes-extra
pkgver=3.28
pkgdesc="Standard Themes for GNOME Applications"
homepage="https://gitlab.gnome.org/GNOME/gnome-themes-extra"
license=("LGPL-2.1+")
_patches=("${pkgname}-3.22.2-exclude-engine.patch")
_patch_sums=("9b7f4efdce158485850e12566dce91a7b3494bae8191bcacb581a737dde15bcce9b10af8f28ab920605e86008744ad380312f26fc3d624bada910599501159f9")
sources=("${pkgbase}-${pkgver}.tar.xz"
"${_patches[@]}"
)
urls=("https://download.gnome.org/sources/${pkgbase}/${pkgver}/${sources[0]}"
"${_patches[@]}"
)
sha512sums=("bccc446e86b12476b86a0fe2e3354500c8fb3eef62a85c3823d69aaa259e032e1f94e7993bf633397b669c425ef42635b0cf17b376f0b7cf1869bb1d7160ede0"
"${_patch_sums[@]}"
)
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
for _patch in ${_patches[@]}; do
patch -p1 -i ${filedir}/${_patch}
done
autoreconf -fiv
}
src_build() {
./configure --prefix=/usr \
--disable-gtk2-engine \
--disable-gtk3-engine
make
}
src_install() {
make DESTDIR="$pkgdir" install
}
# vim:ft=sh syn=sh et sw=2:

View File

@@ -0,0 +1,63 @@
From 58fd7206211e8e4d42ce6925718e56f84a1b4eb3 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-dark/Makefile.am | 6 +-----
themes/Adwaita/Makefile.am | 6 +-----
themes/Adwaita/gtk-2.0/Makefile.am | 2 ++
3 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/themes/Adwaita-dark/Makefile.am b/themes/Adwaita-dark/Makefile.am
index 8a381b9..c5efcbf 100644
--- a/themes/Adwaita-dark/Makefile.am
+++ b/themes/Adwaita-dark/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-dark
THEME_IN_FILES=index.theme.in
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 1e56f7f..9108cc4 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 hacks.rc
--
2.10.1