diff --git a/media-video/showtime/Manifest b/media-video/showtime/Manifest new file mode 100644 index 0000000000..76f89486d4 --- /dev/null +++ b/media-video/showtime/Manifest @@ -0,0 +1 @@ +DIST showtime-50.0.tar.xz 2943396 BLAKE2B 51b66a437a6ebf9e430dccddf97d3020c546ea1d2f9c1753f25b2e15031099e85e3a64066317cfef11dcf186a7347ea5de3168016e5357063ce34c71fb8c4274 SHA512 d532bc97d33aff9fb691349d28214fa58d5e2f20a991653e175da6035e3c662b10ee2076916cd55c3a4c51dafaaea9a85202ed27a70e46e8f66551801cabf652 diff --git a/media-video/showtime/metadata.xml b/media-video/showtime/metadata.xml new file mode 100644 index 0000000000..b047cacefd --- /dev/null +++ b/media-video/showtime/metadata.xml @@ -0,0 +1,11 @@ + + + + + bjorn.megaflow@gmail.com + Björn + + + GNOME/showtime + + diff --git a/media-video/showtime/showtime-50.0.ebuild b/media-video/showtime/showtime-50.0.ebuild new file mode 100644 index 0000000000..8785b05539 --- /dev/null +++ b/media-video/showtime/showtime-50.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..15} ) +PYTHON_REQ_USE="threads(+)" + +inherit gnome.org gnome2-utils meson xdg python-single-r1 + +DESCRIPTION="Video player for GNOME" +HOMEPAGE="https://apps.gnome.org/Showtime/" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" + +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} +" + +DEPEND="${PYTHON_DEPS} + >=gui-libs/gtk-4.18.0 + >=dev-libs/gobject-introspection-1.54:= + >=dev-util/blueprint-compiler-0.17.0 + >=media-plugins/gst-plugin-gtk4-0.13.4:1.0 + >=dev-python/pygobject-2.90.3:3 +" + +RDEPEND="${DEPEND} + >=media-plugins/gst-plugins-gtk-1.21.1:1.0 + >=media-plugins/gst-plugins-meta-1.21.1:1.0 + >=media-plugins/gst-plugins-taglib-1.21.1:1.0 + >=gui-libs/libadwaita-1.7.7:1 + x11-themes/adwaita-icon-theme +" + +BDEPEND=" + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_prepare() { + default + xdg_environment_reset +} + +src_configure() { + local emesonargs=( + -Dprofile=release + ) + meson_src_configure +} + +src_install() { + meson_src_install + python_fix_shebang "${BUILD_DIR}/showtime" + python_optimize +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +}