diff --git a/app-forensics/liblnk/Manifest b/app-forensics/liblnk/Manifest new file mode 100644 index 000000000..f39a5f208 --- /dev/null +++ b/app-forensics/liblnk/Manifest @@ -0,0 +1,2 @@ +DIST liblnk-alpha-20210417.tar.gz 1576134 BLAKE2B beaaf3b321c7b1f0007b5b8f1cbd8cfe7572e84f813c86a67ef4d03384877ee6370d7e43ba03364e4bdf232301fe36a239abafaeeec93df30efda8870a497f79 SHA512 989e38c041ab26f3b44c90053ab2c9d18d7613bd42a211b14452dbf859204773f1bc131bf34b3b04b2401ee137f640b86f2bf3863a782e8bda74bd3543ed12c1 +DIST liblnk-alpha-20221023.tar.gz 1616642 BLAKE2B a27439b7dde6a6fb9fda7df6d5bf411e52ee441ecb102481a51a9ba117c2c594ca9db605abc7504629cfacf834f37325522363ddcc2c646047eb226360a7463c SHA512 f61b8f81880ae4a405b47017db5bacfa48ea9054f152cea21d5266ead24f20f8dbc8aae050dbcb062d6cc22ff6698df62625665d562cc2fa7fb7dbd46095eb4e diff --git a/app-forensics/liblnk/liblnk-20210417.ebuild b/app-forensics/liblnk/liblnk-20210417.ebuild new file mode 100644 index 000000000..ffc0490e0 --- /dev/null +++ b/app-forensics/liblnk/liblnk-20210417.ebuild @@ -0,0 +1,72 @@ +# 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 Windows Shortcut File (LNK) format" +HOMEPAGE="https://github.com/libyal/liblnk" +SRC_URI="https://github.com/libyal/liblnk/releases/download/${PV}/${PN}-alpha-${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/libfdatetime[nls=] + dev-libs/libfguid[nls=] + dev-libs/libfole[nls=] + dev-libs/libfwps[nls=,threads=,python=] + dev-libs/libfwsi[nls=,threads=,python=] + 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) \ + +} + +src_install() { + default + # see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303 + find "${ED}" -name '*.la' -delete || die +} diff --git a/app-forensics/liblnk/liblnk-20221023.ebuild b/app-forensics/liblnk/liblnk-20221023.ebuild new file mode 100644 index 000000000..ffc0490e0 --- /dev/null +++ b/app-forensics/liblnk/liblnk-20221023.ebuild @@ -0,0 +1,72 @@ +# 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 Windows Shortcut File (LNK) format" +HOMEPAGE="https://github.com/libyal/liblnk" +SRC_URI="https://github.com/libyal/liblnk/releases/download/${PV}/${PN}-alpha-${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/libfdatetime[nls=] + dev-libs/libfguid[nls=] + dev-libs/libfole[nls=] + dev-libs/libfwps[nls=,threads=,python=] + dev-libs/libfwsi[nls=,threads=,python=] + 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) \ + +} + +src_install() { + default + # see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303 + find "${ED}" -name '*.la' -delete || die +} diff --git a/app-forensics/liblnk/metadata.xml b/app-forensics/liblnk/metadata.xml new file mode 100644 index 000000000..ace7c2d3a --- /dev/null +++ b/app-forensics/liblnk/metadata.xml @@ -0,0 +1,8 @@ + + + + + unknown@pentoo.ch + Author Unknown + +