1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

x11-themes/canta-gtk-themes: Update to 2021-07-06

Changelog:	https://github.com/vinceliuice/Canta-theme/releases/tag/2021-07-06

PR:		257364
Approved by:	lwhsu (mentor, implicit)
This commit is contained in:
Alexander Vereeken 2021-07-24 20:26:33 -04:00 committed by Guangyuan Yang
parent 683962036c
commit 8521dc7a55
4 changed files with 6214 additions and 983 deletions

View File

@ -1,18 +1,19 @@
# Created by: Alexander Vereeken <Alexander88207@protonmail.com>
PORTNAME= canta-gtk-themes
DISTVERSION= 2020-05-17
DISTVERSION= 2021-07-06
CATEGORIES= x11-themes
MAINTAINER= Alexander88207@protonmail.com
COMMENT= Canta is a flat Material Design theme for GTK 3, GTK 2 and Gnome-Shell
COMMENT= Flat Material Design theme for GTK 3, GTK 2 and Gnome-Shell
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= bash>0:shells/bash
RUN_DEPENDS= gtk-murrine-engine>0:x11-themes/gtk-murrine-engine \
gtk-engines2>0:x11-themes/gtk-engines2
BUILD_DEPENDS= bash>0:shells/bash \
sassc>0:textproc/sassc
RUN_DEPENDS= gtk-engines2>0:x11-themes/gtk-engines2 \
gtk-murrine-engine>0:x11-themes/gtk-murrine-engine
USES= shebangfix
SHEBANG_FILES= install.sh
@ -25,6 +26,6 @@ NO_BUILD= yes
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/themes
${WRKSRC}/install.sh -d ${STAGEDIR}${PREFIX}/share/themes
${WRKSRC}/install.sh -d ${STAGEDIR}${PREFIX}/share/themes -t standard blue indigo
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1592758992
SHA256 (vinceliuice-Canta-theme-2020-05-17_GH0.tar.gz) = b0a9675471671d3066c93224d7297aa5b2d64261330cf8942d859bbc2a9bc5ca
SIZE (vinceliuice-Canta-theme-2020-05-17_GH0.tar.gz) = 5385194
TIMESTAMP = 1627066042
SHA256 (vinceliuice-Canta-theme-2021-07-06_GH0.tar.gz) = 364f531dc3a346c0aabde57518e3b66c6ae1535d1e919489732ebb2cabfae419
SIZE (vinceliuice-Canta-theme-2021-07-06_GH0.tar.gz) = 5006531

View File

