You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-overlay/mate-extra/caja-extensions/caja-extensions-1.20.2.ebuild

76 lines
1.8 KiB

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
MATE_LA_PUNT="yes"
inherit mate
if [[ ${PV} != 9999 ]]; then
KEYWORDS="amd64 ~arm ~arm64 x86"
fi
DESCRIPTION="Several Caja extensions"
LICENSE="GPL-2"
SLOT="0"
SENDTO="cdr gajim +mail pidgin upnp"
IUSE="gksu image-converter +open-terminal share +wallpaper xattr ${SENDTO}"
COMMON_DEPEND=">=dev-libs/glib-2.36:2
>=mate-base/caja-1.17.1
virtual/libintl:0
x11-libs/gdk-pixbuf:2
>=x11-libs/gtk+-3.14:3
gajim? (
>=dev-libs/dbus-glib-0.60:0
>=sys-apps/dbus-1:0
)
open-terminal? ( >=mate-base/mate-desktop-1.17.0 )
pidgin? ( >=dev-libs/dbus-glib-0.60:0 )
upnp? ( >=net-libs/gupnp-0.13:0= )
xattr? ( sys-apps/attr )"
RDEPEND="${COMMON_DEPEND}
cdr? ( >=app-cdr/brasero-2.32.1:0= )
gajim? ( net-im/gajim:0 )
gksu? ( x11-libs/gksu )
image-converter? (
|| (
media-gfx/imagemagick
media-gfx/graphicsmagick[imagemagick]
)
)
pidgin? ( net-im/pidgin )"
DEPEND="${COMMON_DEPEND}
dev-util/gtk-doc
dev-util/gtk-doc-am
>=dev-util/intltool-0.18:*
sys-devel/gettext:*
virtual/pkgconfig:*
!!mate-extra/mate-file-manager-open-terminal
!!mate-extra/mate-file-manager-sendto
!!mate-extra/mate-file-manager-image-converter
!!mate-extra/mate-file-manager-share"
src_configure() {
local sendto_plugins="removable-devices"
use cdr && sendto_plugins+=",caja-burn"
use mail && sendto_plugins+=",emailclient"
use pidgin && sendto_plugins+=",pidgin"
use gajim && sendto_plugins+=",gajim"
use upnp && sendto_plugins+=",upnp"
mate_src_configure \
--enable-sendto \
--with-sendto-plugins=${sendto_plugins}\
$(use_enable gksu) \
$(use_enable image-converter) \
$(use_enable open-terminal) \
$(use_enable share) \
$(use_enable wallpaper) \
$(use_enable xattr xattr-tags)
}