From da5af5ca3b39b8884c0f640e38051615a2fd52dc Mon Sep 17 00:00:00 2001 From: Volker Wegert Date: Sun, 20 Nov 2022 23:17:26 +0100 Subject: [PATCH] re-applied changes to app-forensics/libvsgpt --- app-forensics/libvsgpt/Manifest | 2 + .../libvsgpt/libvsgpt-20211115.ebuild | 64 +++++++++++++++++++ .../libvsgpt/libvsgpt-20221029.ebuild | 64 +++++++++++++++++++ app-forensics/libvsgpt/metadata.xml | 8 +++ 4 files changed, 138 insertions(+) create mode 100644 app-forensics/libvsgpt/Manifest create mode 100644 app-forensics/libvsgpt/libvsgpt-20211115.ebuild create mode 100644 app-forensics/libvsgpt/libvsgpt-20221029.ebuild create mode 100644 app-forensics/libvsgpt/metadata.xml diff --git a/app-forensics/libvsgpt/Manifest b/app-forensics/libvsgpt/Manifest new file mode 100644 index 000000000..da3fafb38 --- /dev/null +++ b/app-forensics/libvsgpt/Manifest @@ -0,0 +1,2 @@ +DIST libvsgpt-experimental-20211115.tar.gz 1492303 BLAKE2B 9f6c33008d0cc57f4eddaafd5cc041bcccc2d5014e15f384d11e1452cb5752ab0ee3bbc15daa2a4d28a605873321e3e5399008bbfa721d3b125abdcea0d16e42 SHA512 41b9888755877e1d621e2a17485fa74fc4232e8850caaf461e6ac35db3e888345289bf09bc845e7b04c827aa5f4671efd7de9b7b5136d405682f01e4644ffb3e +DIST libvsgpt-experimental-20221029.tar.gz 1532650 BLAKE2B 61f67c56121699f1536871feedd2d27f87e1884882fd51db55c1edfde0ddd9504e7f3ac3f73eff3dfc377e09c3e152b0436030d5550dc3dd54865c0ae9416f43 SHA512 3528a9d548ccfcc5dfbad21b8e632bd3630e9f9e4f8674382be6d07794a1cd072e884e58ea8066993612d869d2e3a5816f774da8a85870643ae475ae1461036f diff --git a/app-forensics/libvsgpt/libvsgpt-20211115.ebuild b/app-forensics/libvsgpt/libvsgpt-20211115.ebuild new file mode 100644 index 000000000..ae50b6509 --- /dev/null +++ b/app-forensics/libvsgpt/libvsgpt-20211115.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +inherit autotools python-single-r1 + +DESCRIPTION="Library and tools to access the GUID Partition Table (GPT) volume system format" +HOMEPAGE="https://github.com/libyal/libvsgpt" +SRC_URI="https://github.com/libyal/libvsgpt/releases/download/${PV}/${PN}-experimental-${PV}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="nls unicode python +threads debug" + +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) +" + +DEPEND=" + nls? ( + virtual/libiconv + virtual/libintl + ) + python? ( dev-lang/python:* ) + app-forensics/libbfio[nls=,unicode=,threads=] + dev-libs/libcdata[nls=] + dev-libs/libcerror[nls=] + dev-libs/libcfile[nls=,unicode=] + dev-libs/libclocale[nls=,unicode=] + dev-libs/libcnotify[nls=] + dev-libs/libcpath[nls=,unicode=] + dev-libs/libcsplit[nls=,unicode=] + dev-libs/libcthreads[nls=] + dev-libs/libfcache[nls=] + dev-libs/libfdata[nls=] + dev-libs/libfguid[nls=] + dev-libs/libuna[nls=,unicode=] +" +RDEPEND=" + ${DEPEND} + python? ( ${PYTHON_DEPS} ) +" + +src_prepare() { + eautoreconf + eapply_user +} + +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 ) \ + $(use_enable threads multi-threading-support) \ + $(use_enable python) \ + $(use_enable python python3) \ + +} diff --git a/app-forensics/libvsgpt/libvsgpt-20221029.ebuild b/app-forensics/libvsgpt/libvsgpt-20221029.ebuild new file mode 100644 index 000000000..ae50b6509 --- /dev/null +++ b/app-forensics/libvsgpt/libvsgpt-20221029.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +inherit autotools python-single-r1 + +DESCRIPTION="Library and tools to access the GUID Partition Table (GPT) volume system format" +HOMEPAGE="https://github.com/libyal/libvsgpt" +SRC_URI="https://github.com/libyal/libvsgpt/releases/download/${PV}/${PN}-experimental-${PV}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="nls unicode python +threads debug" + +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) +" + +DEPEND=" + nls? ( + virtual/libiconv + virtual/libintl + ) + python? ( dev-lang/python:* ) + app-forensics/libbfio[nls=,unicode=,threads=] + dev-libs/libcdata[nls=] + dev-libs/libcerror[nls=] + dev-libs/libcfile[nls=,unicode=] + dev-libs/libclocale[nls=,unicode=] + dev-libs/libcnotify[nls=] + dev-libs/libcpath[nls=,unicode=] + dev-libs/libcsplit[nls=,unicode=] + dev-libs/libcthreads[nls=] + dev-libs/libfcache[nls=] + dev-libs/libfdata[nls=] + dev-libs/libfguid[nls=] + dev-libs/libuna[nls=,unicode=] +" +RDEPEND=" + ${DEPEND} + python? ( ${PYTHON_DEPS} ) +" + +src_prepare() { + eautoreconf + eapply_user +} + +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 ) \ + $(use_enable threads multi-threading-support) \ + $(use_enable python) \ + $(use_enable python python3) \ + +} diff --git a/app-forensics/libvsgpt/metadata.xml b/app-forensics/libvsgpt/metadata.xml new file mode 100644 index 000000000..ace7c2d3a --- /dev/null +++ b/app-forensics/libvsgpt/metadata.xml @@ -0,0 +1,8 @@ + + + + + unknown@pentoo.ch + Author Unknown + +