mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-10 20:18:41 -04:00
dev-libs/libchardet: new package, add 1.0.6
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
This commit is contained in:
parent
429788ad79
commit
87b8058656
1
dev-libs/libchardet/Manifest
Normal file
1
dev-libs/libchardet/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST libchardet-1.0.6.tar.bz2 435028 BLAKE2B 2a84aac34c15f62574ebc763f77faf97c6f5c3f99c5ec95797c45c0fc8abdf9491cb6f6153c74282843e0cd4c0ef8dcbccae7538006020c11425b9372534dbdf SHA512 f46b603d258883afd2f1e7758d48887bc507cb5040f7e9f21b43fbcc11e4ad2393b66ade7e003ac58bae0215ac5e888e0e4c04d6da695b1ef9f113551a2ea597
|
10
dev-libs/libchardet/files/libchardet-1.0.6-pkgconfig.patch
Normal file
10
dev-libs/libchardet/files/libchardet-1.0.6-pkgconfig.patch
Normal file
@ -0,0 +1,10 @@
|
||||
Don't copy CFLAGS from portage's make.conf to .pc
|
||||
|
||||
--- a/chardet.pc.in
|
||||
+++ b/chardet.pc.in
|
||||
@@ -9,4 +9,4 @@ Name: @PACKAGE_NAME@
|
||||
Description: Mozilla's Universal Charset Detector C/C++ API
|
||||
Version: @PACKAGE_VERSION@
|
||||
Libs: -L${libdir} -lchardet
|
||||
-Cflags: -I${includedir}/chardet @CFLAGS@
|
||||
+Cflags: -I${includedir}/chardet
|
21
dev-libs/libchardet/libchardet-1.0.6.ebuild
Normal file
21
dev-libs/libchardet/libchardet-1.0.6.ebuild
Normal file
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Mozilla's Universal Charset Detector C/C++ API"
|
||||
HOMEPAGE="https://github.com/Joungkyun/libchardet"
|
||||
SRC_URI="https://github.com/Joungkyun/libchardet/releases/download/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1 MPL-1.1"
|
||||
SLOT="0/0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/libchardet-1.0.6-pkgconfig.patch"
|
||||
)
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name "*.la" -delete || die
|
||||
}
|
15
dev-libs/libchardet/metadata.xml
Normal file
15
dev-libs/libchardet/metadata.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>alexey+gentoo@asokolov.org</email>
|
||||
<name>Alexey Sokolov</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
libchardet is based on Mozilla Universal Charset Detector library and, detects the character set used to encode data.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/Joungkyun/libchardet/issues</bugs-to>
|
||||
<remote-id type="github">Joungkyun/libchardet</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user