xfce-extra/tumbler: Bump to 0.1.90, modernize to EAPI=6
authorMichał Górny <mgorny@gentoo.org>
Mon, 15 May 2017 18:50:24 +0000 (20:50 +0200)
committerMichał Górny <mgorny@gentoo.org>
Mon, 15 May 2017 19:19:32 +0000 (21:19 +0200)
xfce-extra/tumbler/Manifest
xfce-extra/tumbler/tumbler-0.1.90.ebuild [new file with mode: 0644]

index 26da5e3d146202260e229e0152f60fb26a8250d3..a30a7f6c3802edc16d1aa6a88570f9c4eba9f8a6 100644 (file)
@@ -1 +1,2 @@
 DIST tumbler-0.1.31.tar.bz2 550650 SHA256 d0fd329273ff6ac98885eade4c3d8c87a4dd0816f713646130808bfa90b87173 SHA512 8c5fc914be28b899155a8c3b3fec21c5e74c26569ae1bf6a18ae87c930927828570027d77d3ec0435b8db9449a9ea933da9ae5e00f7fdf13a335c0a25bb14d04 WHIRLPOOL 9d21da3fe29f3f175b95e01aec6d378803d54ab64213f16b0f559e304998905cedc15de7b00a5267dd5ed324568e7a03209432ba200206a9e65d694eccb7f803
+DIST tumbler-0.1.90.tar.bz2 559444 SHA256 1ae8ee8805f9c6574a15efcf325afb905c294366bdb65e9276bb42ac117f68aa SHA512 e1c04b76985facab0e0341c4920b039365f898aec002ec3f2d80272640b5f94b6202fbf3ed8824af0b861c47d3aa8007b74f0c9cb267acd6b0861fd4090963e9 WHIRLPOOL 919a1da021107a218e435061f262380efc81112700eacfd1b5acc3d76d547746179a9b941a55052582e311f473d59c17d1370dc485008b2b5f1cd74d7a15c9ae
diff --git a/xfce-extra/tumbler/tumbler-0.1.90.ebuild b/xfce-extra/tumbler/tumbler-0.1.90.ebuild
new file mode 100644 (file)
index 0000000..f2c0aa5
--- /dev/null
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A thumbnail service for Thunar"
+HOMEPAGE="https://docs.xfce.org/xfce/thunar/start"
+SRC_URI="mirror://xfce/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="curl ffmpeg gstreamer jpeg odf pdf raw"
+
+COMMON_DEPEND=">=dev-libs/glib-2.26:2=
+       media-libs/freetype:2=
+       media-libs/libpng:0=
+       >=sys-apps/dbus-1.6:=
+       >=x11-libs/gdk-pixbuf-2.14:2=
+       curl? ( >=net-misc/curl-7.25:= )
+       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="${COMMON_DEPEND}
+       >=xfce-base/thunar-1.4
+       gstreamer? ( media-plugins/gst-plugins-meta:1.0 )"
+DEPEND="${COMMON_DEPEND}
+       dev-util/gtk-doc-am
+       dev-util/intltool
+       sys-devel/gettext
+       virtual/pkgconfig"
+
+src_configure() {
+       local myconf=(
+               $(use_enable curl cover-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
+}