blob: 7f788207a132d2d716a918851315b454e086de68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Panotools-Script/Panotools-Script-0.25.ebuild,v 1.1 2010/04/17 11:20:04 tove Exp $
EAPI="2"
MODULE_AUTHOR=BPOSTLE
inherit perl-module
DESCRIPTION="A perl module for reading, writing, and manipulating hugin script files"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gui"
RDEPEND="dev-perl/URI
dev-perl/libwww-perl
>=dev-perl/ImageSize-2.9
>=media-libs/exiftool-6
gui? ( gnome-extra/zenity )"
DEPEND=""
SRC_TEST="do"
src_install() {
perl-module_src_install
if use gui ; then
insinto /usr/share/applications
doins "${S}"/desktop/*.desktop || die
else
rm "${D}"/usr/bin/*-gui || die
fi
}
pkg_postinst() {
einfo "Some of the scripts require 'nona', 'freepv', 'enblend', 'autotrace', and"
einfo "ImageMagick command-line tools which are available in the following"
einfo "packages: media-gfx/hugin, media-gfx/freepv, media-gfx/enblend,"
einfo "media-gfx/autotrace, and media-gfx/imagemagick."
}
|