@ -1,6 +1,6 @@
--- install.sh.orig 2021-02-13 18:45:42 UTC
--- install.sh.orig 2021-07-23 18:55:57 UTC
+++ install.sh
@@ -74,8 +74,8 @@ install() {
@@ -82,8 +82,8 @@ install() {
echo "Installing '${THEME_DIR}'..."
mkdir -p ${THEME_DIR}
@ -11,20 +11,32 @@
echo "[Desktop Entry]" >> ${THEME_DIR}/index.theme
echo "Type=X-GNOME-Metatheme" >> ${THEME_DIR}/index.theme
@@ -91,53 +91,53 @@ install() {
@@ -99,10 +99,10 @@ install() {
echo "ButtonLayout=menu:minimize,maximize,close" >> ${THEME_DIR}/index.theme
mkdir -p ${THEME_DIR}/gnome-shell
- cp -ur ${SRC_DIR}/src/gnome-shell/{*.svg,extensions,noise-texture.png,pad-osd.css} ${THEME_DIR}/gnome-shell
- cp -ur ${SRC_DIR}/src/gnome-shell/gnome-shell-theme.gresource.xml ${THEME_DIR}/gnome-shell
- cp -ur ${SRC_DIR}/src/gnome-shell/assets${ELSE_DARK} ${THEME_DIR}/gnome-shell/assets
- cp -ur ${SRC_DIR}/src/gnome-shell/common-assets/{*.svg,dash} ${THEME_DIR}/gnome-shell/assets
- cp -ur ${SRC_DIR}/src/gnome-shell/gnome-shell${theme}${color}${size}.css ${THEME_DIR}/gnome-shell/gnome-shell.css
- cp -ur ${SRC_DIR}/src/gnome-shell/common-assets/*.svg ${THEME_DIR}/gnome-shell/assets
+ cp -pr ${SRC_DIR}/src/gnome-shell/{*.svg,extensions,noise-texture.png,pad-osd.css} ${THEME_DIR}/gnome-shell
+ cp -pr ${SRC_DIR}/src/gnome-shell/gnome-shell-theme.gresource.xml ${THEME_DIR}/gnome-shell
+ cp -pr ${SRC_DIR}/src/gnome-shell/assets${ELSE_DARK} ${THEME_DIR}/gnome-shell/assets
+ cp -pr ${SRC_DIR}/src/gnome-shell/common-assets/{*.svg,dash} ${THEME_DIR}/gnome-shell/assets
+ cp -pr ${SRC_DIR}/src/gnome-shell/gnome-shell${theme}${color}${size}.css ${THEME_DIR}/gnome-shell/gnome-shell.css
+ cp -pr ${SRC_DIR}/src/gnome-shell/common-assets/*.svg ${THEME_DIR}/gnome-shell/assets
if [[ "${theme}" != '' ]]; then
if [[ "${GS_VERSION:-}" == 'new' ]]; then
@@ -112,76 +112,76 @@ install() {
fi
else
if [[ "${GS_VERSION:-}" == 'new' ]]; then
- cp -ur ${SRC_DIR}/src/gnome-shell/shell-40-0/gnome-shell${color}${size}.css ${THEME_DIR}/gnome-shell/gnome-shell.css
+ cp -pr ${SRC_DIR}/src/gnome-shell/shell-40-0/gnome-shell${color}${size}.css ${THEME_DIR}/gnome-shell/gnome-shell.css
else
- cp -ur ${SRC_DIR}/src/gnome-shell/shell-3-36/gnome-shell${color}${size}.css ${THEME_DIR}/gnome-shell/gnome-shell.css
+ cp -pr ${SRC_DIR}/src/gnome-shell/shell-3-36/gnome-shell${color}${size}.css ${THEME_DIR}/gnome-shell/gnome-shell.css
fi
fi
mkdir -p ${THEME_DIR}/gtk-2.0
- cp -ur ${SRC_DIR}/src/gtk-2.0/{apps.rc,hacks.rc,panel.rc} ${THEME_DIR}/gtk-2.0
@ -34,20 +46,46 @@
+ cp -pr ${SRC_DIR}/src/gtk-2.0/main.rc${theme} ${THEME_DIR}/gtk-2.0/main.rc
+ cp -pr ${SRC_DIR}/src/gtk-2.0/assets${ELSE_DARK} ${THEME_DIR}/gtk-2.0/assets
[[ ${theme} != '' && ${color} == '-dark' ]] && \
cp -r ${SRC_DIR}/src/gtk-2.0/assets-theme-dark/*.png ${THEME_DIR}/gtk-2.0/assets
- cp -ur ${SRC_DIR}/src/gtk-2.0/assets-theme-dark/*.png ${THEME_DIR}/gtk-2.0/assets
- cp -ur ${SRC_DIR}/src/gtk-2.0/gtkrc${theme}${color} ${THEME_DIR}/gtk-2.0/gtkrc
+ cp -pr ${SRC_DIR}/src/gtk-2.0/assets-theme-dark/*.png ${THEME_DIR}/gtk-2.0/assets
+ cp -pr ${SRC_DIR}/src/gtk-2.0/gtkrc${theme}${color} ${THEME_DIR}/gtk-2.0/gtkrc
mkdir -p ${THEME_DIR}/gtk-3.0
- cp -ur ${SRC_DIR}/src/gtk/assets ${THEME_DIR}/gtk-3.0
- cp -ur ${SRC_DIR}/src/gtk/common-assets ${THEME_DIR}/gtk-3.0
- cp -ur ${SRC_DIR}/src/gtk/gtk${theme}${color}${size}.css ${THEME_DIR}/gtk-3.0/gtk.css
+ cp -pr ${SRC_DIR}/src/gtk/assets ${THEME_DIR}/gtk-3.0
+ cp -pr ${SRC_DIR}/src/gtk/common-assets ${THEME_DIR}/gtk-3.0
+ cp -pr ${SRC_DIR}/src/gtk/gtk${theme}${color}${size}.css ${THEME_DIR}/gtk-3.0/gtk.css
[[ ${color} != '-dark' ]] && \
- cp -ur ${SRC_DIR}/src/gtk/gtk${theme}-dark${size}.css ${THEME_DIR}/gtk-3.0/gtk-dark.css
+ cp -pr ${SRC_DIR}/src/gtk/gtk${theme}-dark${size}.css ${THEME_DIR}/gtk-3.0/gtk-dark.css
if [[ "${theme}" != '' ]]; then
sassc $SASSC_OPT ${SRC_DIR}/src/gtk/3.0/gtk${color}${size}.scss ${THEME_DIR}/gtk-3.0/gtk.css
[[ ${color} != '-dark' ]] && \
sassc $SASSC_OPT ${SRC_DIR}/src/gtk/3.0/gtk-dark${size}.scss ${THEME_DIR}/gtk-3.0/gtk-dark.css
else
- cp -ur ${SRC_DIR}/src/gtk/3.0/gtk${color}${size}.css ${THEME_DIR}/gtk-3.0/gtk.css
+ cp -pr ${SRC_DIR}/src/gtk/3.0/gtk${color}${size}.css ${THEME_DIR}/gtk-3.0/gtk.css
[[ ${color} != '-dark' ]] && \
- cp -ur ${SRC_DIR}/src/gtk/3.0/gtk-dark${size}.css ${THEME_DIR}/gtk-3.0/gtk-dark.css
+ cp -pr ${SRC_DIR}/src/gtk/3.0/gtk-dark${size}.css ${THEME_DIR}/gtk-3.0/gtk-dark.css
fi
mkdir -p ${THEME_DIR}/gtk-4.0
- cp -ur ${SRC_DIR}/src/gtk/assets ${THEME_DIR}/gtk-4.0
- cp -ur ${SRC_DIR}/src/gtk/common-assets ${THEME_DIR}/gtk-4.0
+ cp -pr ${SRC_DIR}/src/gtk/assets ${THEME_DIR}/gtk-4.0
+ cp -pr ${SRC_DIR}/src/gtk/common-assets ${THEME_DIR}/gtk-4.0
if [[ "${theme}" != '' ]]; then
sassc $SASSC_OPT ${SRC_DIR}/src/gtk/4.0/gtk${color}${size}.scss ${THEME_DIR}/gtk-4.0/gtk.css
[[ ${color} != '-dark' ]] && \
sassc $SASSC_OPT ${SRC_DIR}/src/gtk/4.0/gtk-dark${size}.scss ${THEME_DIR}/gtk-4.0/gtk-dark.css
else
- cp -ur ${SRC_DIR}/src/gtk/4.0/gtk${color}${size}.css ${THEME_DIR}/gtk-4.0/gtk.css
+ cp -pr ${SRC_DIR}/src/gtk/4.0/gtk${color}${size}.css ${THEME_DIR}/gtk-4.0/gtk.css
[[ ${color} != '-dark' ]] && \
- cp -ur ${SRC_DIR}/src/gtk/4.0/gtk-dark${size}.css ${THEME_DIR}/gtk-4.0/gtk-dark.css
+ cp -pr ${SRC_DIR}/src/gtk/4.0/gtk-dark${size}.css ${THEME_DIR}/gtk-4.0/gtk-dark.css
fi
mkdir -p ${THEME_DIR}/metacity-1
- cp -ur ${SRC_DIR}/src/metacity-1/assets/*.png ${THEME_DIR}/metacity-1
@ -70,6 +108,7 @@
+ cp -pr ${SRC_DIR}/src/xfwm4/{*.svg,themerc} ${THEME_DIR}/xfwm4
+ cp -pr ${SRC_DIR}/src/xfwm4/assets${ELSE_LIGHT} ${THEME_DIR}/xfwm4/assets
if [[ "${theme}" == '' ]]; then
mkdir -p ${THEME_DIR}/cinnamon
- cp -ur ${SRC_DIR}/src/cinnamon/cinnamon${ELSE_DARK}.css ${THEME_DIR}/cinnamon/cinnamon.css
- cp -ur ${SRC_DIR}/src/cinnamon/assets/common-assets ${THEME_DIR}/cinnamon/assets
@ -85,6 +124,7 @@
+ cp -pr ${SRC_DIR}/src/cinnamon/assets/assets${ELSE_DARK}/misc/*.svg ${THEME_DIR}/cinnamon/assets/misc
+ cp -pr ${SRC_DIR}/src/cinnamon/assets/assets${ELSE_DARK}/switch/*.svg ${THEME_DIR}/cinnamon/assets/switch
+ cp -pr ${SRC_DIR}/src/cinnamon/thumbnail${ELSE_DARK}.png ${THEME_DIR}/cinnamon/thumbnail.png
fi
mkdir -p ${THEME_DIR}/plank
- cp -ur ${SRC_DIR}/src/plank/dock${ELSE_LIGHT}.theme ${THEME_DIR}/plank/dock.theme
@ -92,7 +132,7 @@
}
install_gdm() {
@@ -169,7 +169,7 @@ install_icon() {
@@ -213,7 +213,7 @@ install_icon() {
echo -e "\nInstalling Canta icon theme..."
# Copying files

File diff suppressed because it is too large Load Diff