pkgsrc-WIP-changes archive

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

q5go: Fix path in desktop patch



Module Name:	pkgsrc-wip
Committed By:	Aicaya Maro <aicaya%posteo.net@localhost>
Pushed By:	aicaya
Date:		Thu Jan 25 11:07:08 2024 -0400
Changeset:	19901dd231c33bd685e406a28cab06533893abfb

Modified Files:
	q5go/Makefile
	q5go/distinfo
	q5go/patches/patch-templates_qgo.desktop

Log Message:
q5go: Fix path in desktop patch

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=19901dd231c33bd685e406a28cab06533893abfb

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

diffstat:
 q5go/Makefile                            | 5 +++++
 q5go/distinfo                            | 2 +-
 q5go/patches/patch-templates_qgo.desktop | 2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

diffs:
diff --git a/q5go/Makefile b/q5go/Makefile
index e589f17ac1..688160acdc 100644
--- a/q5go/Makefile
+++ b/q5go/Makefile
@@ -17,6 +17,11 @@ CONFIGURE_DIRS=	build
 
 MAKE_ENV+=	INSTALL_ROOT=${DESTDIR}
 
+SUBST_CLASSES+=		dirs
+SUBST_STAGE.dirs=	pre-configure
+SUBST_FILES.dirs=	templates/qgo.desktop
+SUBST_VARS.dirs+=	PREFIX
+
 do-configure:
 	${MKDIR} ${WRKSRC}/build
 	cd ${WRKSRC}/build && ${SETENV} ${MAKE_ENV} ${QTDIR}/bin/qmake ../src/q5go.pro PREFIX=${PREFIX}
diff --git a/q5go/distinfo b/q5go/distinfo
index 9daa6dba5f..a2de6ea13f 100644
--- a/q5go/distinfo
+++ b/q5go/distinfo
@@ -3,4 +3,4 @@ $NetBSD: distinfo,v 1.3 2021/10/26 10:44:21 nia Exp $
 BLAKE2s (q5go-2.1.3.tar.gz) = 088b638a4b60405f84609371697e27209e1b53fc6df7ef03d3ef2d965c099595
 SHA512 (q5go-2.1.3.tar.gz) = 1c46e3bef54047147ea6436f2258a5583d42128ee48749840d3891d804dcafc453e95c919c32f30c310bd69d4a6a04ac3e1b58abefa93faff1f77eee0f68de16
 Size (q5go-2.1.3.tar.gz) = 8412437 bytes
-SHA1 (patch-templates_qgo.desktop) = d26373d8944019e220edac39d73718ec5b7fcc33
+SHA1 (patch-templates_qgo.desktop) = 5f175f528b9ce5f519cb765e6848e08c307703fd
diff --git a/q5go/patches/patch-templates_qgo.desktop b/q5go/patches/patch-templates_qgo.desktop
index e146dde12e..4ad1389a88 100644
--- a/q5go/patches/patch-templates_qgo.desktop
+++ b/q5go/patches/patch-templates_qgo.desktop
@@ -15,7 +15,7 @@ Use PREFIX instead of hard-coded value for icon.
 -Icon=/usr/share/qGo/pics/Bowl.png
 +Comment=q5go
 +Exec=q5go
-+Icon=@PREFIX@/share/q5Go/pics/Bowl.png
++Icon=@PREFIX@/share/q5go/pics/Bowl.png
  MimeType=text/plain;text/sfg;Application
 -Name=qgo
 +Name=q5go


Home | Main Index | Thread Index | Old Index