Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/pitivi/
Date: Sun, 31 Mar 2019 12:12:50
Message-Id: 1554034358.b874d10de59038a33977c32bd0ca706af86777cc.pacho@gentoo
1 commit: b874d10de59038a33977c32bd0ca706af86777cc
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 31 11:25:01 2019 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 31 12:12:38 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b874d10d
7
8 media-video/pitivi: Bump to 0.999 version
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 media-video/pitivi/Manifest | 1 +
14 media-video/pitivi/pitivi-0.999.ebuild | 96 ++++++++++++++++++++++++++++++++++
15 2 files changed, 97 insertions(+)
16
17 diff --git a/media-video/pitivi/Manifest b/media-video/pitivi/Manifest
18 index 79e9ce92a7d..c5e225a9052 100644
19 --- a/media-video/pitivi/Manifest
20 +++ b/media-video/pitivi/Manifest
21 @@ -1,2 +1,3 @@
22 DIST pitivi-0.97.1.tar.xz 5096672 BLAKE2B 010b7ef80e0b57f83fe4e7d201a2839f65e2c8b62019d4271cd0d6d49edb44a5083024abdf13e735f94d7e681a77ef45e1d876cf6e5c20e6cc1b1876da5b3a99 SHA512 be5fcf5148349f685f0ee23a82b36d90fe0b7ff6d1d8cdcaf73272b8e5c29ddfe1d6c21353eb95f2d786fe4922a93c747403e5e27141d815f5b46f846a1d95ba
23 DIST pitivi-0.98.1.tar.xz 5112280 BLAKE2B 9269163a5c964a6a2b3fd094262594a38bfff4dd052ea0f3673f2ac195f197eb9b888de673e62f884137d056fba2b853d11cf7300e2f81d71c6e49402350cc40 SHA512 b6530b1b5429c4379699d7492c31ec60ddc514c94a003fe240f7e390b6349093d2f4f72abb1edb4253bd938620c73dfb361abf21915d36ff3b75332e8612bcb3
24 +DIST pitivi-0.999.tar.xz 12296928 BLAKE2B 16736fef4f2d16c02b64f8eba56f8c9ddb26f49742ee577da4e4c47077f8d5d71ce653dba366a041ba523153532728c5eb37cb2b76e11e9c51827efb990bd99d SHA512 663db84a00634f0e83f0c1dd80a4f3a6603a50826905adb24fdd567c6e8bb58e20de04c7753fa04a36692cdcf5bbbcc9a87327fd3b56ebb70caffcff13835fc8
25
26 diff --git a/media-video/pitivi/pitivi-0.999.ebuild b/media-video/pitivi/pitivi-0.999.ebuild
27 new file mode 100644
28 index 00000000000..5336afcf018
29 --- /dev/null
30 +++ b/media-video/pitivi/pitivi-0.999.ebuild
31 @@ -0,0 +1,96 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +PYTHON_COMPAT=( python{3_5,3_6} )
37 +PYTHON_REQ_USE="sqlite"
38 +
39 +inherit gnome.org meson python-single-r1 virtualx
40 +
41 +DESCRIPTION="A non-linear video editor using the GStreamer multimedia framework"
42 +HOMEPAGE="http://www.pitivi.org"
43 +
44 +LICENSE="LGPL-2.1"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +
48 +IUSE="v4l test"
49 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
50 +
51 +# XXX: recommends gst-plugins-libav and frei0r-plugins
52 +
53 +# Do not forget to check pitivi/check.py for dependencies!!!
54 +# pycanberra, libav, libnotify and liwnck are optional
55 +GST_VER="1.14.2"
56 +
57 +COMMON_DEPEND="
58 + ${PYTHON_DEPS}
59 + >=dev-python/pycairo-1.10[${PYTHON_USEDEP}]
60 + >=x11-libs/cairo-1.10
61 +
62 + >=media-libs/gstreamer-${GST_VER}:1.0[introspection]
63 + >=media-plugins/gst-transcoder-1.8.2-r1
64 +"
65 +RDEPEND="${COMMON_DEPEND}
66 + >=dev-libs/glib-2.30.0:2
67 +
68 + >=dev-libs/gobject-introspection-1.34:=
69 + dev-python/dbus-python[${PYTHON_USEDEP}]
70 + >=dev-python/gst-python-1.4:1.0[${PYTHON_USEDEP}]
71 + dev-python/matplotlib[${PYTHON_USEDEP}]
72 + dev-python/numpy[${PYTHON_USEDEP}]
73 + >=dev-python/pygobject-3.8:3[${PYTHON_USEDEP}]
74 +
75 + gnome-base/librsvg:=
76 + >=media-libs/gsound-1.0
77 +
78 + >=media-libs/gstreamer-editing-services-${GST_VER}:1.0[introspection]
79 + >=media-libs/gst-plugins-base-${GST_VER}:1.0[introspection]
80 + >=media-libs/gst-plugins-bad-${GST_VER}:1.0[gtk]
81 + >=media-libs/gst-plugins-good-${GST_VER}:1.0
82 + >=media-plugins/gst-plugins-libav-${GST_VER}:1.0
83 + >=media-plugins/gst-plugins-gdkpixbuf-${GST_VER}:1.0
84 +
85 + >=x11-libs/libnotify-0.7[introspection]
86 + x11-libs/libwnck:3[introspection]
87 + >=x11-libs/gtk+-3.20.0:3[introspection]
88 +
89 + v4l? ( >=media-plugins/gst-plugins-v4l2-${GST_VER}:1.0 )
90 +"
91 +DEPEND="${RDEPEND}"
92 +BDEPEND="
93 + app-text/yelp-tools
94 + dev-python/setuptools
95 + >=dev-util/intltool-0.35.5
96 + dev-util/itstool
97 + sys-devel/gettext
98 + virtual/pkgconfig
99 + test? ( dev-python/nose2[${PYTHON_USEDEP}] )
100 +"
101 +
102 +PATCHES=(
103 + # Make tests optional, bug #594096
104 + # https://gitlab.gnome.org/GNOME/pitivi/issues/2303
105 + "${FILESDIR}"/${P}-optional-tests.patch
106 +)
107 +
108 +src_configure() {
109 + local emesonargs=(
110 + -Denable-tests=$(usex test true false)
111 + )
112 + meson_src_configure
113 +}
114 +
115 +src_compile() {
116 + meson_src_compile
117 +}
118 +
119 +src_test() {
120 + export PITIVI_TOP_LEVEL_DIR="${S}"
121 + virtx meson_src_test
122 +}
123 +
124 +src_install() {
125 + meson_src_install
126 + python_fix_shebang "${D}"
127 +}