commit:     da2ebe98acf7574d402ff99dd5f688e5a6c170de
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 19 03:49:52 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 19 03:49:52 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da2ebe98

media-video/parole: Bump to 4.18.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 media-video/parole/Manifest             |  1 +
 media-video/parole/parole-4.18.0.ebuild | 72 +++++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/media-video/parole/Manifest b/media-video/parole/Manifest
index c864f7f723e5..af85eaf55e24 100644
--- a/media-video/parole/Manifest
+++ b/media-video/parole/Manifest
@@ -1 +1,2 @@
 DIST parole-4.16.0.tar.bz2 924955 BLAKE2B 
7f5c9994e65ce66aa34211047228840e1747cbbaebe0f03d27501d54ef0372e55f294f37869bfaba378e3ab6447e9824798d0c9906549b7c822ce60c54ac81a5
 SHA512 
fe4723ce3e2106935b4577647920d6759ade3311ef92d5633a309aeb930b81974dd8e5f65958a304a117e614341cba032a54d0c81bdd386d592c64ed2aa31124
+DIST parole-4.18.0.tar.bz2 932686 BLAKE2B 
49bbc93d1172daf29e73d5eacedfae2fb11f14684232e2c6cbcc84fcddfa65bcece6ef41c68fb58a0046e1a60280ff92e0890e5302f9e0751c1afce825bee7f3
 SHA512 
2988c8b6f9f0beab646a90116ee83f19d6e6689ea4d037ea643aa26d5716f7c452fa96ee1d4c6d01ee6c421b06cb5405f7256cfdb525ce1016c12f0a78cddb80

diff --git a/media-video/parole/parole-4.18.0.ebuild 
b/media-video/parole/parole-4.18.0.ebuild
new file mode 100644
index 000000000000..56773b4c0515
--- /dev/null
+++ b/media-video/parole/parole-4.18.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit xdg-utils
+
+DESCRIPTION="A simple Xfce4 media player using GStreamer"
+HOMEPAGE="
+       https://docs.xfce.org/apps/parole/start
+       https://gitlab.xfce.org/apps/parole/
+"
+SRC_URI="https://archive.xfce.org/src/apps/${PN}/${PV%.*}/${P}.tar.bz2";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~mips ~x86"
+IUSE="libnotify taglib"
+
+DEPEND="
+       >=dev-libs/dbus-glib-0.100
+       >=dev-libs/glib-2.38:2
+       media-libs/gstreamer:1.0
+       media-libs/gst-plugins-base:1.0
+       sys-apps/dbus
+       >=x11-libs/gtk+-3.20:3
+       x11-libs/libX11
+       >=xfce-base/libxfce4ui-4.11:=[gtk3(+)]
+       >=xfce-base/libxfce4util-4.11:=
+       >=xfce-base/xfconf-4.10:=
+       libnotify? ( >=x11-libs/libnotify-0.7 )
+       taglib? ( >=media-libs/taglib-1.6:0= )
+"
+RDEPEND="
+       ${DEPEND}
+       media-plugins/gst-plugins-meta:1.0
+"
+DEPEND+="
+       x11-base/xorg-proto
+"
+BDEPEND="
+       dev-util/glib-utils
+       dev-util/intltool
+       sys-devel/gettext
+       virtual/pkgconfig
+"
+
+src_configure() {
+       local myconf=(
+               # clutter backend does not work with new GTK+3 versions
+               --disable-clutter
+               $(use_enable taglib)
+               $(use_enable libnotify notify-plugin)
+       )
+
+       econf "${myconf[@]}"
+}
+
+src_install() {
+       default
+       find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}

Reply via email to