pentoo-overlay/app-forensics/pdfwalker/pdfwalker-1.0.0-r1.ebuild
Yury Martynov 2229bb4a9d
app-forensics/pdfwalker: ruby26
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Yury Martynov <email@linxon.ru>
2020-04-12 16:49:59 +03:00

40 lines
740 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
USE_RUBY="ruby24 ruby25 ruby26"
inherit desktop ruby-fakegem xdg-utils
DESCRIPTION="A GTK frontend to explore the internals of a PDF document with Origami"
HOMEPAGE="https://github.com/gdelugre/pdfwalker"
LICENSE="GPL-3"
SLOT=0
KEYWORDS="~amd64"
IUSE="test"
ruby_add_bdepend "test? ( dev-ruby/minitest:5 )"
ruby_add_rdepend "
app-forensics/origami-pdf
dev-ruby/colorize
dev-ruby/ruby-gtk2"
all_ruby_install() {
all_fakegem_install
make_desktop_entry "${PN}" \
"PDFWalker" \
"application-pdf" \
"Utility;Office"
}
pkg_postinst() {
xdg_desktop_database_update
}
pkg_postrm() {
xdg_desktop_database_update
}