View | Details | Raw Unified | Return to bug 282692 | Differences between
and this patch

Collapse All | Expand All

(-)b/devel/Makefile (+1 lines)
Lines 1219-1224 Link Here
1219
    SUBDIR += libcdb
1219
    SUBDIR += libcdb
1220
    SUBDIR += libcds
1220
    SUBDIR += libcds
1221
    SUBDIR += libcfu
1221
    SUBDIR += libcfu
1222
    SUBDIR += libchdr
1222
    SUBDIR += libchipcard
1223
    SUBDIR += libchipcard
1223
    SUBDIR += libcidr
1224
    SUBDIR += libcidr
1224
    SUBDIR += libcii
1225
    SUBDIR += libcii
(-)b/devel/libchdr/Makefile (+26 lines)
Added Link Here
1
PORTNAME=	libchdr
2
DISTVERSION=	g20241111
3
CATEGORIES=	devel
4
5
MAINTAINER=	bsdcode@disroot.org
6
COMMENT=	Standalone library for reading MAME CHDv1-v5 formats
7
WWW=		https://github.com/rtissera/libchdr
8
9
LICENSE=	BSD3CLAUSE
10
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
11
12
LIB_DEPENDS=	libzstd.so:archivers/zstd
13
14
USES=		cmake pathfix
15
USE_GITHUB=	yes
16
GH_ACCOUNT=	rtissera
17
GH_TAGNAME=	b3974651d869c2f804e9879b063c23280d2ae617
18
USE_LDCONFIG=	yes
19
20
CMAKE_ARGS=	-DBUILD_LTO=${defined(WITH_LTO):?ON:OFF}
21
CMAKE_ON=	INSTALL_STATIC_LIBS WITH_SYSTEM_ZLIB WITH_SYSTEM_ZSTD
22
23
post-install:
24
	${LN} -s libchdr-static.a ${STAGEDIR}${PREFIX}/lib/libchdr.a
25
26
.include <bsd.port.mk>
(-)b/devel/libchdr/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1731325563
2
SHA256 (rtissera-libchdr-g20241111-b3974651d869c2f804e9879b063c23280d2ae617_GH0.tar.gz) = e17270412aaa7158073ec6d8e6287f80a64354ba2b4edbd5786f2d8571f9e787
3
SIZE (rtissera-libchdr-g20241111-b3974651d869c2f804e9879b063c23280d2ae617_GH0.tar.gz) = 4222329
(-)b/devel/libchdr/files/patch-CMakeLists.txt (+11 lines)
Added Link Here
1
--- CMakeLists.txt.orig	2024-11-11 11:46:30 UTC
2
+++ CMakeLists.txt
3
@@ -83,7 +83,7 @@ if (INSTALL_STATIC_LIBS)
4
 endif()
5
 
6
 if (INSTALL_STATIC_LIBS)
7
-  install(TARGETS chdr-static ${CHDR_LIBS}
8
+  install(TARGETS chdr-static
9
     ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
10
   )
11
 endif()
(-)b/devel/libchdr/pkg-descr (+5 lines)
Added Link Here
1
libchdr is a standalone library for reading MAME's CHDv1-v5 formats.
2
3
The code is based off of MAME's old C codebase which read up to CHDv4 with
4
OS-dependent features removed, and CHDv5 support backported from MAME's current
5
C++ codebase.
(-)b/devel/libchdr/pkg-plist (-1 / +13 lines)
Added Link Here
0
- 
1
include/libchdr/bitstream.h
2
include/libchdr/cdrom.h
3
include/libchdr/chd.h
4
include/libchdr/chdconfig.h
5
include/libchdr/coretypes.h
6
include/libchdr/flac.h
7
include/libchdr/huffman.h
8
lib/libchdr-static.a
9
lib/libchdr.a
10
lib/libchdr.so
11
lib/libchdr.so.0
12
lib/libchdr.so.0.2
13
libdata/pkgconfig/libchdr.pc

Return to bug 282692