pkgsrc-WIP-changes archive

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

crossguid: Update to 0.2.2.52



Module Name:	pkgsrc-wip
Committed By:	snow flurry <snow%datagirl.xyz@localhost>
Pushed By:	flurry
Date:		Wed Jun 8 00:30:31 2022 -0700
Changeset:	9a164cdf108c1d5a31a00ed10ee8950adc689429

Modified Files:
	crossguid/Makefile
	crossguid/PLIST
	crossguid/buildlink3.mk
	crossguid/distinfo

Log Message:
crossguid: Update to 0.2.2.52

This is the version used by Kodi 19.x. No changelog available, but a
sampling of changes from git commits:

* Provides a pkg-config crossguid.pc file
* Building crossguid requires c++17 since commit d9e6cd1
* Added CMake support

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

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

diffstat:
 crossguid/Makefile      | 32 +++++++++-----------------------
 crossguid/PLIST         |  9 +++++++--
 crossguid/buildlink3.mk |  1 +
 crossguid/distinfo      |  6 +++---
 4 files changed, 20 insertions(+), 28 deletions(-)

diffs:
diff --git a/crossguid/Makefile b/crossguid/Makefile
index b066ebbdec..ebd2d98c4a 100644
--- a/crossguid/Makefile
+++ b/crossguid/Makefile
@@ -1,32 +1,18 @@
 # $NetBSD: Makefile,v 1.1 2017/01/30 14:16:42 mef Exp $
 
-# no Release yet
-GIT_COMMIT=	fef89a4174a7bf8cd99fa9154864ce9e8e3bf989
-DISTNAME=	master
-DIST_SUBDIR=	crossguid
-PKGNAME=	crossguid-0.0_pre20160908
+DISTNAME=	crossguid-0.2.2.52
 CATEGORIES=	devel
-MASTER_SITES=	${MASTER_SITE_GITHUB:=/graeme-hill/crossguid/archive/}
+MASTER_SITES=	${MASTER_SITE_GITHUB:=graeme-hill/}
+GITHUB_TAG=	ca1bf4b810e2d188d04cb6286f957008ee1b7681
 EXTRACT_SUFX=	.zip
 
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	https://github.com/graeme-hill/crossguid
-COMMENT=	C++ GUID library
-LICENSE=	mit
+MAINTAINER=		pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=		https://github.com/graeme-hill/crossguid
+COMMENT=		C++ GUID library
+LICENSE=		mit
 
-WRKSRC=		${WRKDIR}/crossguid-master
-
-USE_LANGUAGES=	c++11
-
-INSTALLATION_DIRS+=	lib include
-
-do-build:
-	cd ${WRKSRC} && \
-	${CXX} guid.cpp -DGUID_LIBUUID -fPIC -shared -o libcrossguid.so
-
-do-install:
-	${INSTALL_DATA} ${WRKSRC}/guid.h ${DESTDIR}${PREFIX}/include
-	${INSTALL_LIB} ${WRKSRC}/libcrossguid.so ${DESTDIR}${PREFIX}/lib
+USE_LANGUAGES=	c++17 c
+USE_CMAKE=	yes
 
 .include "../../devel/libuuid/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/crossguid/PLIST b/crossguid/PLIST
index 2c0c1784a7..56990ad836 100644
--- a/crossguid/PLIST
+++ b/crossguid/PLIST
@@ -1,3 +1,8 @@
 @comment $NetBSD$
-include/guid.h
-lib/libcrossguid.so
+include/crossguid/guid.hpp
+lib/libcrossguid.a
+lib/pkgconfig/crossguid.pc
+share/crossguid/LICENSE
+share/crossguid/README.md
+share/crossguid/cmake/crossguid-config-release.cmake
+share/crossguid/cmake/crossguid-config.cmake
diff --git a/crossguid/buildlink3.mk b/crossguid/buildlink3.mk
index 64f48c81f0..5e66a17ca4 100644
--- a/crossguid/buildlink3.mk
+++ b/crossguid/buildlink3.mk
@@ -1,4 +1,5 @@
 # $NetBSD$
+
 BUILDLINK_TREE+=	crossguid
 
 .if !defined(CROSSGUID_BUILDLINK3_MK)
diff --git a/crossguid/distinfo b/crossguid/distinfo
index 2797d76ed0..2de48f0270 100644
--- a/crossguid/distinfo
+++ b/crossguid/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-BLAKE2s (crossguid/master.zip) = d183f06f65376e56ecba705aa63d6cd0950e72876d6657ac11351cf3a5651139
-SHA512 (crossguid/master.zip) = f8c1303125c7bf3332d5b86bf5f7b316aaf04cef110b152dbef0699a352f32601b99c16d19159705bc082575fad0ebc7f46214919f8c66f83f6305f969936c08
-Size (crossguid/master.zip) = 155872 bytes
+BLAKE2s (crossguid-0.2.2.52-ca1bf4b810e2d188d04cb6286f957008ee1b7681.zip) = 3c4c01f3f23e42d5201790c8ddfaa7120d92568ec04ff13ccc09a19f68de48c0
+SHA512 (crossguid-0.2.2.52-ca1bf4b810e2d188d04cb6286f957008ee1b7681.zip) = ca50909ac58c4f1927f563d4c72977a651e8fa267485c36885a4faf9626fe2d3dfd4f53af6c49f0df35cd1c0638b3638bf1584779cf9239e6a29c72c85e5ea7b
+Size (crossguid-0.2.2.52-ca1bf4b810e2d188d04cb6286f957008ee1b7681.zip) = 160972 bytes


Home | Main Index | Thread Index | Old Index