mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-crypt/tomb: drop 2.9-r6
Depends on Qt5. Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST Tomb-2.13.tar.gz 4883377 BLAKE2B e8c2b4185c8142e54cc3de6757753c2ef431759f10de3841424a1fda488729bcba39fd356d151c0605b6374abff5a32fc8a9455fcc556ffd776308aeabf46339 SHA512 0b9e7502341df5985c9202b068b64ccf20328f1aedba19b692d40af8aa3970cd6de9ecacb832100c09212c08fca740566f92e7c7a8dab8ff0093da4756f0d76d
|
||||
DIST Tomb-2.9.tar.gz 4742346 BLAKE2B 16e287295c11f711a1fbe0f6658ed9b669de52d3766f633a1d94c3cb7d08472bbd2f03e2e3bffe1076b9c182e2441a906bebcd158f547146a94b9b96daf9b5e4 SHA512 425ee50130cf8b8c60488ec53aa17381f54371e624ae0211a079b7148741c28d5b7c9b6623eebe987079df890ef0fad0aa8c1daa1c7fbb79dbb502e511be20b6
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
--- a/extras/gtomb/gtomb
|
||||
+++ b/extras/gtomb/gtomb
|
||||
@@ -19,8 +19,8 @@
|
||||
# along with this source code. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
ver="0.8"
|
||||
-TOMBPATH="/usr/local/bin/tomb" # Set this to your tomb executable's path
|
||||
-KDFPATH="/usr/local/bin/" # Set this to the path of your KDF binaries (if you're using them)
|
||||
+TOMBPATH="/usr/bin/tomb" # Set this to your tomb executable's path
|
||||
+KDFPATH="/usr/bin/" # Set this to the path of your KDF binaries (if you're using them)
|
||||
# The ones below should not need changing
|
||||
HEXENC="$KDFPATH/tomb-kdb-hexencode"
|
||||
GENSALT="$KDFPATH/tomb-kdb-pbkdf2-gensalt"
|
||||
@@ -1,168 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
MYP="${P^}"
|
||||
|
||||
inherit desktop qmake-utils toolchain-funcs xdg
|
||||
|
||||
DESCRIPTION="Tomb :: File Encryption on GNU/Linux"
|
||||
HOMEPAGE="
|
||||
https://www.dyne.org/software/tomb
|
||||
https://github.com/dyne/Tomb
|
||||
"
|
||||
SRC_URI="https://files.dyne.org/tomb/releases/Tomb-${PV}.tar.gz"
|
||||
S="${WORKDIR}/${MYP}"
|
||||
LICENSE="
|
||||
GPL-3
|
||||
gui? ( GPL-3+ )
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="gui test tray"
|
||||
|
||||
#test require sudo, can't be done non interactively
|
||||
RESTRICT="test"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-gtomb.patch"
|
||||
"${FILESDIR}/${P}-respect-ldflags.patch"
|
||||
)
|
||||
DOCS=(
|
||||
AUTHORS.txt
|
||||
ChangeLog.txt
|
||||
KNOWN_BUGS.txt
|
||||
README.txt
|
||||
doc/bertini_thesis.pdf
|
||||
doc/HACKING.txt
|
||||
doc/KEY_SPECIFICATIONS.txt
|
||||
doc/LinuxHDEncSettings.txt
|
||||
doc/Luks_on_disk_format.pdf
|
||||
doc/New_methods_in_HD_encryption.pdf
|
||||
doc/TKS1-draft.pdf
|
||||
doc/tomb_manpage.pdf
|
||||
)
|
||||
|
||||
CDEPEND="
|
||||
dev-libs/libgcrypt
|
||||
tray? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
app-admin/sudo
|
||||
app-crypt/gnupg
|
||||
app-crypt/pinentry
|
||||
app-shells/zsh
|
||||
sys-fs/cryptsetup
|
||||
gui? ( gnome-extra/zenity )
|
||||
"
|
||||
DEPEND="${CDEPEND}"
|
||||
BDEPEND="
|
||||
dev-python/markdown
|
||||
dev-python/pygments
|
||||
sys-devel/gettext
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
export CC=$(tc-getCC)
|
||||
export PREFIX="${EPREFIX}/usr"
|
||||
emake
|
||||
|
||||
pushd extras/kdf-keys || die
|
||||
emake all
|
||||
popd || die
|
||||
|
||||
if use tray ; then
|
||||
pushd extras/qt-tray || die
|
||||
eqmake5
|
||||
emake all
|
||||
popd || die
|
||||
fi
|
||||
|
||||
#translations
|
||||
pushd extras/translations || die
|
||||
emake all
|
||||
popd || die
|
||||
|
||||
#documentation
|
||||
cd doc/literate || die
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
#translations
|
||||
export PREFIX="${ED}/usr"
|
||||
pushd extras/translations || die
|
||||
emake install
|
||||
popd || die
|
||||
|
||||
#zenity gui
|
||||
if use gui ; then
|
||||
pushd extras/gtomb || die
|
||||
dobin gtomb
|
||||
newdoc README.md README-gtomb
|
||||
popd || die
|
||||
fi
|
||||
|
||||
#qt tray
|
||||
if use tray ; then
|
||||
pushd extras/qt-tray || die
|
||||
dobin tomb-qt-tray
|
||||
doicon pixmaps/tomb_icon.png
|
||||
insinto /usr/share
|
||||
doins -r i18n
|
||||
popd || die
|
||||
fi
|
||||
|
||||
#kdf programs
|
||||
pushd extras/kdf-keys || die
|
||||
emake install
|
||||
popd || die
|
||||
|
||||
#is there an eclass for this?
|
||||
#pixmap
|
||||
pushd extras/gtk-tray
|
||||
doicon monmort.xpm
|
||||
newicon --context mimetypes --size 32 monmort.xpm monmort
|
||||
newicon --size 32 monmort.xpm dyne-monmort
|
||||
popd
|
||||
pushd extras/desktop
|
||||
#copied from install.zsh
|
||||
#mime types
|
||||
insinto /usr/share/mime/packages
|
||||
doins dyne-tomb.xml
|
||||
#desktop
|
||||
domenu tomb.desktop
|
||||
#menu
|
||||
insinto /etc/menu
|
||||
doins tomb
|
||||
#mime info
|
||||
insinto /usr/share/mime-info
|
||||
doins tomb.mime
|
||||
doins tomb.keys
|
||||
insinto /usr/lib/mime/packages
|
||||
newins tomb.mimepkg tomb
|
||||
#application entry
|
||||
insinto /usr/share/application-registry
|
||||
doins tomb.applications
|
||||
popd
|
||||
|
||||
#documentation
|
||||
einstalldocs
|
||||
cd doc/literate || die
|
||||
insinto "/usr/share/doc/${PF}/html"
|
||||
doins -r *.html *.css public
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
|
||||
pushd extras/kdf-keys || die
|
||||
emake test
|
||||
}
|
||||
Reference in New Issue
Block a user