From b3efa10e8c0a46072dea1b431f410a6d269e845f Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 23 Dec 2022 10:53:16 +0100 Subject: media-gfx/entangle: Add := to libraw dep MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- media-gfx/entangle/entangle-3.0-r1.ebuild | 76 +++++++++++++++++++++++++++++++ media-gfx/entangle/entangle-3.0.ebuild | 76 ------------------------------- 2 files changed, 76 insertions(+), 76 deletions(-) create mode 100644 media-gfx/entangle/entangle-3.0-r1.ebuild delete mode 100644 media-gfx/entangle/entangle-3.0.ebuild (limited to 'media-gfx/entangle') diff --git a/media-gfx/entangle/entangle-3.0-r1.ebuild b/media-gfx/entangle/entangle-3.0-r1.ebuild new file mode 100644 index 000000000000..1496fba1154a --- /dev/null +++ b/media-gfx/entangle/entangle-3.0-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit gnome2-utils meson python-single-r1 xdg-utils + +DESCRIPTION="Tethered Camera Control & Capture" +HOMEPAGE="https://entangle-photo.org/" +SRC_URI="https://entangle-photo.org/download/sources/${P}.tar.xz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +DEPEND=" + ${PYTHON_DEPS} + >=dev-libs/glib-2.36:2 + >=dev-libs/gobject-introspection-1.54.0 + dev-libs/libgudev:= + >=dev-libs/libpeas-1.2.0[gtk,${PYTHON_SINGLE_USEDEP}] + >=media-libs/gexiv2-0.10[introspection] + >=media-libs/libgphoto2-2.5.0:= + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + media-libs/lcms:2 + >=media-libs/libraw-0.9.0:= + >=x11-libs/gdk-pixbuf-2.12.0:2 + >=x11-libs/gtk+-3.22:3[introspection] + >=x11-libs/libXext-1.3.0 + >=x11-libs/pango-1.40.11 + x11-themes/adwaita-icon-theme +" +RDEPEND=" + ${DEPEND} +" + +# perl for pod2man +BDEPEND=" + app-text/yelp-tools + dev-lang/perl + dev-util/glib-utils + dev-util/gtk-doc + dev-util/itstool + sys-devel/gettext + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${P}-fix-meson-0.61-build.patch +) + +src_compile() { + # prevent gst from loading system plugins which causes + # sandbox violations on device access + local -x GST_PLUGIN_SYSTEM_PATH_1_0= + # pre-generate enums to resolve race conditions + # https://bugs.gentoo.org/709740 + meson_src_compile \ + src/backend/entangle-{camera,colour-profile}-enums.h \ + src/frontend/entangle-image-display-enums.h + meson_src_compile +} + +pkg_postinst() { + xdg_icon_cache_update + gnome2_schemas_update +} + +pkg_postrm() { + xdg_icon_cache_update + gnome2_schemas_update +} diff --git a/media-gfx/entangle/entangle-3.0.ebuild b/media-gfx/entangle/entangle-3.0.ebuild deleted file mode 100644 index 0dca334b8484..000000000000 --- a/media-gfx/entangle/entangle-3.0.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..10} ) - -inherit gnome2-utils meson python-single-r1 xdg-utils - -DESCRIPTION="Tethered Camera Control & Capture" -HOMEPAGE="https://entangle-photo.org/" -SRC_URI="https://entangle-photo.org/download/sources/${P}.tar.xz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64" -REQUIRED_USE=${PYTHON_REQUIRED_USE} - -DEPEND=" - ${PYTHON_DEPS} - >=dev-libs/glib-2.36:2 - >=dev-libs/gobject-introspection-1.54.0 - dev-libs/libgudev:= - >=dev-libs/libpeas-1.2.0[gtk,${PYTHON_SINGLE_USEDEP}] - >=media-libs/gexiv2-0.10[introspection] - >=media-libs/libgphoto2-2.5.0:= - media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0 - media-libs/lcms:2 - >=media-libs/libraw-0.9.0 - >=x11-libs/gdk-pixbuf-2.12.0:2 - >=x11-libs/gtk+-3.22:3[introspection] - >=x11-libs/libXext-1.3.0 - >=x11-libs/pango-1.40.11 - x11-themes/adwaita-icon-theme -" -RDEPEND=" - ${DEPEND} -" - -# perl for pod2man -BDEPEND=" - app-text/yelp-tools - dev-lang/perl - dev-util/glib-utils - dev-util/gtk-doc - dev-util/itstool - sys-devel/gettext - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}"/${P}-fix-meson-0.61-build.patch -) - -src_compile() { - # prevent gst from loading system plugins which causes - # sandbox violations on device access - local -x GST_PLUGIN_SYSTEM_PATH_1_0= - # pre-generate enums to resolve race conditions - # https://bugs.gentoo.org/709740 - meson_src_compile \ - src/backend/entangle-{camera,colour-profile}-enums.h \ - src/frontend/entangle-image-display-enums.h - meson_src_compile -} - -pkg_postinst() { - xdg_icon_cache_update - gnome2_schemas_update -} - -pkg_postrm() { - xdg_icon_cache_update - gnome2_schemas_update -} -- cgit v1.2.3-65-gdbad