pkgsrc-WIP-changes archive

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

cool-retro-term: Fix building outside of wip.



Module Name:	pkgsrc-wip
Committed By:	Paul Ripke <stix%stix.id.au@localhost>
Pushed By:	stix
Date:		Sat Jul 6 13:54:07 2024 +1000
Changeset:	539fc048d46b35fb3efe9e60c62ee3eac7a192a8

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

Log Message:
cool-retro-term: Fix building outside of wip.

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

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

diffstat:
 cool-retro-term-git/Makefile | 39 +++++++++++++++------------------------
 cool-retro-term-git/distinfo |  8 ++++++++
 2 files changed, 23 insertions(+), 24 deletions(-)

diffs:
diff --git a/cool-retro-term-git/Makefile b/cool-retro-term-git/Makefile
index 6ad65b4c9f..4946e3f991 100644
--- a/cool-retro-term-git/Makefile
+++ b/cool-retro-term-git/Makefile
@@ -9,30 +9,23 @@ HOMEPAGE=		https://github.com/Swordfish90/cool-retro-term
 COMMENT=		Terminal emulator which mimics old cathode display artifacts
 LICENSE=		gnu-gpl-v3
 
-# For non-pkgsrc/wip:
-# MASTER_SITES=		${MASTER_SITE_GITHUB:=Swordfish90/}
-# TERM_TAG=		${PKGVERSION}
-# QMLTERMWIDGET_TAG=	0.2.0
-# 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}
-
-# For pkgsrc/wip:
-GIT_REPOSITORIES=		cool-retro-term
-GIT_REPO.cool-retro-term=	https://github.com/Swordfish90/cool-retro-term.git
-GIT_TAG.cool-retro-term=	${PKGVERSION}
-WRKSRC=				${WRKDIR}/cool-retro-term
+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}
 
 SUBST_CLASSES+=		usrpath
 SUBST_STAGE.usrpath=	pre-configure
 SUBST_FILES.usrpath+=	app/app.pro
 SUBST_FILES.usrpath+=	cool-retro-term.pro
-SUBST_SED.usrpath=	-e "s|/usr/|/usr/pkg/|g"
+SUBST_SED.usrpath=	-e "s|/usr/|${PREFIX}/|g"
 
 DEPENDS+=		qt5-qtgraphicaleffects-[0-9]*:../../x11/qt5-qtgraphicaleffects
 
@@ -41,10 +34,9 @@ USE_LANGUAGES=		c c++
 USE_TOOLS+=		pax
 MAKE_FLAGS+=		INSTALL_ROOT=${DESTDIR} sysconfdir=${PREFIX}/share
 
-# For non-pkgsrc/wip:
-# post-extract:
-#	# Move git submodule into the correct location.
-#	${MV} ${WRKDIR}/qmltermwidget-${QMLTERMWIDGET_TAG}/* ${WRKSRC}/qmltermwidget/
+post-extract:
+	# Move git submodule into the correct location.
+	${MV} ${WRKDIR}/qmltermwidget-${QMLTERMWIDGET_TAG}/* ${WRKSRC}/qmltermwidget/
 
 do-configure:
 	cd ${WRKSRC} && ${QTDIR}/bin/qmake
@@ -53,5 +45,4 @@ do-configure:
 .include "../../x11/qt5-qtdeclarative/buildlink3.mk"
 .include "../../x11/qt5-qtquickcontrols2/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
-.include "../../wip/mk/git-package.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/cool-retro-term-git/distinfo b/cool-retro-term-git/distinfo
index 94ba577704..cb4e3d548a 100644
--- a/cool-retro-term-git/distinfo
+++ b/cool-retro-term-git/distinfo
@@ -1 +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
 SHA1 (patch-qmltermwidget_lib_kpty.cpp) = 583d9718f0902e244ced73f6ee04145313e552ed


Home | Main Index | Thread Index | Old Index