diff options
Diffstat (limited to 'app-crypt/veracrypt')
-rw-r--r-- | app-crypt/veracrypt/Manifest | 2 | ||||
-rw-r--r-- | app-crypt/veracrypt/veracrypt-1.24_p8.ebuild | 40 |
2 files changed, 19 insertions, 23 deletions
diff --git a/app-crypt/veracrypt/Manifest b/app-crypt/veracrypt/Manifest index d57489d4b527..7847d5769ed8 100644 --- a/app-crypt/veracrypt/Manifest +++ b/app-crypt/veracrypt/Manifest @@ -1,4 +1,4 @@ AUX veracrypt.init 384 BLAKE2B 0325852e3bb9d8427298c46b0e7caefb1f62d957a158c8a6f898c6609c0363449ef5f48c9cd5a1092efbd9d2e1077a6218bdbebacebde936afc40ec3bfd0b3eb SHA512 574b18b7cbc5f4ea71bb35ec3343af5bdcc7848801decf3b93157bc4fde44ca5daec01847e3ff9f3a638b297f33023ea46a0ada5cc64bab0d14cbe12b93b66ed DIST veracrypt-1.24_p8.tar.gz 25116825 BLAKE2B fccab3e7de7637f6f3a7f448a9dcc6671198ea6155e8f6741844c5bd844819c639f968e4cc6e13c274c90f2ba8e540a020b98cb12617a109d5911ce8dd9cb991 SHA512 16139d055e2b2dda6c38ecf156cf5d15cd4788253fe0c85e42050eafd8afbd5c5908e590e53a7b5220767ebbb3b9e81d0049a910b322e42f1c29d2c131bd29d0 -EBUILD veracrypt-1.24_p8.ebuild 2545 BLAKE2B 9bce35c540f25e5e010443fc849b99e409e47b57a572a1bf69c17ec24974cddcffa676f5b2f69c6c26d2ffda4109d3051a599738d9b1290eecf8b4dee0743527 SHA512 4f47cc599a13183c2d18a0927900f429c5a49a03e2227a32654880e7be22919d7795e480f9b2595220aa8410c804a5720fd3dd39d710ad5fb6cb5974d93c17ef +EBUILD veracrypt-1.24_p8.ebuild 2503 BLAKE2B a7e3e78ae75f87ded54194c4d07d3f91859904e58b820a0dc8b5f97bc7f64edc4005b280edba8389b5767f1d60459221a9e8dc13bdaac39e43659452b557d1a1 SHA512 9b591469c2ff16e69a6326c64e692ddee34695fe8baff955594cf155faf5de10896885b48df5cd67950213d0726605ce153c79024b06b2cfe68653c094e6ed98 MISC metadata.xml 399 BLAKE2B a7d22abada8009869e82b80f8b2274e1acc2fb1488d584c9d730f231057519404445a0d048ad70a47f7d946bc987f836fdfd87da296537a307e234175e521acc SHA512 ac0676510d8d2ac2430dd244ed5e4d18de1cbb7050563fcdd46fc8511c9813dc3609565a6c071f75d9cd26e73c1f453cc8cf9b9b47e0822bd93548a8baaf62ca diff --git a/app-crypt/veracrypt/veracrypt-1.24_p8.ebuild b/app-crypt/veracrypt/veracrypt-1.24_p8.ebuild index a0d3a867b3f6..e4a53800c6df 100644 --- a/app-crypt/veracrypt/veracrypt-1.24_p8.ebuild +++ b/app-crypt/veracrypt/veracrypt-1.24_p8.ebuild @@ -1,13 +1,17 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit desktop eapi7-ver linux-info pax-utils toolchain-funcs wxwidgets +EAPI=7 + +WX_GTK_VER="3.0-gtk3" +inherit desktop linux-info pax-utils toolchain-funcs wxwidgets MY_PV="$(ver_cut 1-2)-Update$(ver_cut 4)_MacOSX" + DESCRIPTION="Disk encryption with strong security based on TrueCrypt" HOMEPAGE="https://www.veracrypt.fr/en/Home.html" SRC_URI="https://github.com/${PN}/VeraCrypt/archive/VeraCrypt_${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/VeraCrypt-VeraCrypt_${MY_PV}/src" # The modules not linked against in Linux include (but not limited to): # libzip, chacha-xmm, chacha256, chachaRng, rdrand, t1ha2 @@ -19,27 +23,20 @@ KEYWORDS="amd64" IUSE="+asm cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_ssse3 doc X" RESTRICT="bindist mirror" -WX_GTK_VER="3.0-gtk3" - RDEPEND=" sys-fs/lvm2 sys-fs/fuse:0 x11-libs/wxGTK:${WX_GTK_VER}[X?] app-admin/sudo - dev-libs/pkcs11-helper -" -DEPEND=" - ${RDEPEND} + dev-libs/pkcs11-helper" +DEPEND="${RDEPEND}" +BDEPEND=" virtual/pkgconfig - asm? ( dev-lang/yasm ) -" - -S="${WORKDIR}/VeraCrypt-VeraCrypt_${MY_PV}/src" + asm? ( dev-lang/yasm )" -pkg_setup() { - local CONFIG_CHECK="~BLK_DEV_DM ~CRYPTO ~CRYPTO_XTS ~DM_CRYPT ~FUSE_FS" - linux-info_pkg_setup +CONFIG_CHECK="~BLK_DEV_DM ~CRYPTO ~CRYPTO_XTS ~DM_CRYPT ~FUSE_FS" +src_configure() { setup-wxwidgets } @@ -67,32 +64,31 @@ src_compile() { } src_test() { - "${S}/Main/veracrypt" --text --test || die "tests failed" + ./Main/veracrypt --text --test || die "tests failed" } src_install() { local DOCS=( Readme.txt ) - local HTML_DOCS=( ) dobin Main/veracrypt if use doc; then DOCS+=( "${S}"/../doc/EFI-DCS ) - docompress -x "/usr/share/doc/${PF}/EFI-DCS" - HTML_DOCS+=( "${S}"/../doc/html/. ) + docompress -x /usr/share/doc/${PF}/EFI-DCS + HTML_DOCS=( "${S}"/../doc/html/. ) fi einstalldocs - newinitd "${FILESDIR}/${PN}.init" ${PN} + newinitd "${FILESDIR}"/veracrypt.init veracrypt if use X; then local s for s in 16 48 128 256; do newicon -s ${s} Resources/Icons/VeraCrypt-${s}x${s}.xpm veracrypt.xpm done - make_desktop_entry ${PN} "VeraCrypt" ${PN} "Utility;Security" + make_desktop_entry veracrypt "VeraCrypt" veracrypt "Utility;Security" fi - pax-mark -m "${D%/}/usr/bin/veracrypt" + pax-mark -m "${ED}"/usr/bin/veracrypt } pkg_postinst() { |