mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-23 18:38:08 -07:00
x11-misc/shutter: drop 0.99.5
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Part-of: https://codeberg.org/gentoo/gentoo/pulls/233 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
aa4690262c
commit
9fa035f96d
@@ -1,2 +1 @@
|
||||
DIST shutter-0.99.5.tar.gz 1736757 BLAKE2B b861d4c71295ceb1e8a2d268e57babccb8a832245ffb18410c19b20bb5aca56358e00cb4e578f3b8dfcd15e4c318beb7ed873a86094de522deed7f4b2e33b58c SHA512 524e135191a324f7da890922c98646c7cd83a714a3b1dc14f2ba9910f8a90f5c6c527a5c857888c2be93120a7b242e435664c8af45792d36b66d7642fda50371
|
||||
DIST shutter-0.99.6.tar.gz 1737401 BLAKE2B 2c6558c95ebd0b8eb2c249ac8aa0da896c8da3573b250346d67e46b1f5f9631407cb9a30c16e1ee227f784bc9392534d478bd092cc0e0a78ea408a260ebfd8af SHA512 3c75d7cd7f472411eccb7d0e1e4f67412842463923f83d979b57d1e3ebe05b36792d5e5bb54f59dbc22ffedb8e18b569f3fbab5006fb6d31490c4805d4856439
|
||||
|
||||
@@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop optfeature prefix xdg
|
||||
|
||||
DESCRIPTION="Feature-rich screenshot program"
|
||||
HOMEPAGE="https://shutter-project.org/"
|
||||
SRC_URI="https://github.com/shutter-project/shutter/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~riscv x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/perl
|
||||
dev-libs/libayatana-appindicator
|
||||
dev-perl/Carp-Always
|
||||
dev-perl/libxml-perl
|
||||
dev-perl/Glib-Object-Introspection
|
||||
dev-perl/GooCanvas2
|
||||
dev-perl/GooCanvas2-CairoTypes
|
||||
dev-perl/Gtk3
|
||||
dev-perl/Gtk3-ImageView
|
||||
dev-perl/File-DesktopEntry
|
||||
dev-perl/File-HomeDir
|
||||
dev-perl/File-Which
|
||||
dev-perl/JSON
|
||||
dev-perl/File-Copy-Recursive
|
||||
dev-perl/File-MimeInfo
|
||||
dev-perl/Locale-gettext
|
||||
dev-perl/Moo
|
||||
dev-perl/Net-DBus
|
||||
dev-perl/Number-Bytes-Human
|
||||
dev-perl/Pango
|
||||
dev-perl/Proc-Simple
|
||||
dev-perl/Proc-ProcessTable
|
||||
dev-perl/Sort-Naturally
|
||||
dev-perl/X11-Protocol
|
||||
dev-perl/XML-Simple
|
||||
virtual/imagemagick-tools[perl]
|
||||
x11-libs/libwnck:3[introspection]
|
||||
"
|
||||
BDEPEND="
|
||||
sys-devel/gettext
|
||||
test? ( dev-perl/Test-MockModule )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
hprefixify bin/shutter
|
||||
default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
prove -I share/shutter/resources/modules/ -I t/lib t -r || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/shutter
|
||||
dodoc README
|
||||
domenu share/applications/shutter.desktop
|
||||
doicon share/pixmaps/shutter.png
|
||||
doman share/man/man1/shutter.1
|
||||
|
||||
insinto /usr/share
|
||||
doins -r share/shutter
|
||||
doins -r share/locale
|
||||
doins -r share/icons
|
||||
|
||||
insinto /usr/share/metainfo
|
||||
doins share/metainfo/shutter.metainfo.xml
|
||||
|
||||
# .po doesn't belong to installed system, only .mo
|
||||
rm -r "${ED}"/usr/share/shutter/resources/po || die
|
||||
|
||||
# shutter executes perl scripts as standalone scripts, and after that "require"s them.
|
||||
find "${ED}"/usr/share/shutter/resources/system/plugins/ -type f ! -name '*.*' -exec chmod +x {} + \
|
||||
|| die "failed to make plugins executables"
|
||||
find "${ED}"/usr/share/shutter/resources/system/upload_plugins/upload -type f \
|
||||
-name "*.pm" -exec chmod +x {} + || die "failed to make upload plugins executables"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
optfeature "writing Exif information" media-libs/exiftool
|
||||
optfeature "image hostings uploading" "dev-perl/JSON-MaybeXS dev-perl/Path-Class"
|
||||
optfeature "WebP support" gui-libs/gdk-pixbuf-loader-webp
|
||||
}
|
||||
Reference in New Issue
Block a user