Line 1
Link Here
|
1 |
# Copyright 1999-2019 Gentoo Authors |
1 |
# Copyright 1999-2020 Gentoo Authors |
2 |
-- |
|
|
Line 4
Link Here
|
4 |
EAPI=6 |
4 |
EAPI=7 |
5 |
-- |
|
|
Line 6
Link Here
|
6 |
inherit desktop toolchain-funcs xdg-utils |
6 |
inherit xdg-utils |
7 |
-- |
|
|
Lines 9-10
Link Here
|
9 |
HOMEPAGE="https://www.kornelix.net/fotoxx/fotoxx.html" |
9 |
HOMEPAGE="https://kornelix.net/fotoxx20/fotoxx.html" |
10 |
SRC_URI="http://www.kornelix.com/uploads/1/3/0/3/13035936/${P}.tar.gz" |
10 |
SRC_URI="https://kornelix.net/downloads/downloads/${P}.tar.gz" |
11 |
-- |
|
|
Line 12
Link Here
|
12 |
LICENSE="GPL-3" |
12 |
LICENSE="GPL-3+" |
13 |
-- |
|
|
Lines 14-15
Link Here
|
14 |
KEYWORDS="amd64 x86" |
14 |
KEYWORDS="~amd64 ~x86" |
15 |
IUSE="" |
15 |
IUSE="dvd ffmpeg heif jpeg2k map panorama raw" |
16 |
-- |
16 |
|
|
|
17 |
# For required dependencies read doc/README, for required tools read |
18 |
# data/userguide [INSTALLATION]. xdg-open (x11-misc/xdg-utils) is an |
19 |
# alternative to firefox and chromium-browser. `grep '"which ' * -R` |
20 |
# is helpful to report some required tools run via the shell. |
Line 21
Link Here
|
|
|
26 |
media-libs/libchamplain[gtk] |
27 |
virtual/jpeg |
Line 23
Link Here
|
23 |
media-gfx/ufraw[gtk] |
|
|
Lines 26-28
Link Here
|
26 |
x11-misc/xdg-utils" |
32 |
x11-misc/xdg-utils |
27 |
|
33 |
x11-apps/xgamma |
28 |
PATCHES=( "${FILESDIR}"/${P}.patch ) |
34 |
x11-apps/xhost |
29 |
-- |
35 |
x11-terms/xterm |
|
|
36 |
dvd? ( app-cdr/dvd+rw-tools ) |
37 |
ffmpeg? ( media-video/ffmpeg ) |
38 |
heif? ( media-libs/libheif ) |
39 |
jpeg2k? ( media-libs/openjpeg:2 ) |
40 |
map? ( media-gfx/fotoxx-maps ) |
41 |
panorama? ( media-gfx/hugin ) |
42 |
raw? ( media-gfx/rawtherapee )" |
43 |
|
44 |
S="${WORKDIR}/${PN}" |
45 |
|
46 |
PATCHES=( |
47 |
"${FILESDIR}/${P}-documentation.patch" |
48 |
"${FILESDIR}/${P}-manual.patch" |
49 |
) |
Lines 30-33
Link Here
|
30 |
src_compile() { |
51 |
DOCS=() |
31 |
tc-export CXX |
52 |
HTML_DOCS=() |
32 |
emake |
|
|
33 |
} |
34 |
-- |
Line 37
Link Here
|
37 |
# and README, changelog, translations, edit-menus, KB-shortcuts must not be compressed |
56 |
# and README, changelog, copyright, license, etc. must not be compressed. |
38 |
-- |
|
|
Line 39
Link Here
|
39 |
newmenu desktop ${PN}.desktop |
|
|
Line 45
Link Here
|
|
|
63 |
elog |
64 |
elog "Please read the Help > User Guide for details. The source location is" |
65 |
elog "/usr/share/fotoxx/data/userguide and after running fotoxx a copy will" |
66 |
elog "be placed at /home/<user>/.fotoxx/userguide." |
67 |
elog |
68 |
elog "To play videos, in Tools > Preferences set 'Video File Play Command'." |
69 |
elog |