Sisyphus repository
Last update: 30 september 2022 | SRPMs: 17695 | Visits: 25051671
en ru br
ALT Linux repos
S:2022.06-alt1
5.0: 0.11.1-alt2
4.1: 0.10.3-alt1.1
4.0: 0.10.0-alt0.3

Group :: Video
RPM: pitivi

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_disable snapshot

%define ver_major 2021
%define api_ver 1.0
%define gst_api_ver 1.0
%define gst_ver 1.18.0
%define gtk_api_ver 3.0
%define gtk_ver 3.24
%define gi_ver 1.32

%define xdg_name org.pitivi.Pitivi

Name: pitivi
Version: %ver_major.05
Release: alt1.1

Summary: PiTiVi allows users to easily edit audio/video projects
License: LGPLv2.1+
Group: Video
Url: http://www.pitivi.org/

%if_disabled snapshot
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.xz
%else
Source: %name-%version.tar
%endif
Patch: %name-2021-05.0-up-meson-0.61.patch

%add_python3_path %_libdir/%name/python

# should be provided by python3-module-gst1.0

%add_python3_req_skip gi.repository.GstPbutils

Requires: typelib(Gtk) = %gtk_api_ver
Requires: python3-module-gst%gst_api_ver >= %gst_ver
Requires: gstreamer-editing-services
Requires: gst-devtools
Requires: gst-libav >= %gst_ver
Requires: gst-plugins-base%gst_api_ver >= %gst_ver
Requires: gst-plugins-good%gst_api_ver >= %gst_ver
Requires: gst-plugins-bad%gst_api_ver >= %gst_ver
Requires: gst-plugins-ugly%gst_api_ver >= %gst_ver
Requires: python3-module-canberra

BuildRequires(pre): meson rpm-build-python3 rpm-build-gir
BuildRequires: desktop-file-utils gtk-doc python3-module-nose2
BuildRequires: yelp-tools libappstream-glib-devel libcairo-devel
BuildRequires: python3-devel python3-module-pygobject3-devel
BuildRequires: python3-module-pycairo-devel
BuildRequires: gst-plugins%gst_api_ver-devel gst-plugins-bad%gst_api_ver-devel >= %gst_ver
BuildRequires: libgtk+3-devel >= %gtk_ver gobject-introspection-devel >= %gi_ver
BuildRequires: libgstreamer%gst_api_ver-gir-devel gst-plugins%gst_api_ver-gir-devel
BuildRequires: gst-devtools libgtk+3-gir-devel

%description
Pitivi is a video editor built upon the GStreamer Editing Services.
It aims to be an intuitive and flexible application that can appeal to
newbies and professionals alike.

%prep
%setup
%patch -p1

%build
%meson
%meson_build %name-pot %name-update-po
%meson_build

%install
%meson_install
%find_lang --with-gnome %name


%files -f %name.lang
%_bindir/%name
%_libdir/%name/
%_datadir/%name/
%_desktopdir/%xdg_name.desktop
%_iconsdir/hicolor/*/*/*
%_datadir/metainfo/%xdg_name.appdata.xml
%_datadir/mime/packages/%xdg_name-mime.xml


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin