forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-i18n/uchardet: Version bump + maintainership
+ Added version 0.0.7, patch from 0.0.6-r2 isn't needed there + EAPI 6 -> 7 + Eclass cmake-utils -> cmake + I've adopted this orphaned package Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Matthias Coppens <[email protected]> Closes: gentoo#17066 Signed-off-by: Joonas Niilola <[email protected]>
- Loading branch information
1 parent
74d98b9
commit 7443683
Showing
4 changed files
with
60 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST uchardet-0.0.6.tar.xz 169192 BLAKE2B a0bc80ecd12565c1459b8136e3dc0530250571b5adbe4a7013c561f846f64f58482b9fd9cc5aa7493f20e913f59504a6e08c26571bf33ff34b4823f55d857b8c SHA512 eceeadae060bf277e298d709856609dde32921271140dc1fb0a33c7b6e1381033fc2960d616ebbd82c92815936864d2c0743b1b5ea1b7d4a200df87df80d6de5 | ||
DIST uchardet-0.0.7.tar.xz 215492 BLAKE2B 1f8b171676bc6edf1f3493a4a370e32b7b956104ea0b12a03837d817c386d59aa512c3a107426aedb087987cf3a7b99c4b2df4a667ed685ff9959f6bc6b4506c SHA512 ddb7b63dd09c1d9acbe620d86217e583d9aa5340780ab4010ec9faa4fd331498859d5efa7829bf8847da89325accf8f7304b51d410210178fc1ffa6658064a6f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<!-- maintainer-needed --> | ||
<upstream> | ||
<bugs-to>https://bugs.freedesktop.org/enter_bug.cgi?product=uchardet</bugs-to> | ||
</upstream> | ||
<maintainer type="person"> | ||
<email>[email protected]</email> | ||
<name>Matthias Coppens</name> | ||
</maintainer> | ||
<maintainer type="project"> | ||
<email>[email protected]</email> | ||
<name>Proxy Maintainers</name> | ||
</maintainer> | ||
<upstream> | ||
<bugs-to>https://bugs.freedesktop.org/enter_bug.cgi?product=uchardet</bugs-to> | ||
</upstream> | ||
</pkgmetadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Copyright 1999-2020 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
inherit cmake | ||
if [ "${PV}" = 9999 ] | ||
then | ||
inherit git-r3 | ||
EGIT_REPO_URI="https://anongit.freedesktop.org/git/uchardet/uchardet.git" | ||
else | ||
SRC_URI="https://www.freedesktop.org/software/uchardet/releases/${P}.tar.xz" | ||
fi | ||
|
||
DESCRIPTION="An encoding detector library" | ||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/uchardet/" | ||
|
||
LICENSE="|| ( MPL-1.1 GPL-2+ LGPL-2.1+ )" | ||
SLOT="0" | ||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" | ||
IUSE="cpu_flags_x86_sse2 static-libs test" | ||
RESTRICT="!test? ( test )" | ||
|
||
src_prepare() { | ||
cmake_src_prepare | ||
use test || cmake_comment_add_subdirectory test | ||
} | ||
|
||
src_configure() { | ||
local mycmakeargs=( | ||
-DTARGET_ARCHITECTURE="${ARCH}" | ||
-DBUILD_STATIC=$(usex static-libs) | ||
-DCHECK_SSE2=$(usex cpu_flags_x86_sse2) | ||
) | ||
cmake_src_configure | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters