mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-fs/dislocker: drop 0.7.3
Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/39999 Closes: https://github.com/gentoo/gentoo/pull/39999 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
committed by
Joonas Niilola
parent
204acbf890
commit
0c7ef1817f
@@ -1,2 +1 @@
|
||||
DIST dislocker-0.7.3.tar.gz 111257 BLAKE2B ba8403facfef04f5194a22421d2010d472b073d6dce03c9f457d7661de11bb818782cc66bfee8cd88fe72af7ac127bbbcbe1a01c5c35f0cf054f282b3208c3ea SHA512 c62241d70d51f6445a2f6d0f08e099bbc1a4257ca98232471fc43ec63e69d62ae5f702c995ec00b7e1db7d33f4bb3a31ea05bc13862bf3b539feb301a0e034ff
|
||||
DIST dislocker-0.7.3_p20250513.tar.gz 114875 BLAKE2B 2a8b0d9f243f3f97690dd9be2c3040237135c6d546cccd9f930cb5bbf5d5a29f2c3325d7beb5a716d3f929590c7ef9cc62c81a5f69b88f0ea6fc9710f2011000 SHA512 62ec4d0d9efcfbb4f33a126bf27debc7d5027777ee5cedd03ebbf27ef23da9380884559bdefb063713aa98520df9f4f38b738bd8e0d7aea6fb513a11d4f6107c
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
CMAKE_REMOVE_MODULES_LIST="${CMAKE_REMOVE_MODULES_LIST} FindRuby"
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Dislocker is used to read BitLocker encrypted partitions"
|
||||
HOMEPAGE="https://github.com/Aorimn/dislocker"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/Aorimn/dislocker.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/Aorimn/dislocker/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="ruby"
|
||||
|
||||
DEPEND="
|
||||
sys-fs/fuse:0=
|
||||
net-libs/mbedtls:0=
|
||||
ruby? ( dev-lang/ruby:* )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
# We either need to change Werror to Wno-error or remove the multiple declarations of FORTIFY_SOURCE
|
||||
#sed 's:Werror:Wno-error:g' -i "${S}/src/CMakeLists.txt" || die
|
||||
sed 's:-D_FORTIFY_SOURCE=2::g' -i "${S}/src/CMakeLists.txt" || die
|
||||
|
||||
# Do not process compressed versions of the manuals
|
||||
#sed 's:\.\./man:'../../${P}/man':g' -i "${S}/src/CMakeLists.txt" || die
|
||||
sed -r 's:( create_symlink \$\{BIN_FUSE\}\.1)\.gz (.+\.1)\.gz\\:\1 \2\\:' -i "${S}/src/CMakeLists.txt" || die
|
||||
sed -r 's:^(.+\.1\.gz):#\1:' -i "${S}/src/CMakeLists.txt" || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake_use_find_package ruby Ruby)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if ! use ruby; then
|
||||
rm "${S}/man/linux/${PN}-find.1" || die
|
||||
fi
|
||||
|
||||
find "${S}/man/linux" -name '*.1' -exec doman '{}' + || die
|
||||
cmake_src_install
|
||||
}
|
||||
Reference in New Issue
Block a user