summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-12-15 15:36:09 +0100
committerMichał Górny <mgorny@gentoo.org>2022-12-15 16:03:53 +0100
commit6b9aef439ddd002c0c6f7d423a75f1e3d2eafd0a (patch)
tree3ba3c3fcadcef9fdf4822eacc41e0278ce7b07ca /xfce-base
parentxfce-base/tumbler: Remove old (diff)
downloadgentoo-6b9aef439ddd002c0c6f7d423a75f1e3d2eafd0a.tar.gz
gentoo-6b9aef439ddd002c0c6f7d423a75f1e3d2eafd0a.tar.bz2
gentoo-6b9aef439ddd002c0c6f7d423a75f1e3d2eafd0a.zip
xfce-base/tumbler: Bump to 4.18.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'xfce-base')
-rw-r--r--xfce-base/tumbler/Manifest1
-rw-r--r--xfce-base/tumbler/tumbler-4.18.0.ebuild78
2 files changed, 79 insertions, 0 deletions
diff --git a/xfce-base/tumbler/Manifest b/xfce-base/tumbler/Manifest
index 552161056ff8..f05cac4db4eb 100644
--- a/xfce-base/tumbler/Manifest
+++ b/xfce-base/tumbler/Manifest
@@ -1,2 +1,3 @@
DIST tumbler-4.16.1.tar.bz2 593122 BLAKE2B b07bc8c0a23bea12f4777e72ae407b087550447dcd8c7da36393d070291e79db07f61c604f50675be881f4c1ab53fde007ff35700f902912ef4e558f360c4949 SHA512 483ed34d41349641ad9116655d1efbaa01352316f8ff4780903fd3f21aacea7c42bc80d7710e7ba0c2b9a79d0f971ce7210a03d5acb6c8b6b0750316665a8154
DIST tumbler-4.17.3.tar.bz2 609521 BLAKE2B 294adfb4e7179362d5d72aac2021c2eabf762692f8b5ea26e74c4b9be4b8deebbfbf55d83208b203532887ad7ff7c12f9627e67fdeaa7f023be33b5f28294822 SHA512 eb9c3c0ec76b2ca2e32bbd3576d18a64cebb52b84274d3574ef2ec5e71851c43c24abe3b1a740a6bcaa9eb7271a1a1d11e3964e80b5d92ec368a4ede0ec339bd
+DIST tumbler-4.18.0.tar.bz2 609664 BLAKE2B f18c8786b0dee452526b1fda34c6a1d442655d8c252cb68cb1593c121fb2daaee520cc7958936e6ba0492b2eddacb7722fde937092bdde91ca34d4ca3ab42667 SHA512 60f0621ab1a7a00909ea04181c7dfb733dfbb33219991b2f81f991c289428e026993639ee1ffa5b46dd6f35866e0a3ad76fadbd11eec5fa926fba0da2278b99f
diff --git a/xfce-base/tumbler/tumbler-4.18.0.ebuild b/xfce-base/tumbler/tumbler-4.18.0.ebuild
new file mode 100644
index 000000000000..3d460ace3b01
--- /dev/null
+++ b/xfce-base/tumbler/tumbler-4.18.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit xdg-utils
+
+DESCRIPTION="A thumbnail service for Thunar"
+HOMEPAGE="
+ https://docs.xfce.org/xfce/tumbler/start
+ https://gitlab.xfce.org/xfce/tumbler/
+"
+SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="curl epub ffmpeg gstreamer jpeg odf pdf raw"
+
+DEPEND="
+ >=dev-libs/glib-2.66.0
+ media-libs/freetype:2=
+ media-libs/libpng:0=
+ >=sys-apps/dbus-1.6
+ >=xfce-base/libxfce4util-4.17.1:=
+ >=x11-libs/gdk-pixbuf-2.40.0
+ curl? ( >=net-misc/curl-7.25:= )
+ epub? ( app-text/libgepub )
+ ffmpeg? ( >=media-video/ffmpegthumbnailer-2.0.8:= )
+ gstreamer? (
+ media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0
+ )
+ jpeg? ( media-libs/libjpeg-turbo:0= )
+ odf? ( >=gnome-extra/libgsf-1.14.20:= )
+ pdf? ( >=app-text/poppler-0.12.4[cairo] )
+ raw? ( >=media-libs/libopenraw-0.0.8:=[gtk] )
+"
+RDEPEND="
+ ${DEPEND}
+ gstreamer? ( media-plugins/gst-plugins-meta:1.0 )
+"
+BDEPEND="
+ dev-util/gdbus-codegen
+ dev-util/glib-utils
+ dev-util/gtk-doc-am
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local myconf=(
+ $(use_enable curl cover-thumbnailer)
+ $(use_enable epub gepub-thumbnailer)
+ $(use_enable jpeg jpeg-thumbnailer)
+ $(use_enable ffmpeg ffmpeg-thumbnailer)
+ $(use_enable gstreamer gstreamer-thumbnailer)
+ $(use_enable odf odf-thumbnailer)
+ $(use_enable pdf poppler-thumbnailer)
+ $(use_enable raw raw-thumbnailer)
+ )
+
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}