[lives] New package (bz#3912)

Antonio sagitter at rpmfusion.org
Fri Jul 8 22:17:21 CEST 2016


commit 2b1963a05b3b8985243e5105021cfbc38d432f41
Author: sagitter <sagitter at fedoraproject.org>
Date:   Fri Jul 8 21:35:19 2016 +0200

    New package (bz#3912)

 .gitignore        |   1 +
 LiVES.appdata.xml |  41 +++++++++++
 lives.spec        | 199 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |   1 +
 4 files changed, 242 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..bfa7c6a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/LiVES-2.6.3.tar.bz2
diff --git a/LiVES.appdata.xml b/LiVES.appdata.xml
new file mode 100644
index 0000000..5704840
--- /dev/null
+++ b/LiVES.appdata.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Richard Hughes <richard at hughsie.com> -->
+<component type="desktop">
+  <id type="desktop">LiVES.desktop</id>
+  <metadata_license>CC0-1.0</metadata_license>
+  <summary>Video editor and VJ tool</summary>
+  <name>LiVES</name>
+  <project_license>GPL-3.0+ and LGPL-3.0+</project_license>
+  <categories>
+   <category>Multimedia</category>
+  </categories>
+  <description>
+    <p>
+      LiVES began in 2002 as the Linux Video Editing System.
+      Since it now runs on more operating systems: LiVES is a Video Editing System.
+      It is designed to be simple to use, yet powerful.
+      It is small in size, yet it has many advanced features.
+    </p>
+    <p>
+      LiVES mixes realtime video performance and non-linear editing in one professional
+      quality application. It will let you start editing and making video right away,
+      without having to worry   about formats, frame sizes, or framerates.
+      It is a very flexible tool which is used by both professional VJ's and video editors
+      - mix and switch clips from the keyboard, use dozens of realtime effects, trim and
+      edit your clips in the clip editor, and bring them together using the multitrack timeline.
+      You can even record your performance in real time, and then edit it further
+      or render it straight away. 
+    </p>
+    <p>
+      For the more technically minded, the application is frame and sample accurate,
+      and it can be controlled remotely or scripted for use as a video server.
+      And it supports all of the latest free standards.
+    </p>
+  </description>
+  <url type="homepage">http://lives-video.com/</url>
+  <screenshots>
+    <screenshot type="default">http://lives-video.com/images/livescess.png</screenshot>
+    <screenshot>http://lives-video.com/images/livesmtss.png</screenshot>
+  </screenshots>
+  <updatecontact>salsaman_at_gmail.com</updatecontact>
+</component>
diff --git a/lives.spec b/lives.spec
new file mode 100644
index 0000000..88588bb
--- /dev/null
+++ b/lives.spec
@@ -0,0 +1,199 @@
+Name:           lives
+Version:        2.6.3
+Release:        1%{?dist}
+Summary:        Video editor and VJ tool
+License:        GPLv3+ and LGPLv3+
+URL:            http://lives-video.com
+Source0:        http://lives-video.com/releases/LiVES-%{version}.tar.bz2
+## Appdata file downloaded from http://sourceforge.net/p/lives/code/HEAD/tree/trunk/LiVES.appdata.xml
+Source1:        LiVES.appdata.xml
+
+BuildRequires:  pkgconfig(jack)
+BuildRequires:  pkgconfig(sdl)
+BuildRequires:  pkgconfig(libpulse)
+BuildRequires:  pkgconfig(libunicap)
+BuildRequires:  pkgconfig(libdv)
+BuildRequires:  pkgconfig(libavc1394)
+BuildRequires:  pkgconfig(libraw1394)
+BuildRequires:  pkgconfig(libv4lconvert)
+BuildRequires:  pkgconfig(frei0r)
+BuildRequires:  pkgconfig(liboil-0.3)
+BuildRequires:  pkgconfig(theora)
+BuildRequires:  pkgconfig(vorbis)
+BuildRequires:  pkgconfig(schroedinger-1.0)
+BuildRequires:  pkgconfig(libpng)
+BuildRequires:  pkgconfig(alsa)
+BuildRequires:  pkgconfig(opencv)
+BuildRequires:  pkgconfig(fftw3)
+##No plugins available
+#BuildRequires:  pkgconfig(libvisual-0.4)
+BuildRequires:  pkgconfig(libmatroska)
+BuildRequires:  pkgconfig(mjpegtools)
+##libprojectM-2.0.1 not supported
+#BuildRequires:  pkgconfig(libprojectM)
+BuildRequires:  ladspa-devel
+BuildRequires:  GLee-devel
+BuildRequires:  x264-libs
+BuildRequires:  gettext
+BuildRequires:  doxygen
+BuildRequires:  chrpath, desktop-file-utils
+BuildRequires:  bison
+BuildRequires:  gtk3-devel
+BuildRequires:  ffmpeg-devel
+BuildRequires:  bzip2-devel
+BuildRequires:  libappstream-glib
+
+Requires: mplayer
+Requires: mencoder
+Requires: sox
+Requires: ImageMagick
+Requires: ogmtools
+Requires: oggvideotools
+Requires: perl
+Requires: theora-tools
+Requires: youtube-dl
+Requires: dvgrab
+Requires: icedax
+Requires: frei0r-plugins
+Requires: mkvtoolnix
+Requires: vorbis-tools
+Requires: dvgrab
+#Requires: projectM-libvisual
+#Requires: projectM-pulseaudio
+#Requires: projectM-jack
+Requires: python2
+
+%description
+LiVES began in 2002 as the Linux Video Editing System.
+Since it now runs on more operating systems: LiVES is a Video Editing System.
+It's video editor, VJ tool and video programming environment,
+designed to be simple to use, yet powerful.
+It is small in size, yet it has many advanced features.
+
+%prep
+%setup -q
+
+##Remove spurious executable permissions
+for i in `find . -type f \( -name "*.c" -o -name "*.h" -o -name "*.txt" \)`; do
+chmod a-x $i
+done
+
+%build
+%configure --disable-silent-rules --enable-shared --enable-static \
+ --enable-largefile --enable-threads --disable-rpath --enable-profiling \
+ --enable-doxygen --disable-projectM --disable-libvisual
+ 
+%make_build
+
+%install
+%make_install
+%find_lang %{name}
+
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
+find %{buildroot} -name '*.a' -exec rm -f {} ';'
+
+##Private libs
+mv %{buildroot}%{_libdir}/libOSC* %{buildroot}%{_libdir}/%{name}
+mv %{buildroot}%{_libdir}/libweed* %{buildroot}%{_libdir}/%{name}
+#
+##Weed's devel files removed
+rm -rf %{buildroot}%{_libdir}/pkgconfig
+rm -rf %{buildroot}%{_includedir}/weed
+
+##Remove bad documentation files location
+rm -rf %{buildroot}%{_docdir}/lives-%{version}
+
+##Push icon into %{_datadir}/icons/%{name}
+mkdir -p %{buildroot}%{_datadir}/icons/%{name}
+cp -p %{buildroot}%{_datadir}/app-install/icons/%{name}.png %{buildroot}%{_datadir}/icons/%{name}
+rm -rf %{buildroot}%{_datadir}/app-install
+
+##Remove rpaths
+chrpath -d %{buildroot}%{_bindir}/lives-exe
+
+##Set Exec key
+desktop-file-edit \
+ --set-key=Exec \
+ --set-value="env LD_LIBRARY_PATH=%{_libdir}/%{name} \
+ FREI0R_PATH=%{_libdir}/frei0r-1 LADSPA_PATH=%{_libdir}/ladspa lives-exe" \
+%{buildroot}%{_datadir}/applications/LiVES.desktop
+
+# Register as an application to be visible in the software center
+install -Dp -m 644 %{SOURCE1} %{buildroot}%{_datadir}/appdata/LiVES.appdata.xml
+
+%post
+/bin/touch --no-create %{_datadir}/icons/%{name} &>/dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+    /bin/touch --no-create %{_datadir}/icons/%{name} &>/dev/null
+    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/%{name} &>/dev/null || :
+fi
+
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/%{name} &>/dev/null || :
+
+%check
+appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/*.appdata.xml
+
+%files -f %{name}.lang
+%doc README AUTHORS BUGS ChangeLog FEATURES
+%doc GETTING.STARTED NEWS OMC/*.txt RFX/*
+%license COPYING
+%{_bindir}/*%{name}*
+%{_bindir}/midistart
+%{_bindir}/midistop
+%{_bindir}/sendOSC
+%{_bindir}/smogrify
+%{_libdir}/%{name}/
+%{_datadir}/applications/LiVES.desktop
+%{_datadir}/%{name}/
+%{_datadir}/pixmaps/%{name}.xpm
+%{_datadir}/icons/%{name}/
+%{_datadir}/appdata/LiVES.appdata.xml
+
+%changelog
+* Mon May 09 2016 Antonio Trande <sagitterATfedoraproject.org> - 2.6.3-1
+- Update to 2.6.3
+
+* Mon Mar 28 2016 Antonio Trande <sagitterATfedoraproject.org> - 2.6.2-1
+- Update to 2.6.2
+
+* Sun Mar 27 2016 Antonio Trande <sagitterATfedoraproject.org> - 2.6.1-1
+- Update to 2.6.1
+
+* Mon Feb 01 2016 Antonio Trande <sagitterATfedoraproject.org> - 2.6.0-1
+- Update to 2.6.0
+
+* Sun Jan 24 2016 Antonio Trande <sagitterATfedoraproject.org> - 2.4.8-1
+- Update to 2.4.8
+
+* Wed Jan 20 2016 Antonio Trande <sagitterATfedoraproject.org> - 2.4.7-2
+- Added patch from upstream commit 2363
+
+* Mon Jan 18 2016 Antonio Trande <sagitterATfedoraproject.org> - 2.4.7-1
+- Update to 2.4.7
+
+* Wed Jan 13 2016 Antonio Trande <sagitterATfedoraproject.org> - 2.4.6-7
+- Included new documentation
+
+* Mon Dec 28 2015 Antonio Trande <sagitterATfedoraproject.org> - 2.4.6-6
+- Update from revision 2353
+- libvisual support disabled
+
+* Mon Dec 28 2015 Antonio Trande <sagitterATfedoraproject.org> - 2.4.6-5
+- Patched to fix Tools->Preference menu crash
+
+* Wed Dec 23 2015 Antonio Trande <sagitterATfedoraproject.org> - 2.4.6-4
+- libprojectM-2.0.1 not supported
+
+* Mon Dec 21 2015 Antonio Trande <sagitterATfedoraproject.org> - 2.4.6-3
+- List BRequires and Requires packages completed
+- Weed's devel files removed
+
+* Mon Dec 21 2015 Antonio Trande <sagitterATfedoraproject.org> - 2.4.6-2
+- License fixed
+- frei0r support enabled
+
+* Sat Dec 19 2015 Antonio Trande <sagitterATfedoraproject.org> - 2.4.6-1
+- First package
diff --git a/sources b/sources
index e69de29..42ba71b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b5fad0838b180902f8304b1978bbac41  LiVES-2.6.3.tar.bz2


More information about the rpmfusion-commits mailing list