pkgsrc-WIP-changes archive

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

cool-retro-term: Use GITHUB_SUBMODULES as suggested by Thomas Klausner



Module Name:	pkgsrc-wip
Committed By:	Paul Ripke <stix%stix.id.au@localhost>
Pushed By:	stix
Date:		Sat Jul 6 23:12:58 2024 +1000
Changeset:	ff6bc8056244a8df59dae1c9af0dccf0eb295af6

Modified Files:
	cool-retro-term/Makefile
	cool-retro-term/distinfo

Log Message:
cool-retro-term: Use GITHUB_SUBMODULES as suggested by Thomas Klausner

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

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

diffstat:
 cool-retro-term/Makefile | 17 ++---------------
 cool-retro-term/distinfo | 12 ++++++------
 2 files changed, 8 insertions(+), 21 deletions(-)

diffs:
diff --git a/cool-retro-term/Makefile b/cool-retro-term/Makefile
index 4946e3f991..c4e91dbafe 100644
--- a/cool-retro-term/Makefile
+++ b/cool-retro-term/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD$
 
 PKGVERSION=		1.2.0
-PKGNAME=		cool-retro-term-${PKGVERSION}
+DISTNAME=		cool-retro-term-${PKGVERSION}
 CATEGORIES=		x11
 
 MAINTAINER=		stix%stix.id.au@localhost
@@ -10,16 +10,7 @@ COMMENT=		Terminal emulator which mimics old cathode display artifacts
 LICENSE=		gnu-gpl-v3
 
 MASTER_SITES=		${MASTER_SITE_GITHUB:=Swordfish90/}
-TERM_TAG=		${PKGVERSION}
-QMLTERMWIDGET_TAG=	63228027e1f97c24abb907550b22ee91836929c5
-DISTFILES+=		${TERM_TAG}.tar.gz
-DISTFILES+=		${QMLTERMWIDGET_TAG}.tar.gz
-DIST_SUBDIR=		cool-retro-term
-SITES.${TERM_TAG}.tar.gz= \
-			${MASTER_SITE_GITHUB:=Swordfish90/cool-retro-term/archive/}
-SITES.${QMLTERMWIDGET_TAG}.tar.gz= \
-			${MASTER_SITE_GITHUB:=Swordfish90/qmltermwidget/archive/}
-WRKSRC=			${WRKDIR}/cool-retro-term-${TERM_TAG}
+GITHUB_SUBMODULES=	Swordfish90 qmltermwidget 63228027e1f97c24abb907550b22ee91836929c5 qmltermwidget
 
 SUBST_CLASSES+=		usrpath
 SUBST_STAGE.usrpath=	pre-configure
@@ -34,10 +25,6 @@ USE_LANGUAGES=		c c++
 USE_TOOLS+=		pax
 MAKE_FLAGS+=		INSTALL_ROOT=${DESTDIR} sysconfdir=${PREFIX}/share
 
-post-extract:
-	# Move git submodule into the correct location.
-	${MV} ${WRKDIR}/qmltermwidget-${QMLTERMWIDGET_TAG}/* ${WRKSRC}/qmltermwidget/
-
 do-configure:
 	cd ${WRKSRC} && ${QTDIR}/bin/qmake
 
diff --git a/cool-retro-term/distinfo b/cool-retro-term/distinfo
index cb4e3d548a..0cf77eb9f0 100644
--- a/cool-retro-term/distinfo
+++ b/cool-retro-term/distinfo
@@ -1,9 +1,9 @@
 $NetBSD$
 
-BLAKE2s (cool-retro-term/1.2.0.tar.gz) = 5962c9ba6f8968faee92f92fe919794794e0d720cf4d491fa6b91ab410bcaf7e
-SHA512 (cool-retro-term/1.2.0.tar.gz) = 21d3551d429380b026f8003652d78d186e5ac7079d3f143fe7f8f0c57876df263e5c40f218577ef236da859e779699f766414949591ecab38921caec5fd59209
-Size (cool-retro-term/1.2.0.tar.gz) = 1996540 bytes
-BLAKE2s (cool-retro-term/63228027e1f97c24abb907550b22ee91836929c5.tar.gz) = d0e43ff75eccc8a2e4b1e4a2ab9bf46bb580654e824e9ea4d77d6e842772cefc
-SHA512 (cool-retro-term/63228027e1f97c24abb907550b22ee91836929c5.tar.gz) = 7b80ef2cba24d4ceaf50ebb4adc69efe54919ef9a0dfa49ce766f56c3500ad200468db76676dd048cd3e41209b3a06b3ef5505c64d683702bf181ff8ec82c07e
-Size (cool-retro-term/63228027e1f97c24abb907550b22ee91836929c5.tar.gz) = 235028 bytes
+BLAKE2s (Swordfish90-qmltermwidget-63228027e1f97c24abb907550b22ee91836929c5.tar.gz) = d0e43ff75eccc8a2e4b1e4a2ab9bf46bb580654e824e9ea4d77d6e842772cefc
+SHA512 (Swordfish90-qmltermwidget-63228027e1f97c24abb907550b22ee91836929c5.tar.gz) = 7b80ef2cba24d4ceaf50ebb4adc69efe54919ef9a0dfa49ce766f56c3500ad200468db76676dd048cd3e41209b3a06b3ef5505c64d683702bf181ff8ec82c07e
+Size (Swordfish90-qmltermwidget-63228027e1f97c24abb907550b22ee91836929c5.tar.gz) = 235028 bytes
+BLAKE2s (cool-retro-term-1.2.0.tar.gz) = 5962c9ba6f8968faee92f92fe919794794e0d720cf4d491fa6b91ab410bcaf7e
+SHA512 (cool-retro-term-1.2.0.tar.gz) = 21d3551d429380b026f8003652d78d186e5ac7079d3f143fe7f8f0c57876df263e5c40f218577ef236da859e779699f766414949591ecab38921caec5fd59209
+Size (cool-retro-term-1.2.0.tar.gz) = 1996540 bytes
 SHA1 (patch-qmltermwidget_lib_kpty.cpp) = 583d9718f0902e244ced73f6ee04145313e552ed


Home | Main Index | Thread Index | Old Index