summaryrefslogtreecommitdiff
path: root/media-gfx/entangle
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /media-gfx/entangle
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'media-gfx/entangle')
-rw-r--r--media-gfx/entangle/Manifest2
-rw-r--r--media-gfx/entangle/entangle-3.0.ebuild68
2 files changed, 70 insertions, 0 deletions
diff --git a/media-gfx/entangle/Manifest b/media-gfx/entangle/Manifest
index b0aea091105e..c9933a3983c8 100644
--- a/media-gfx/entangle/Manifest
+++ b/media-gfx/entangle/Manifest
@@ -1,3 +1,5 @@
DIST entangle-2.0.tar.xz 501912 BLAKE2B b7e1c393dc95d66bf4389c607c0eb6eb70161ceb2c845135c7c99313a1ec13388c6b00fd6ed7f38ad6f9f18d8c97eba0aadab7964d1be8ec03373e5598374796 SHA512 be8b75c5dd0bdd7cd380f35b5d46d7be9f7caa2be257ce954cf9516ebd5601071ac8b50838f9c40470b6e3e5f95083c3671af68ac43eb345a60d674636a0fe86
+DIST entangle-3.0.tar.xz 518808 BLAKE2B fe2bf4b114bc04fdc56792f984ae7387b70d693fa82f8deaa2023de71a8bba72bc95d4bfc430cdfaf5244e9114b4f7e8bb2e17f3b86de6529037519fa3877899 SHA512 8c6d7e067f88a770c63b76fde2a6ae71894aae95477fcf66b4670697889fdf7939d3f95532626d6f4ca7ae75841d8f247f6bcf78a1ce195b540989f1bfe5ebdd
EBUILD entangle-2.0.ebuild 1609 BLAKE2B 37cf9af5ed3a495629b477c8f41129f51030e362c2c18510c363f6f6e3d878f0d47dcd0a98645e8dd8e79e075b07b171fcf5b12885a502d773c8e1014bc5191f SHA512 9ab26a4e189119a59cf65c3c591c44f6f934782a3a8e25b8e9dde4df2055aa83b2c1b380c6acea60e5ca2e3926aa791bc25aa3ef16ad4c2a04dce92b205793d1
+EBUILD entangle-3.0.ebuild 1634 BLAKE2B 38a0424e06986024877f9ed84ee21eaeb48376cec721679d6d4372a2795d422b2d759129cedc21eb4c86b4bd5481e587b97637a5ccf3bf8f18c1bc97fb3d9f05 SHA512 48f22c44a3d5553e594d61d0786186ff8bd6bc6d6af7bb2bdcb61dbf1058d6e24ec4d7ebbd4c01729a5a22f64bfca5ca69ab60e903e20c385e228c7bc32af435
MISC metadata.xml 446 BLAKE2B 1c466f17b5df47045169784918723e953945eaad2eb5879cde6f099feec4cb419e867f77879927933fe3daec259184a361f464b968b19bdf3463b01b7371589d SHA512 555966a8638a027288abdc7ba6d625c15c18792c3401d399a12dc256ec75f14882fce3e70596a3f3e2ed6729e471af04b14d520b8e2e70206a172f98b9967dae
diff --git a/media-gfx/entangle/entangle-3.0.ebuild b/media-gfx/entangle/entangle-3.0.ebuild
new file mode 100644
index 000000000000..59d37d09fd03
--- /dev/null
+++ b/media-gfx/entangle/entangle-3.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..8} )
+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"
+IUSE=""
+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"
+
+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
+}