pkgsrc-WIP-changes archive

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

pcsx2: use github as download



Module Name:	pkgsrc-wip
Committed By:	coypu <coypu%sdf.org@localhost>
Pushed By:	coypu
Date:		Sat Jun 18 09:59:25 2016 +0300
Changeset:	32043d5142dde2ed0b0d0f419f7b01c4a042593d

Modified Files:
	pcsx2/Makefile
	pcsx2/distinfo
Removed Files:
	pcsx2/files/getsite.sh

Log Message:
pcsx2: use github as download

was previously using a strange script due to a strange download link.
a more sensible option exists.

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

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

diffstat:
 pcsx2/Makefile         | 9 +++++++--
 pcsx2/distinfo         | 7 ++++---
 pcsx2/files/getsite.sh | 2 --
 3 files changed, 11 insertions(+), 7 deletions(-)

diffs:
diff --git a/pcsx2/Makefile b/pcsx2/Makefile
index 0bb8664..f72a4f8 100644
--- a/pcsx2/Makefile
+++ b/pcsx2/Makefile
@@ -1,8 +1,12 @@
 # $NetBSD: Makefile,v 1.9 2015/04/19 15:10:39 othyro Exp $
 #
 
-DISTNAME=	pcsx2-1.0.0r5412
+GITHUB_PROJECT=	pcsx2
+DISTNAME=	v1.0
 CATEGORIES=	emulators
+MASTER_SITES=	${MASTER_SITE_GITHUB:=PCSX2/}
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
 # The DISTFILE to download is an HTTP-only attachment.
 # The getsite.sh script uses cURL download the attached file.
 
@@ -11,7 +15,8 @@ HOMEPAGE=	http://pcsx2.net/
 COMMENT=	Playstation 2 Emulator
 LICENSE=	gnu-gpl-v3 AND modified-bsd AND mit AND gnu-gpl-v2 AND gnu-lgpl-v2.1 AND gnu-lgpl-v3 AND public-domain AND sgi-free-software-b-v2.0
 
-WRKSRC=		${WRKDIR}/pcsx2-1.0.0
+EXTRACT_USING=	gtar
+WRKSRC=		${WRKDIR}/pcsx2-1.0
 USE_LANGUAGES=	c c++
 USE_TOOLS+=	gmake msgmerge
 USE_CMAKE=	yes
diff --git a/pcsx2/distinfo b/pcsx2/distinfo
index 1905607..00da8a7 100644
--- a/pcsx2/distinfo
+++ b/pcsx2/distinfo
@@ -1,5 +1,6 @@
 $NetBSD: distinfo,v 1.2 2012/11/10 23:08:45 othyro Exp $
 
-SHA1 (pcsx2-1.0.0r5412.tar.gz) = 74c6275575acd031bc81c57daa2449e13af4f582
-RMD160 (pcsx2-1.0.0r5412.tar.gz) = 4a6fd5a00bd6b8b0647aa37603f341bfabda2255
-Size (pcsx2-1.0.0r5412.tar.gz) = 4562452 bytes
+SHA1 (pcsx2/v1.0.tar.gz) = a3582d11010529613eb70205c5e384a0b4583e96
+RMD160 (pcsx2/v1.0.tar.gz) = 7eb712937b2c3721b49f1ecfe59a3d96c3ba0dfd
+SHA512 (pcsx2/v1.0.tar.gz) = 96cb7673502c3f7cc6cfa1c6a1419a5dd0a668681ace6e6f427d780e8299151773bbb4aafe44984a71824f458d39d8bc9bc3dea7714b7bd853da2646f2789b55
+Size (pcsx2/v1.0.tar.gz) = 17612047 bytes
diff --git a/pcsx2/files/getsite.sh b/pcsx2/files/getsite.sh
deleted file mode 100644
index 95cdedc..0000000
--- a/pcsx2/files/getsite.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-curl -kL http://forums.pcsx2.net/attachment.php?aid=40101 -o ../../distfiles/pcsx2-1.0.0r5412.tar.gz


Home | Main Index | Thread Index | Old Index