This commit is contained in:
Anton Bolshakov 2023-01-27 14:28:28 +08:00
parent 7cc2946a0b
commit 3fcad2da3f
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
6 changed files with 82 additions and 104 deletions

View file

@ -1,4 +1,2 @@
DIST libcpath-alpha-20171210.tar.gz 982107 BLAKE2B 3687df6023e36f99b28bfcc8f0e366f771ada7a5a9881b1b2e7ca6a5868c3b9253115f67735766dc6315dc666fcb4069d08cf928136f6fa2cbb26aa4a6421e73 SHA512 61db5100ee7fcb376ec407a97e13180b2372424c3a21cf937687dc05f2448a3752f7385c3b693df4a7106e0d2bf9949a499f502154211658e57231816b6ebdd6
DIST libcpath-alpha-20180720.tar.gz 987880 BLAKE2B f9f336c0425a9d28c9f4f89eaa77b52dcb32d62a5e1ff2baaa18c477d0d5b60ef0a996abd2cf42029bebf7137306a6f0df54e91d50d879e5d9e2f0e8c36b87e9 SHA512 1a38813a179f7fed7042ddc86b9b1763a5dc8717d3aefba78edf344adf7e27d2dec5f5ae15975908027905c5ef36044fbb21bcd32cf1fb8817e107be64417b6c
DIST libcpath-alpha-20181228.tar.gz 992527 BLAKE2B bad6174d732695e6c90b31284bf1f8c2e5d0981bb8b85cc66bec2046116d60ca8100b8c5be09e1912d3c00283f1fdddb39b328f52209947e01ed563348b3e3ed SHA512 d6a264958cca96e7cbfbe29f8279f6753df30f1fcb6b3c9d0d278bcb231c307c40ccd8399c3ec9f0f43b9ee826e195fa7a82fe9c83a87b4b67b12834de14c789
DIST libcpath-alpha-20200623.tar.gz 1005094 BLAKE2B 33573e3212f04a0e6b5e7068b0e26f794fd02de6d682fb8335b927f693f7e3f9e8a448ffe60aa7b30f891bf77905f3ca79eb97518af84eae03561a40e42ccf9f SHA512 4bd1c9d0928246dbce37608248b6493c0a5e73392bcb45b823191a43caf21bf49310a07b0d85bcdb35beba0c1add7436aba21474c0731f6ef5a1be2e13a007c6
DIST libcpath-alpha-20220108.tar.gz 1033766 BLAKE2B 4a43a860bc8a3f15198732627b15aac9c1b8652eaf19c9ce74e98ac40821b319c6788d328593252fedb1491d1f34fb6bd3af20b52effe55226338a545d959812 SHA512 73acba297cc0a3b419c2b7fae7798a44f42478054b0125caff83ab61c852bac54063b994617168116285bb4f3eb6787ada756f74a77016b2a785bd76f212e4cf

View file

@ -1,31 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils
DESCRIPTION="Library for cross-platform C path functions"
HOMEPAGE="https://github.com/libyal/${PN}"
SRC_URI="https://github.com/libyal/${PN}/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls unicode"
DEPEND="dev-libs/libcerror
dev-libs/libclocale
dev-libs/libcsplit
dev-libs/libuna"
RDEPEND="${DEPEND}"
src_configure() {
econf $(use_enable nls) \
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix) \
$(use_enable unicode wide-character-type) \
--with-libcerror --with-libclocale \
--with-libcsplit --with-libuna
}

View file

@ -1,31 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils
DESCRIPTION="Library for cross-platform C path functions"
HOMEPAGE="https://github.com/libyal/${PN}"
SRC_URI="https://github.com/libyal/${PN}/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls unicode"
DEPEND="dev-libs/libcerror
dev-libs/libclocale
dev-libs/libcsplit
dev-libs/libuna"
RDEPEND="${DEPEND}"
src_configure() {
econf $(use_enable nls) \
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix) \
$(use_enable unicode wide-character-type) \
--with-libcerror --with-libclocale \
--with-libcsplit --with-libuna
}

View file

@ -1,27 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Library for cross-platform C path functions"
HOMEPAGE="https://github.com/libyal/${PN}"
SRC_URI="https://github.com/libyal/${PN}/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="nls unicode"
DEPEND="dev-libs/libcerror
dev-libs/libclocale
dev-libs/libcsplit
dev-libs/libuna"
RDEPEND="${DEPEND}"
src_configure() {
econf $(use_enable nls) \
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix) \
$(use_enable unicode wide-character-type)
}

View file

@ -1,27 +1,48 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
DESCRIPTION="Library for cross-platform C path functions"
HOMEPAGE="https://github.com/libyal/${PN}"
SRC_URI="https://github.com/libyal/${PN}/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
HOMEPAGE="https://github.com/libyal/libcpath"
SRC_URI="https://github.com/libyal/libcpath/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="nls unicode"
DEPEND="dev-libs/libcerror
dev-libs/libclocale
dev-libs/libcsplit
dev-libs/libuna"
KEYWORDS="amd64 ~arm64 x86"
IUSE="nls unicode debug"
DEPEND="
dev-libs/libcerror[nls=]
dev-libs/libclocale[nls=,unicode=]
dev-libs/libcsplit[nls=,unicode=]
dev-libs/libuna[nls=,unicode=]
nls? (
virtual/libiconv
virtual/libintl
)
"
RDEPEND="${DEPEND}"
src_configure() {
econf $(use_enable nls) \
econf \
$(use_enable nls) \
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix) \
$(use_enable unicode wide-character-type)
$(use_enable unicode wide-character-type) \
$(use_enable debug verbose-output) \
$(use_enable debug debug-output)
# --disable-shared-libs disable shared library support
# not supported in the ebuild at the moment - kind of defeats the entire process
# --enable-winapi enable WINAPI support for cross-compilation
# [default=auto-detect]
# not supported in the ebuild at the moment - requires windows.h, does not make much sense for us
}
src_install() {
default
# see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303
find "${ED}" -name '*.la' -delete || die
}

View file

@ -0,0 +1,48 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Library for cross-platform C path functions"
HOMEPAGE="https://github.com/libyal/libcpath"
SRC_URI="https://github.com/libyal/libcpath/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="nls unicode debug"
DEPEND="
dev-libs/libcerror[nls=]
dev-libs/libclocale[nls=,unicode=]
dev-libs/libcsplit[nls=,unicode=]
dev-libs/libuna[nls=,unicode=]
nls? (
virtual/libiconv
virtual/libintl
)
"
RDEPEND="${DEPEND}"
src_configure() {
econf \
$(use_enable nls) \
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix) \
$(use_enable unicode wide-character-type) \
$(use_enable debug verbose-output) \
$(use_enable debug debug-output)
# --disable-shared-libs disable shared library support
# not supported in the ebuild at the moment - kind of defeats the entire process
# --enable-winapi enable WINAPI support for cross-compilation
# [default=auto-detect]
# not supported in the ebuild at the moment - requires windows.h, does not make much sense for us
}
src_install() {
default
# see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303
find "${ED}" -name '*.la' -delete || die
}