pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/x11/alacritty



Module Name:    pkgsrc
Committed By:   pin
Date:           Sun Apr 23 08:24:54 UTC 2023

Modified Files:
        pkgsrc/x11/alacritty: Makefile PLIST

Log Message:
x11/alacritty: fix menu display

Install desktop file and icon, so the app is picked-up on desktop
environment menus.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/x11/alacritty/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/x11/alacritty/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/alacritty/Makefile
diff -u pkgsrc/x11/alacritty/Makefile:1.20 pkgsrc/x11/alacritty/Makefile:1.21
--- pkgsrc/x11/alacritty/Makefile:1.20  Tue Mar 28 20:27:11 2023
+++ pkgsrc/x11/alacritty/Makefile       Sun Apr 23 08:24:54 2023
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.20 2023/03/28 20:27:11 pin Exp $
+# $NetBSD: Makefile,v 1.21 2023/04/23 08:24:54 pin Exp $
 
 DISTNAME=      alacritty-0.12.0
+PKGREVISION=   1
 CATEGORIES=    x11
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=alacritty/}
 GITHUB_TAG=    refs/tags/v${PKGVERSION_NOREV}
@@ -45,7 +46,8 @@ SUBST_SED.rtld=               -e 's,libc::RTLD_LAZY,&
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 PYTHON_FOR_BUILD_ONLY=         tool
 
-INSTALLATION_DIRS=     bin share/examples/alacritty ${PKGMANDIR}/man1
+INSTALLATION_DIRS=     bin share/applications share/examples/alacritty \
+                       ${PKGMANDIR}/man1 share/icons/hicolor/scalable/apps
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/target/release/alacritty \
@@ -56,6 +58,10 @@ do-install:
                ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/alacritty.1
        ${INSTALL_MAN} ${WRKSRC}/extra/alacritty-msg.man \
                ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/alacritty-msg.1
+       ${INSTALL_DATA} ${WRKSRC}/extra/linux/Alacritty.desktop \
+                 ${DESTDIR}${PREFIX}/share/applications
+       ${INSTALL_DATA} ${WRKSRC}/extra/logo/alacritty-term.svg \
+               ${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps
 
 .include "../../lang/python/tool.mk"
 .include "../../lang/rust/cargo.mk"
@@ -66,4 +72,5 @@ do-install:
 .include "../../x11/libxcb/buildlink3.mk"
 .include "../../x11/libxkbcommon/buildlink3.mk"
 .endif
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/x11/alacritty/PLIST
diff -u pkgsrc/x11/alacritty/PLIST:1.2 pkgsrc/x11/alacritty/PLIST:1.3
--- pkgsrc/x11/alacritty/PLIST:1.2      Sun Jan 23 16:14:24 2022
+++ pkgsrc/x11/alacritty/PLIST  Sun Apr 23 08:24:54 2023
@@ -1,5 +1,7 @@
-@comment $NetBSD: PLIST,v 1.2 2022/01/23 16:14:24 pin Exp $
+@comment $NetBSD: PLIST,v 1.3 2023/04/23 08:24:54 pin Exp $
 bin/alacritty
 man/man1/alacritty-msg.1
 man/man1/alacritty.1
+share/applications/Alacritty.desktop
 share/examples/alacritty/alacritty.yml
+share/icons/hicolor/scalable/apps/alacritty-term.svg



Home | Main Index | Thread Index | Old Index