update to 3.2.0 [release 3.2.0-1mamba;Wed May 19 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 06:24:59 +01:00
parent 3229face16
commit 71c486ebf3

View File

@ -1,13 +1,13 @@
Name: lives
Version: 2.2.7
Version: 3.2.0
Release: 1mamba
Summary: A video editor and VJ tool
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://lives.sourceforge.net
Source0: http://www.xs4all.nl/~salsaman/lives/current/LiVES-%{version}.tar.bz2
URL: https://github.com/salsaman/LiVES
Source0: https://github.com/salsaman/LiVES.git/%{version}/LiVES-%{version}.tar.bz2
Source1: %{name}-16.png
Source2: %{name}-32.png
Source3: %{name}-48.png
@ -15,43 +15,59 @@ Patch0: %{name}-2.0.3-desktop.patch
Patch1: %{name}-0.9.9.1-plugins_destdir.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: dvgrab
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libaudio-devel
BuildRequires: libavc1394-devel >= 0.5.3
BuildRequires: libcairo-devel
BuildRequires: libdirectfb-devel
BuildRequires: libdv-devel
BuildRequires: libexpat-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libglib-devel
BuildRequires: libglitz-devel
BuildRequires: libgtk-devel
BuildRequires: libICE-devel
BuildRequires: libjack-devel >= 0.102.20
BuildRequires: libogg-devel
BuildRequires: liboil-devel
BuildRequires: libpango-devel
BuildRequires: libpixman-devel
BuildRequires: libpng-devel
BuildRequires: libraw1394-devel
BuildRequires: libSDL-devel
BuildRequires: libselinux-devel
BuildRequires: libSM-devel
BuildRequires: libtheora-devel
BuildRequires: libvisual-devel >= 0.1.7
BuildRequires: libvorbis-devel
BuildRequires: libGLU-devel
BuildRequires: libSDL2-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel
BuildRequires: libxcb-util-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXrender-devel
BuildRequires: libXt-devel
BuildRequires: libalsa-devel
BuildRequires: libatk-devel
BuildRequires: libavc1394-devel
BuildRequires: libavcodec-ffmpeg-devel
BuildRequires: libavformat-ffmpeg-devel
BuildRequires: libavutil-ffmpeg-devel
BuildRequires: libbrotli-devel
BuildRequires: libbsd-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libdv-devel
BuildRequires: libe2fs-devel
BuildRequires: libfftw-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libglvnd-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk3-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libjack-devel
BuildRequires: libkrb5-devel
BuildRequires: libmjpegtools-devel
BuildRequires: libogg-devel
BuildRequires: liboil-devel
BuildRequires: libopencv-devel
BuildRequires: liborc-devel
BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libperl
BuildRequires: libpng-devel
BuildRequires: libprojectM-devel
BuildRequires: libpulseaudio-devel
BuildRequires: libqt5-devel
BuildRequires: libraw1394-devel
BuildRequires: libschroedinger-devel
BuildRequires: libstdc++6-devel
BuildRequires: libswresample-ffmpeg-devel
BuildRequires: libswscale-ffmpeg-devel
BuildRequires: libtheora-devel
BuildRequires: libtirpc-devel
BuildRequires: libunicap-devel
BuildRequires: libvisual-devel
BuildRequires: libxcb-devel
BuildRequires: libz-devel
BuildRequires: mjpegtools-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: libaa-devel
@ -78,41 +94,49 @@ Requires: frei0r-plugins
# FIXME: missing requirements in distribution:
#Requires: mkvtoolnix
#Requires: libdv-bin
BuildConflicts: libweed-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
#BuildConflicts: libweed-devel
%description
LiVES is aimed at the digital video artist who wants to create their own content, the video editor who wants to produce professional looking video, and the VJ who wants to captivate with spectacular images.
%package -n libweed
%package -n liblives
Summary: Base library used by %{name}
Group: System/Libraries
Provides: libweed
Obsoletes: libweed < 3.2.0
%description -n libweed
%description -n liblives
LiVES is aimed at the digital video artist who wants to create their own content, the video editor who wants to produce professional looking video, and the VJ who wants to captivate with spectacular images.
%package -n libweed-devel
%package -n liblives-devel
Summary: Development files for libweed
Group: Development/Libraries
Requires: libweed = %{?epoch:%epoch:}%{version}-%{release}
Requires: liblives = %{?epoch:%epoch:}%{version}-%{release}
Provides: libweed-devel
Obsoletes: libweed-devel < 3.2.0
%description -n libweed-devel
%description -n liblives-devel
LiVES is aimed at the digital video artist who wants to create their own content, the video editor who wants to produce professional looking video, and the VJ who wants to captivate with spectacular images.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development.
%debug_package
%prep
%setup -q
%patch0 -p1
#%patch1 -p1
perl -p -i -e 's|"/usr/local/"|&get_home_dir||g' smogrify
sed -i "s|/sbin/ldconfig|/bin/true|" libweed/Makefile.in
%setup -q -n LiVES-%{version}
./autogen.sh
#%patch0 -p1
#perl -p -i -e 's|"/usr/local/"|&get_home_dir||g' smogrify
#sed -i "s|/sbin/ldconfig|/bin/true|" libweed/Makefile.in
%build
export CPPFLAGS="%{optflags} -I%{_includedir}/tirpc/"
export LDFLAGS="-ltirpc"
%configure
%make
cd libweed
#cd libweed
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
@ -121,6 +145,7 @@ cd libweed
rm -fr %{buildroot}%{_docdir}/LiVES-%{version}
%find_lang lives
cp smogrify midistart midistop %{buildroot}%{_bindir}
cd %{buildroot}%{_datadir}/%{name}/themes
rm -fr `find -name '.xvpics'`
@ -134,11 +159,12 @@ mkdir -p %{buildroot}%{_datadir}/pixmaps
cp %{S:2} %{buildroot}%{_datadir}/pixmaps/%{name}.png
sed -i "s|Icon=lives.png|Icon=lives.xpm|" %{buildroot}%{_datadir}/applications/LiVES.desktop
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post -n liblives -p /sbin/ldconfig
%postun -n liblives -p /sbin/ldconfig
%files -f lives.lang
%defattr(-,root,root)
%{_bindir}/*
@ -147,6 +173,13 @@ sed -i "s|Icon=lives.png|Icon=lives.xpm|" %{buildroot}%{_datadir}/applications/
%{_datadir}/applications/LiVES.desktop
%{_datadir}/pixmaps/lives.xpm
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/icons/hicolor/*/apps/lives.png
%{_datadir}/app-install/icons/lives.png
%files -n liblives
%defattr(-,root,root)
%{_libdir}/libweed*.so.*
%{_libdir}/libOSC*.so.*
%dir %{_libdir}/lives
%dir %{_libdir}/lives/plugins
%dir %{_libdir}/lives/plugins/effects
@ -162,42 +195,41 @@ sed -i "s|Icon=lives.png|Icon=lives.xpm|" %{buildroot}%{_datadir}/applications/
%dir %{_libdir}/lives/plugins/encoders
%{_libdir}/lives/plugins/encoders/encodedv_encoder
%{_libdir}/lives/plugins/encoders/ffmpeg_encoder
%{_libdir}/lives/plugins/encoders/mencoder_encoder
#%{_libdir}/lives/plugins/encoders/mencoder_encoder
%{_libdir}/lives/plugins/encoders/mjpegtools_encoder
%{_libdir}/lives/plugins/encoders/multi_encoder
%{_libdir}/lives/plugins/encoders/pdf_encoder
%{_libdir}/lives/plugins/encoders/qtutils_encoder
%{_libdir}/lives/plugins/encoders/sswf_encoder
%{_libdir}/lives/plugins/encoders/transcode_encoder
#%{_libdir}/lives/plugins/encoders/transcode_encoder
%{_libdir}/lives/plugins/encoders/multi_encoder3
%{_libdir}/lives/plugins/encoders/x264_encoder
%dir %{_libdir}/lives/plugins/playback/video
%{_libdir}/lives/plugins/playback/video/*.la
%{_libdir}/lives/plugins/playback/video/*.so
%{_libdir}/lives/plugins/playback/audiostream/audiostreamer.pl
%{_datadir}/app-install/icons/lives.png
%files -n libweed
%defattr(-,root,root)
%{_libdir}/libweed.so.*
%{_libdir}/libweed_slice.so.*
%{_libdir}/libweed-utils.so.*
%doc AUTHORS
%files -n libweed-devel
%files -n liblives-devel
%defattr(-,root,root)
%dir %{_includedir}/weed
%{_includedir}/weed/*.h
#%{_libdir}/libweed*.a
%{_libdir}/libweed*.a
%{_libdir}/libweed*.la
%{_libdir}/libweed.so
%{_libdir}/libweed_slice.so
%{_libdir}/libweed-utils.so
%{_libdir}/libweed*.so
%{_libdir}/libOSC*.a
%{_libdir}/libOSC*.la
%{_libdir}/libOSC*.so
%dir %{_datadir}/doc/lives
%{_datadir}/doc/lives/*
%{_libdir}/pkgconfig/libweed*.pc
%doc BUGS C* FEATURES GETTING* NEWS README*
%doc OMC/*.txt
#%doc BUGS C* FEATURES GETTING* NEWS README*
#%doc OMC/*.txt
%changelog
* Wed May 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.0-1mamba
- update to 3.2.0
* Thu Jan 08 2015 Automatic Build System <autodist@mambasoft.it> 2.2.7-1mamba
- automatic update by autodist