dev-libs/libchdr: initial import, 2021-11-27 snapshot

To unbundle on pcsx2, may also be useful for libretro cores
in the future.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2022-01-01 14:06:16 -05:00
parent 8d33a3e734
commit b6b1397b84
3 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST libchdr-0_p20211127.tar.gz 414443 BLAKE2B a728a4ba0fa74883c7cfd43b5ee5147cc54a98370cc663237b5f12742a7859d36fc6c1572a8ec2af6e6bdf602eba4b0028d6fdf8f128320a2fbe60f0868d9f1b SHA512 534f949c8aaab9e307a9a2c1789ca2398dd59c3228a4b9bed62b413e8cc9e2ad11896580c55531dc13f9cd875f142499b52bf793b569a6df740e6d945fb3e17d

View File

@@ -0,0 +1,28 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
CHDR_COMMIT="929a8d6523a7d21ea9e035f43211cd759e072053"
DESCRIPTION="Standalone library for reading MAME's CHDv1-v5 formats"
HOMEPAGE="https://github.com/rtissera/libchdr/"
SRC_URI="https://github.com/rtissera/libchdr/archive/${CHDR_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${CHDR_COMMIT}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="sys-libs/zlib:="
DEPEND="${RDEPEND}"
src_configure() {
local mycmakeargs=(
-DWITH_SYSTEM_ZLIB=yes
)
cmake_src_configure
}

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ionen@gentoo.org</email>
<name>Ionen Wolkens</name>
</maintainer>
<upstream>
<remote-id type="github">rtissera/libchdr</remote-id>
</upstream>
</pkgmetadata>