Skip to content

Commit

Permalink
media-gfx/darktable: update dependencies and migrate to xdg-utils
Browse files Browse the repository at this point in the history
- bug #642204
- bug #642186

Package-Manager: Portage-2.3.13, Repoman-2.3.3
  • Loading branch information
maekke committed Dec 29, 2017
1 parent e579457 commit 7fa7f4a
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions media-gfx/darktable/darktable-2.4.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=6

inherit cmake-utils flag-o-matic toolchain-funcs gnome2-utils fdo-mime pax-utils eutils
inherit cmake-utils flag-o-matic toolchain-funcs gnome2-utils xdg-utils pax-utils eutils

DOC_PV="2.2.0"
MY_PV="${PV/_/}"
Expand Down Expand Up @@ -39,9 +39,8 @@ CDEPEND="
media-libs/tiff:0
net-libs/libsoup:2.4
net-misc/curl
sys-libs/zlib:=
virtual/jpeg:0
virtual/glu
virtual/opengl
x11-libs/cairo
>=x11-libs/gtk+-3.14:3
x11-libs/pango
Expand All @@ -51,13 +50,9 @@ CDEPEND="
geo? ( >=sci-geosciences/osm-gps-map-1.1.0 )
gphoto2? ( media-libs/libgphoto2:= )
graphicsmagick? ( media-gfx/graphicsmagick )
jpeg2k? ( media-libs/openjpeg:0 )
jpeg2k? ( media-libs/openjpeg:2= )
libsecret? ( >=app-crypt/libsecret-0.18 )
opencl? (
sys-devel/clang:4=
sys-devel/llvm:4=
virtual/opencl
)
opencl? ( virtual/opencl )
openexr? ( media-libs/openexr:0= )
webp? ( media-libs/libwebp:0= )"
RDEPEND="${CDEPEND}
Expand All @@ -68,7 +63,11 @@ RDEPEND="${CDEPEND}
DEPEND="${CDEPEND}
dev-util/intltool
virtual/pkgconfig
nls? ( sys-devel/gettext )"
nls? ( sys-devel/gettext )
opencl? (
>=sys-devel/clang-4
>=sys-devel/llvm-4
)"

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

Expand Down Expand Up @@ -132,7 +131,7 @@ pkg_preinst() {

pkg_postinst() {
gnome2_icon_cache_update
fdo-mime_desktop_database_update
xdg_desktop_database_update

elog "when updating from the currently stable 1.6 series,"
elog "please bear in mind that your edits will be preserved during this process,"
Expand All @@ -143,5 +142,5 @@ pkg_postinst() {

pkg_postrm() {
gnome2_icon_cache_update
fdo-mime_desktop_database_update
xdg_desktop_database_update
}

0 comments on commit 7fa7f4a

Please sign in to comment.