1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

x11-themes/layan-gtk-themes: add new port

Layan is a flat Material Design theme for GTK 3, GTK 2 and Gnome-Shell.

Supported Desktop Environments:

* Gnome-Shell
* Plank
* Xfce

https://github.com/vinceliuice/Layan-gtk-theme

PR:		252770
This commit is contained in:
Alexander Vereeken 2021-01-17 00:09:20 +00:00 committed by Jan Beich
parent 34ab944d1a
commit 9c0a5fedf8
6 changed files with 2224 additions and 0 deletions

View File

@ -101,6 +101,7 @@
SUBDIR += kf5-kiconthemes
SUBDIR += kf5-oxygen-icons5
SUBDIR += kf5-qqc2-desktop-style
SUBDIR += layan-gtk-themes
SUBDIR += lumina-themes
SUBDIR += lxappearance
SUBDIR += lxde-icon-theme

View File

@ -0,0 +1,31 @@
# Created by: Alexander Vereeken <Alexander88207@protonmail.com>
PORTNAME= layan-gtk-themes
DISTVERSION= 2021-01-12
CATEGORIES= x11-themes
MAINTAINER= Alexander88207@protonmail.com
COMMENT= Layan is a flat 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
USES= shebangfix
SHEBANG_FILES= install.sh
USE_GITHUB= yes
GH_ACCOUNT= vinceliuice
GH_PROJECT= Layan-gtk-theme
GH_TAGNAME= 69f4bc4532ef4e81a36bd77d88074a5333575698
NO_ARCH= yes
NO_BUILD= yes
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/themes
${WRKSRC}/install.sh -d ${STAGEDIR}${PREFIX}/share/themes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1610842160
SHA256 (vinceliuice-Layan-gtk-theme-2021-01-12-69f4bc4532ef4e81a36bd77d88074a5333575698_GH0.tar.gz) = 339fa6a983e3f1b19c2a6dc2ce601c4b42e082c39bfcfa1429a880c5c2a0c4df
SIZE (vinceliuice-Layan-gtk-theme-2021-01-12-69f4bc4532ef4e81a36bd77d88074a5333575698_GH0.tar.gz) = 722060

View File

@ -0,0 +1,58 @@
--- install.sh.orig 2021-02-13 19:28:54 UTC
+++ install.sh
@@ -42,8 +42,8 @@ install() {
echo "Installing '${THEME_DIR}'..."
mkdir -p ${THEME_DIR}
- cp -ur ${SRC_DIR}/COPYING ${THEME_DIR}
- cp -ur ${SRC_DIR}/AUTHORS ${THEME_DIR}
+ cp -pr ${SRC_DIR}/COPYING ${THEME_DIR}
+ cp -pr ${SRC_DIR}/AUTHORS ${THEME_DIR}
echo "[Desktop Entry]" >> ${THEME_DIR}/index.theme
echo "Type=X-GNOME-Metatheme" >> ${THEME_DIR}/index.theme
@@ -59,30 +59,30 @@ 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${ELSE_DARK}.css ${THEME_DIR}/gnome-shell/gnome-shell.css
+ 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${ELSE_DARK}.css ${THEME_DIR}/gnome-shell/gnome-shell.css
mkdir -p ${THEME_DIR}/gtk-2.0
- cp -ur ${SRC_DIR}/src/gtk-2.0/{apps.rc,hacks.rc,main.rc,panel.rc} ${THEME_DIR}/gtk-2.0
- cp -ur ${SRC_DIR}/src/gtk-2.0/assets${ELSE_DARK} ${THEME_DIR}/gtk-2.0/assets
- cp -ur ${SRC_DIR}/src/gtk-2.0/gtkrc${color} ${THEME_DIR}/gtk-2.0/gtkrc
+ cp -pr ${SRC_DIR}/src/gtk-2.0/{apps.rc,hacks.rc,main.rc,panel.rc} ${THEME_DIR}/gtk-2.0
+ cp -pr ${SRC_DIR}/src/gtk-2.0/assets${ELSE_DARK} ${THEME_DIR}/gtk-2.0/assets
+ cp -pr ${SRC_DIR}/src/gtk-2.0/gtkrc${color} ${THEME_DIR}/gtk-2.0/gtkrc
- cp -ur ${SRC_DIR}/src/gtk/assets ${THEME_DIR}/gtk-assets
+ cp -pr ${SRC_DIR}/src/gtk/assets ${THEME_DIR}/gtk-assets
mkdir -p ${THEME_DIR}/gtk-3.0
ln -sf ../gtk-assets ${THEME_DIR}/gtk-3.0/assets
- cp -ur ${SRC_DIR}/src/gtk/gtk${color}${solid}.css ${THEME_DIR}/gtk-3.0/gtk.css
+ cp -pr ${SRC_DIR}/src/gtk/gtk${color}${solid}.css ${THEME_DIR}/gtk-3.0/gtk.css
[[ ${color} != '-dark' ]] && \
- cp -ur ${SRC_DIR}/src/gtk/gtk-dark${solid}.css ${THEME_DIR}/gtk-3.0/gtk-dark.css
+ cp -pr ${SRC_DIR}/src/gtk/gtk-dark${solid}.css ${THEME_DIR}/gtk-3.0/gtk-dark.css
mkdir -p ${THEME_DIR}/xfwm4
- cp -ur ${SRC_DIR}/src/xfwm4/assets${ELSE_LIGHT}/*.png ${THEME_DIR}/xfwm4
- cp -ur ${SRC_DIR}/src/xfwm4/themerc${ELSE_LIGHT} ${THEME_DIR}/xfwm4/themerc
+ cp -pr ${SRC_DIR}/src/xfwm4/assets${ELSE_LIGHT}/*.png ${THEME_DIR}/xfwm4
+ cp -pr ${SRC_DIR}/src/xfwm4/themerc${ELSE_LIGHT} ${THEME_DIR}/xfwm4/themerc
- cp -ur ${SRC_DIR}/src/plank ${THEME_DIR}
+ cp -pr ${SRC_DIR}/src/plank ${THEME_DIR}
}
while [[ $# -gt 0 ]]; do

View File

@ -0,0 +1,9 @@
Layan is a flat Material Design theme for GTK 3, GTK 2 and Gnome-Shell.
Supported Desktop Environments:
* Gnome-Shell
* Plank
* Xfce
WWW: https://github.com/vinceliuice/Layan-gtk-theme

File diff suppressed because it is too large Load Diff