summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jordan <immoloism@gmail.com>2024-04-06 15:17:22 +0100
committerArthur Zamarin <arthurzam@gentoo.org>2024-04-09 20:19:12 +0300
commit78b6ddc23442f6a83d6b16d1c473d1ccf539ba7b (patch)
tree689235d15c785ee2432814dc42521066dc6f6746 /mate-extra
parentmate-extra/caja-extensions: drop 1.27.0, 1.27.1 (diff)
downloadgentoo-78b6ddc23442f6a83d6b16d1c473d1ccf539ba7b.tar.gz
gentoo-78b6ddc23442f6a83d6b16d1c473d1ccf539ba7b.tar.bz2
gentoo-78b6ddc23442f6a83d6b16d1c473d1ccf539ba7b.zip
mate-extra/caja-extensions: add 1.28.0
Signed-off-by: Ian Jordan <immoloism@gmail.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'mate-extra')
-rw-r--r--mate-extra/caja-extensions/Manifest1
-rw-r--r--mate-extra/caja-extensions/caja-extensions-1.28.0.ebuild78
2 files changed, 79 insertions, 0 deletions
diff --git a/mate-extra/caja-extensions/Manifest b/mate-extra/caja-extensions/Manifest
index 225fe20b6483..cf42c9e1e3dd 100644
--- a/mate-extra/caja-extensions/Manifest
+++ b/mate-extra/caja-extensions/Manifest
@@ -1 +1,2 @@
DIST caja-extensions-1.26.1.tar.xz 573240 BLAKE2B 5446026266fda5ee6aa204d3dfee0f1cd7314ce1aae799980309969911b0a9750b6abd04da21cac72e88c289ef0d2d66d5a7d87f727258581999d84539fbe3bd SHA512 0b4df2b141f1a5b2e06b9c426f9605b900e9ed61c8725930165465265938740725f3e49f27788cb41728ab6d559245fc1ce6e44ef97b229d1456b191892c1ef0
+DIST caja-extensions-1.28.0.tar.xz 614056 BLAKE2B cb021e1c45a94db46b0734c676e325a8124a4dcedd8980f90ff5003a447b10aa558e9f3ab13bd8f5339230576318079447e4ddd43ccd4c7116eca709fe08e710 SHA512 0be8e31efa766ebf6a5dd1bacaac7f95fb6d30681e897f57a280d5537b4e9560f3c852087723388d200f602c9a1e685dea3afe5738289046a23f40bca9765142
diff --git a/mate-extra/caja-extensions/caja-extensions-1.28.0.ebuild b/mate-extra/caja-extensions/caja-extensions-1.28.0.ebuild
new file mode 100644
index 000000000000..b369ed12f62d
--- /dev/null
+++ b/mate-extra/caja-extensions/caja-extensions-1.28.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MATE_LA_PUNT="yes"
+
+inherit mate
+
+MINOR=$(($(ver_cut 2) % 2))
+if [[ ${MINOR} -eq 0 ]]; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
+fi
+
+DESCRIPTION="Several Caja extensions"
+LICENSE="GPL-2+"
+SLOT="0"
+
+SENDTO="cdr gajim +mail pidgin upnp"
+IUSE="image-converter nls +open-terminal share +wallpaper xattr media ${SENDTO}"
+
+COMMON_DEPEND=">=dev-libs/glib-2.50:2
+ >=mate-base/caja-1.21.3
+ x11-libs/gdk-pixbuf:2
+ >=x11-libs/gtk+-3.22:3
+ gajim? (
+ >=dev-libs/dbus-glib-0.60
+ >=sys-apps/dbus-1
+ )
+ open-terminal? ( >=mate-base/mate-desktop-1.17.0 )
+ pidgin? ( >=dev-libs/dbus-glib-0.60 )
+ upnp? ( >=net-libs/gupnp-0.13:0= )
+ xattr? ( sys-apps/attr )
+"
+
+RDEPEND="${COMMON_DEPEND}
+ mate-base/mate-desktop
+ cdr? ( >=app-cdr/brasero-2.32.1:= )
+ gajim? ( net-im/gajim )
+ image-converter? (
+ || (
+ media-gfx/imagemagick
+ media-gfx/graphicsmagick[imagemagick]
+ )
+ )
+ media? ( media-video/totem )
+ pidgin? ( net-im/pidgin )
+"
+
+BDEPEND="${COMMON_DEPEND}
+ dev-libs/libxml2
+ dev-util/gtk-doc
+ dev-build/gtk-doc-am
+ >=sys-devel/gettext-0.19.8
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local sendto_plugins="removable-devices"
+ use cdr && sendto_plugins+=",caja-burn"
+ use mail && sendto_plugins+=",emailclient"
+ use media && sendto_plugins+=",totem"
+ 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}\
+ --disable-gksu \
+ $(use_enable image-converter) \
+ $(use_enable media av) \
+ $(use_enable nls) \
+ $(use_enable open-terminal) \
+ $(use_enable share) \
+ $(use_enable wallpaper) \
+ $(use_enable xattr xattr-tags)
+}