pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
alacritty-dev: install icon
Module Name: pkgsrc-wip
Committed By: pin <voidpin%protonmail.com@localhost>
Pushed By: pin
Date: Sun Apr 23 08:51:47 2023 +0200
Changeset: 60256e6b74ef39304f39d3b7a6762cf955708ccf
Modified Files:
alacritty-dev/Makefile
alacritty-dev/PLIST
Log Message:
alacritty-dev: install icon
so the app shows on desktop menus.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=60256e6b74ef39304f39d3b7a6762cf955708ccf
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
alacritty-dev/Makefile | 6 +++++-
alacritty-dev/PLIST | 1 +
2 files changed, 6 insertions(+), 1 deletion(-)
diffs:
diff --git a/alacritty-dev/Makefile b/alacritty-dev/Makefile
index 8725436eda..f5ea912d8b 100644
--- a/alacritty-dev/Makefile
+++ b/alacritty-dev/Makefile
@@ -45,7 +45,8 @@ SUBST_SED.rtld= -e 's,libc::RTLD_LAZY,& | libc::RTLD_GLOBAL,g'
PYTHON_VERSIONS_INCOMPATIBLE= 27
PYTHON_FOR_BUILD_ONLY= tool
-INSTALLATION_DIRS= bin share/applications 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 \
@@ -58,6 +59,8 @@ do-install:
${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"
@@ -68,4 +71,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"
diff --git a/alacritty-dev/PLIST b/alacritty-dev/PLIST
index 55c64d9429..5d986d7f0f 100644
--- a/alacritty-dev/PLIST
+++ b/alacritty-dev/PLIST
@@ -4,3 +4,4 @@ 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