diff options
author | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2020-05-05 21:48:37 +0100 |
---|---|---|
committer | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2020-05-05 21:48:37 +0100 |
commit | b9b92ed439e8a4ad3662dad433e6fef603acb5ca (patch) | |
tree | a074b5a2dfec3548fa6465a2575e597b8faa98d3 | |
parent | Update cartao-cidadao-git with latest version and cleanup old version files (diff) | |
download | ssnb-b9b92ed4.tar.gz ssnb-b9b92ed4.tar.bz2 ssnb-b9b92ed4.zip |
Update pitivi
Signed-off-by: Samuel Bernardo <samuelbernardo.mail@gmail.com>
-rw-r--r-- | media-video/pitivi/Manifest | 3 | ||||
-rw-r--r-- | media-video/pitivi/files/pitivi-0.999-optional-tests.patch | 18 | ||||
-rw-r--r-- | media-video/pitivi/pitivi-0.999-r3.ebuild | 111 |
3 files changed, 132 insertions, 0 deletions
diff --git a/media-video/pitivi/Manifest b/media-video/pitivi/Manifest index f6a211a..e0fe1d1 100644 --- a/media-video/pitivi/Manifest +++ b/media-video/pitivi/Manifest @@ -1,5 +1,8 @@ AUX pitivi-0.98.1-fix-pycairo.patch 335 BLAKE2B f8ff9d8dbe38cb0678d364084726eadcb56261e80b32e4d200655bb7550fa0a274acdb4e34c5534035535392c08b9f6f6d0833be8ee5499b199698cffbc116e2 SHA512 052076bfd47171567c79ad309e9ad44f9672834d00823b905c1ae0a03c24921fd33669bb33f77b7351e57f9501ce07508f4ea5ca79fba97a2f236c7b63da6048 AUX pitivi-0.98.1-optional-tests.patch 742 BLAKE2B c85f9002504f9314ae4a251d3ecbb8c2e4e70cb217e9328465015f2c3e06436d50a327c91cd5b686a2a765ceb46ec7fc0dfab998bfa96d985cf4855a4cd14919 SHA512 fce5ae7ac4fdd4c340b233529564e20da1dd965261cc2c79d3368ef83ac23931cdee6b492e59a628beaaa25362b81a604ec5bd7bb6270bdb72c15dabb83feac2 +AUX pitivi-0.999-optional-tests.patch 638 BLAKE2B 7d43b76384250b091908369ed274d93d3dde9365df1a6fb31d30bcb35c824cd9dfae8802346ee3019625a83cf4fcf9a249cecae9f670594b1d7f9b73c42f4efd SHA512 d564ab01b702bf30486c3fa947fa62ef9021b00816f3d2759ace16590e3b4ea3d6423ef4f41acc78bf857c2d54a4402fd8da8a4a14762067b26f25396a216e1f DIST pitivi-0.98.1.tar.xz 5112280 BLAKE2B 9269163a5c964a6a2b3fd094262594a38bfff4dd052ea0f3673f2ac195f197eb9b888de673e62f884137d056fba2b853d11cf7300e2f81d71c6e49402350cc40 SHA512 b6530b1b5429c4379699d7492c31ec60ddc514c94a003fe240f7e390b6349093d2f4f72abb1edb4253bd938620c73dfb361abf21915d36ff3b75332e8612bcb3 +DIST pitivi-0.999.tar.xz 12296928 BLAKE2B 16736fef4f2d16c02b64f8eba56f8c9ddb26f49742ee577da4e4c47077f8d5d71ce653dba366a041ba523153532728c5eb37cb2b76e11e9c51827efb990bd99d SHA512 663db84a00634f0e83f0c1dd80a4f3a6603a50826905adb24fdd567c6e8bb58e20de04c7753fa04a36692cdcf5bbbcc9a87327fd3b56ebb70caffcff13835fc8 EBUILD pitivi-0.98.1-r1.ebuild 2669 BLAKE2B b3f854034541893628a5a8040c6a1c0c430ae1f8dc37f6a042392499421ca2cce29ae3abd883d511ffb8700ec9fe3829b3c6d04965b0ca44dcbe15cd2cba5f08 SHA512 525ef33f64a0bc06efc5857c4d1bd5695ac873a090da95cb1a3ee5532acc3aa8f5781d75c687b33df02f4f1e0ef8c1ca2a2dae349ae92b36152f6a18a70d57f6 +EBUILD pitivi-0.999-r3.ebuild 2647 BLAKE2B 410725ba846886bba94e0f5c8e023c17410dff30bb306ae9b870cb3bfa76fb08be2fca6f0a8580a4b17a7546467704b5f831f795f971a950b965a9ebeb283ce6 SHA512 3a6e96f0c0ab3f0374373d0fe77effd90e19d553bd9d08052dd31f9e16cee48abb3fbd29c12420078aa9cbb8b56f158a77ce7161393f793bcf17d531dc977eaa MISC metadata.xml 379 BLAKE2B a4f21a8cd6e5f4b09d1a89e426610108ab92ba52ef432d1780d100e76e43dda198cee09f105aec83994d4d1fa701be6c33a5981253b6c38b8ec888da08b5975a SHA512 30023299fba3c7c3743e24223d36366e7b59b01540a874ff432b8431ab29b240fdcd4ac4066b228af5421b009cfe4f67fdb69f7d1030c0fa409a4d545ffd43d1 diff --git a/media-video/pitivi/files/pitivi-0.999-optional-tests.patch b/media-video/pitivi/files/pitivi-0.999-optional-tests.patch new file mode 100644 index 0000000..50a6218 --- /dev/null +++ b/media-video/pitivi/files/pitivi-0.999-optional-tests.patch @@ -0,0 +1,18 @@ +--- a/meson_options.txt~ 2018-08-29 15:33:20.000000000 +0200 ++++ b/meson_options.txt 2019-03-31 13:14:19.542837289 +0200 +@@ -1,2 +1,3 @@ + option('disable-help', type : 'boolean', value : false) + option('build-gst', type : 'boolean', value : false) ++option('enable-tests', type : 'boolean', value : false) +--- a/meson.build~ 2018-08-29 15:33:20.000000000 +0200 ++++ b/meson.build 2019-03-31 13:14:56.299216758 +0200 +@@ -84,5 +84,7 @@ + if not get_option('disable-help') + subdir('help') + endif +-subdir('tests') +-subdir('tests/validate-tests') ++if get_option('enable-tests') ++ subdir('tests') ++ subdir('tests/validate-tests') ++endif diff --git a/media-video/pitivi/pitivi-0.999-r3.ebuild b/media-video/pitivi/pitivi-0.999-r3.ebuild new file mode 100644 index 0000000..9484511 --- /dev/null +++ b/media-video/pitivi/pitivi-0.999-r3.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_6 ) +PYTHON_REQ_USE="sqlite" + +inherit gnome.org meson python-single-r1 virtualx xdg + +DESCRIPTION="A non-linear video editor using the GStreamer multimedia framework" +HOMEPAGE="http://www.pitivi.org" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 x86" + +IUSE="v4l test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# XXX: recommends gst-plugins-libav and frei0r-plugins + +# Do not forget to check pitivi/check.py for dependencies!!! +# pycanberra, libav, libnotify and liwnck are optional +GST_VER="1.14.2" + +COMMON_DEPEND=" + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + >=dev-python/pycairo-1.10[${PYTHON_MULTI_USEDEP}] + ') + >=x11-libs/cairo-1.10 + + >=media-libs/gstreamer-${GST_VER}:1.0[introspection] + >=media-plugins/gst-transcoder-1.8.2-r1 +" +RDEPEND="${COMMON_DEPEND} + >=dev-libs/glib-2.30.0:2 + + >=dev-libs/gobject-introspection-1.34:= + $(python_gen_cond_dep ' + dev-python/dbus-python[${PYTHON_MULTI_USEDEP}] + >=dev-python/gst-python-1.4:1.0[${PYTHON_MULTI_USEDEP}] + dev-python/matplotlib[${PYTHON_MULTI_USEDEP}] + dev-python/numpy[${PYTHON_MULTI_USEDEP}] + >=dev-python/pygobject-3.8:3[${PYTHON_MULTI_USEDEP}] + ') + + gnome-base/librsvg:= + >=media-libs/gsound-1.0 + + >=media-libs/gstreamer-editing-services-${GST_VER}:1.0[introspection] + >=media-libs/gst-plugins-base-${GST_VER}:1.0[introspection] + >=media-libs/gst-plugins-bad-${GST_VER}:1.0 + >=media-plugins/gst-plugins-gtk-${GST_VER}:1.0 + >=media-libs/gst-plugins-good-${GST_VER}:1.0 + >=media-plugins/gst-plugins-libav-${GST_VER}:1.0 + >=media-plugins/gst-plugins-gdkpixbuf-${GST_VER}:1.0 + + >=x11-libs/libnotify-0.7[introspection] + x11-libs/libwnck:3[introspection] + >=x11-libs/gtk+-3.20.0:3[introspection] + + v4l? ( >=media-plugins/gst-plugins-v4l2-${GST_VER}:1.0 ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-text/yelp-tools + dev-python/setuptools + >=dev-util/intltool-0.35.5 + dev-util/itstool + sys-devel/gettext + virtual/pkgconfig + test? ( + $(python_gen_cond_dep ' + dev-python/nose2[${PYTHON_MULTI_USEDEP}] + ') + ) +" + +PATCHES=( + # Make tests optional, bug #594096 + # https://gitlab.gnome.org/GNOME/pitivi/issues/2303 + "${FILESDIR}"/${P}-optional-tests.patch +) + +src_prepare() { + default + sed -e "s|dependency('python3'|dependency('python3-embed'|" -i meson.build +} + +src_configure() { + local emesonargs=( + -Denable-tests=$(usex test true false) + ) + meson_src_configure +} + +src_compile() { + meson_src_compile +} + +src_test() { + export PITIVI_TOP_LEVEL_DIR="${S}" + virtx meson_src_test +} + +src_install() { + meson_src_install + python_fix_shebang "${D}" +} |