summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-01-01 21:24:47 +0100
committerMichał Górny <mgorny@gentoo.org>2022-01-01 21:39:16 +0100
commit9835df63c54ce81be6d9637f2fe962d21d30d94e (patch)
treef7aa62149533a9c9c75bdcba0764aae93089c003 /xfce-extra
parentdev-lang/jerryscript: PYTHON_COMPAT+=(python3_10) (diff)
downloadgentoo-9835df63c54ce81be6d9637f2fe962d21d30d94e.tar.gz
gentoo-9835df63c54ce81be6d9637f2fe962d21d30d94e.tar.bz2
gentoo-9835df63c54ce81be6d9637f2fe962d21d30d94e.zip
xfce-extra/tumbler: Bump to 4.17.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'xfce-extra')
-rw-r--r--xfce-extra/tumbler/Manifest1
-rw-r--r--xfce-extra/tumbler/tumbler-4.17.0.ebuild70
2 files changed, 71 insertions, 0 deletions
diff --git a/xfce-extra/tumbler/Manifest b/xfce-extra/tumbler/Manifest
index 0d050acb1bff..13522ca5d799 100644
--- a/xfce-extra/tumbler/Manifest
+++ b/xfce-extra/tumbler/Manifest
@@ -1 +1,2 @@
DIST tumbler-4.16.0.tar.bz2 607640 BLAKE2B 9958c70f5e8b09e3a23e54cb0ce5a66416fe7459455dd145196daad24c2db0cea77ef4a4c7a8809a150f8dc6161e7e4825bf2ca48a5348fe702cec5e09a93706 SHA512 86b30a1b3a8b668bfd6cecb39bbfc642793d63055b0f3dc32e4e275082d086a9c011a98511938b7489099f35458613b3df24224ff48e4940f42ff552a14fa9d2
+DIST tumbler-4.17.0.tar.bz2 601193 BLAKE2B d113cf60993ba5b2b20ad7400bd198514792ca2ff2b94e92b037e26392dfb52a772eb43fda60aa54727746cdb6df280b4ae37a53c173731c93dc3c84528c6a3a SHA512 5d1bfe3f11b2d719d91c42e6ce068802c5b8e797d86a71e43d134224d14028a731c01b509f9e10ddd4c9713e760f413530c878252a4cf7a838df7440b8012b63
diff --git a/xfce-extra/tumbler/tumbler-4.17.0.ebuild b/xfce-extra/tumbler/tumbler-4.17.0.ebuild
new file mode 100644
index 000000000000..e5d06a6c9bb2
--- /dev/null
+++ b/xfce-extra/tumbler/tumbler-4.17.0.ebuild
@@ -0,0 +1,70 @@
+# 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/thunar/start"
+SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="curl epub ffmpeg gstreamer jpeg odf pdf raw"
+
+DEPEND=">=dev-libs/glib-2.56:2
+ media-libs/freetype:2=
+ media-libs/libpng:0=
+ >=sys-apps/dbus-1.6
+ >=xfce-base/libxfce4util-4.17.1:=
+ >=x11-libs/gdk-pixbuf-2.36.2:2
+ 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? ( virtual/jpeg: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/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
+}