Diff darktable-2.6.2 with a darktable-9999

/usr/portage/media-gfx/darktable/darktable-9999.ebuild 2019-05-04 07:39:00.000000000 +0300
3 3

  
4 4
EAPI=7
5 5

  
6
inherit cmake-utils flag-o-matic pax-utils toolchain-funcs xdg
6
inherit cmake-utils flag-o-matic git-r3 pax-utils toolchain-funcs xdg
7 7

  
8
DOC_PV="2.6.0"
9
MY_PV="${PV/_/}"
10
MY_P="${P/_/.}"
8
EGIT_REPO_URI="https://github.com/darktable-org/${PN}.git"
11 9

  
12 10
DESCRIPTION="A virtual lighttable and darkroom for photographers"
13 11
HOMEPAGE="https://www.darktable.org/"
14
SRC_URI="https://github.com/darktable-org/${PN}/releases/download/release-${MY_PV}/${MY_P}.tar.xz
15
	https://dev.gentoo.org/~asturm/distfiles/${P}-gcc9.patch.tar.xz
16
	doc? ( https://github.com/darktable-org/${PN}/releases/download/release-${DOC_PV}/${PN}-usermanual.pdf -> ${PN}-usermanual-${DOC_PV}.pdf )"
17 12

  
18 13
LICENSE="GPL-3 CC-BY-3.0"
19 14
SLOT="0"
20
KEYWORDS="amd64 x86"
21
LANGS=" ca cs de es fi fr hu ja nb nl pl pt-BR ru sl"
15
#KEYWORDS="~amd64 ~x86"
16
LANGS=" ca cs da de es fr he hu it ja nl pl ru sk sl sv uk"
22 17
# TODO add lua once dev-lang/lua-5.2 is unmasked
23 18
IUSE="colord cups cpu_flags_x86_sse3 doc flickr geolocation gnome-keyring gphoto2 graphicsmagick jpeg2k kwallet
24 19
nls opencl openmp openexr pax_kernel webp
......
69 64
	kwallet? ( >=kde-frameworks/kwallet-5.34.0-r1 )
70 65
"
71 66

  
72
PATCHES=(
73
	"${FILESDIR}"/"${PN}"-find-opencl-header.patch
74
	"${WORKDIR}"/"${P}"-gcc9.patch
75
	"${FILESDIR}"/"${P}"-exiv2-0.27.patch
76
)
77

  
78
S="${WORKDIR}/${P/_/~}"
79

  
80 67
pkg_pretend() {
81 68
	if use openmp ; then
82 69
		tc-has-openmp || die "Please switch to an openmp compatible compiler"
......
133 120
		eqawarn "please open a bug."
134 121
	fi
135 122
}
136

  
137
pkg_postinst() {
138
	xdg_pkg_postinst
139

  
140
	elog "when updating from the currently stable 1.6 series,"
141
	elog "please bear in mind that your edits will be preserved during this process,"
142
	elog "but it will not be possible to downgrade from 2.0 to 1.6 any more."
143
	echo
144
	ewarn "It will not be possible to downgrade!"
145
}
Thank you!