gnome-themes-extra: split gtk+2.0

This commit is contained in:
Đoàn Trần Công Danh 2023-08-02 12:20:25 +07:00
parent f25d657c6e
commit 6217d1206f
2 changed files with 16 additions and 7 deletions

View File

@ -0,0 +1 @@
gnome-themes-extra

View File

@ -1,9 +1,10 @@
# Template file for 'gnome-themes-extra'
pkgname=gnome-themes-extra
version=3.28
revision=3
revision=4
build_style=gnu-configure
hostmakedepends="pkg-config intltool librsvg-utils glib-devel which"
hostmakedepends="pkg-config intltool librsvg-utils glib-devel which
gtk-update-icon-cache"
makedepends="gtk+-devel gtk+3-devel librsvg-devel"
depends="cantarell-fonts adwaita-icon-theme>=${version}"
short_desc="Extra GNOME themes"
@ -12,14 +13,21 @@ license="LGPL-2.1-or-later"
homepage="https://gitlab.gnome.org/GNOME/gnome-themes-extra"
distfiles="${GNOME_SITE}/${pkgname}/${version}/${pkgname}-${version}.tar.xz"
checksum=7c4ba0bff001f06d8983cfc105adaac42df1d1267a2591798a780bac557a5819
lib32disabled=yes
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" gtk-update-icon-cache"
fi
gnome-themes-extra-gtk_package() {
short_desc+=" - for GTK+2.0"
depends="${sourcepkg}>=${version}_${revision}"
lib32disabled=yes
pkg_install() {
vmove usr/lib/gtk-2.0
vmove usr/share/themes/Adwaita/gtk-2.0
vmove usr/share/themes/Adwaita-dark/gtk-2.0
vmove usr/share/themes/HighContrast/gtk-2.0
}
}
gnome-themes-standard_package() {
build_style=meta
short_desc+=" (transitional dummy package)"
depends="gnome-themes-extra-${version}_${revision}"
depends="gnome-themes-extra-gtk-${version}_${revision}"
}