summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-12-01 06:33:39 +0100
committerMichał Górny <mgorny@gentoo.org>2023-12-01 06:38:20 +0100
commit2f3bec11278a6de77f5431c154c9e3e447806646 (patch)
tree7e04a9458d8d28ed628330e716bf0af8f16eed31 /media-video/parole
parentdev-python/rpds-py: Remove old (diff)
downloadgentoo-2f3bec11278a6de77f5431c154c9e3e447806646.tar.gz
gentoo-2f3bec11278a6de77f5431c154c9e3e447806646.tar.bz2
gentoo-2f3bec11278a6de77f5431c154c9e3e447806646.zip
media-video/parole: Bump to 4.18.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-video/parole')
-rw-r--r--media-video/parole/Manifest1
-rw-r--r--media-video/parole/parole-4.18.1.ebuild76
2 files changed, 77 insertions, 0 deletions
diff --git a/media-video/parole/Manifest b/media-video/parole/Manifest
index b5c5057ff55c..d2e9b7197ac8 100644
--- a/media-video/parole/Manifest
+++ b/media-video/parole/Manifest
@@ -1 +1,2 @@
DIST parole-4.18.0.tar.bz2 932686 BLAKE2B 49bbc93d1172daf29e73d5eacedfae2fb11f14684232e2c6cbcc84fcddfa65bcece6ef41c68fb58a0046e1a60280ff92e0890e5302f9e0751c1afce825bee7f3 SHA512 2988c8b6f9f0beab646a90116ee83f19d6e6689ea4d037ea643aa26d5716f7c452fa96ee1d4c6d01ee6c421b06cb5405f7256cfdb525ce1016c12f0a78cddb80
+DIST parole-4.18.1.tar.bz2 934059 BLAKE2B db5b6345bcf8eae47668bfd504106b8f44bb272a7d9e88fb53824a4141c88a45f4fdcb6df5a5513ebba82ffda9438be91ffe060d1cc19f0ab56887dc3ff606e1 SHA512 ec2b8036f2be594dc13c37aca76b7250ec1792c7166501e9a2775efb731e87cf6894196243e68026437e2bbd4a9edf1aa9cfa076886e333e2ecf4523f8f1d647
diff --git a/media-video/parole/parole-4.18.1.ebuild b/media-video/parole/parole-4.18.1.ebuild
new file mode 100644
index 000000000000..82f6f2b68574
--- /dev/null
+++ b/media-video/parole/parole-4.18.1.ebuild
@@ -0,0 +1,76 @@
+# 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 wayland X"
+
+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[wayland?,X?]
+ >=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= )
+ X? (
+ >=x11-libs/libX11-1.6.7
+ )
+"
+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)
+ $(use_enable wayland)
+ $(use_enable X x11)
+ )
+
+ 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
+}