git: 59994e96b6d9 - main - x11/lumina-core: Use La-Capitaine icon theme

From: Loïc Bartoletti <lbartoletti_at_FreeBSD.org>
Date: Sat, 29 Jan 2022 22:07:55 UTC
The branch main has been updated by lbartoletti:

URL: https://cgit.FreeBSD.org/ports/commit/?id=59994e96b6d96c0a52da7baaf6fcafa8585cc13c

commit 59994e96b6d96c0a52da7baaf6fcafa8585cc13c
Author:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
AuthorDate: 2022-01-29 22:06:32 +0000
Commit:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
CommitDate: 2022-01-29 22:06:32 +0000

    x11/lumina-core: Use La-Capitaine icon theme
    
    La-Captinaine is the recommended icon theme for lumina.
---
 x11/lumina-core/Makefile  | 6 +++++-
 x11/lumina-core/pkg-plist | 1 +
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/x11/lumina-core/Makefile b/x11/lumina-core/Makefile
index a2917bad331d..539aeead19c5 100644
--- a/x11/lumina-core/Makefile
+++ b/x11/lumina-core/Makefile
@@ -3,6 +3,7 @@
 PORTNAME=	lumina-core
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.6.2
+PORTREVISION=	1
 CATEGORIES=	x11
 
 MAINTAINER=	lbartoletti@FreeBSD.org
@@ -16,7 +17,8 @@ RUN_DEPENDS=	fluxbox>=0:x11-wm/fluxbox \
 		xbrightness>=0:x11/xbrightness \
 		compton>=0:x11-wm/compton \
 		xrandr>=0:x11/xrandr \
-		numlockx>=0:x11/numlockx
+		numlockx>=0:x11/numlockx \
+		${LOCALBASE}/share/icons/La-Capitaine/index.theme:x11-themes/la-capitaine-icon-theme
 LIB_DEPENDS+=	libxcb-ewmh.so:x11/xcb-util-wm \
 		libxcb-icccm.so:x11/xcb-util-wm \
 		libxcb-image.so:x11/xcb-util-image \
@@ -53,4 +55,6 @@ CONFIGURE_ENV+=	DESTDIR=${STAGEDIR}
 
 CONFLICTS_INSTALL=	lumina-1.2.*
 
+post-install:
+	${FIND} ${STAGEDIR}${PREFIX}/share -name "ecp.*" -delete
 .include <bsd.port.mk>
diff --git a/x11/lumina-core/pkg-plist b/x11/lumina-core/pkg-plist
index fb8ff20b886f..13b5ef2475b3 100644
--- a/x11/lumina-core/pkg-plist
+++ b/x11/lumina-core/pkg-plist
@@ -15,6 +15,7 @@ man/man8/start-lumina-desktop.8.gz
 share/applications/lthemeengine.desktop
 share/applications/lumina-info.desktop
 share/applications/lumina-support.desktop
+share/icons/hicolor/scalable/apps/Lumina-DE.svg
 share/icons/lumina-icons/LICENSE
 share/icons/lumina-icons/actions/symbolic/application.svg
 share/icons/lumina-icons/actions/symbolic/apps.svg