[Cin] New pkgs and tars for this month's release are ready
Andrew Randrianasulu
randrianasulu at gmail.com
Sat May 11 20:43:21 CEST 2019
В сообщении от Wednesday 01 May 2019 05:09:08 Phyllis Smith написал(а):
> Latest builds are now available at:
>
> https://www.cinelerra-gg.org/download/tars/
> https://www.cinelerra-gg.org/download/pkgs/
I tried to build Cinelerra-GG for ROSA Linux Fresh 11 (64 bit). Default .spec file was not working out-of-the-box, so I hacked it
1) Replaced few lib_something-devel with lib64_something-devel
2) removed inkscape from requirements
3) removed xz-devel.
4) Changed group into just Video.
5) Changed download URL, so rpmbuild was able to download whole thing. (is there sha256sum or other way to check source downloads?)
-------------------
cat ~/botva/src/cinelerra-git/cin-5/cinelerra-rosa-64.spec
%define ver 20190430
%define cin cinelerra
Summary: Multimedia Editing and construction
%if 0%{?hidepth}
%define xbit 10bit
%define xcfg --enable-x265_hidepth --with-exec-name=cinx
%endif
Name: %{cin}%{?xbit}
Version: 5.1
Release: %{ver}
License: GPL
#Group: Applications/Multimedia
Group: Video
URL: https://cinelerra-gg.org/
# Obtained from :
# git clone git://git.cinelerra.org/goodguy/cinelerra.git cinelerra5
Source0: https://cinelerra-gg.org/download/pkgs/src/cin_%{version}.%{ver}-src.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%if 0%{?fedora}
%define rhat 1
%define distro fedora
%endif
%if 0%{?centos}
%define rhat 1
%define distro centos
%define centos_cfg --disable-libaom --disable-libwebp
%endif
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: cmake
BuildRequires: binutils
BuildRequires: ctags
BuildRequires: flac-devel
BuildRequires: freetype-devel
BuildRequires: gcc-c++
BuildRequires: gettext-devel
BuildRequires: git
#BuildRequires: inkscape
BuildRequires: lib64png-devel
BuildRequires: lib64xft-devel
BuildRequires: lib64xinerama-devel
BuildRequires: lib64xv-devel
BuildRequires: nasm
BuildRequires: libtool
BuildRequires: ncurses-devel
BuildRequires: texinfo
BuildRequires: udftools
BuildRequires: gtk2-devel
BuildRequires: lib64va-devel
BuildRequires: lib64vdpau-devel
%{?rhat:BuildRequires: alsa-lib-devel}
%{?rhat:BuildRequires: bzip2-devel}
%{?rhat:BuildRequires: xorg-x11-fonts-cyrillic}
%{?rhat:BuildRequires: xorg-x11-fonts-cyrillic}
%{?rhat:BuildRequires: xorg-x11-fonts-ISO8859-1-100dpi}
%{?rhat:BuildRequires: xorg-x11-fonts-ISO8859-1-75dpi}
%{?rhat:BuildRequires: xorg-x11-fonts-misc}
%{?rhat:BuildRequires: xorg-x11-fonts-Type1}
%{?suse:BuildRequires: alsa-devel}
%{?suse:BuildRequires: libbz2-devel}
%{?suse:BuildRequires: bitstream-vera-fonts}
%{?suse:BuildRequires: xorg-x11-fonts-core}
%{?suse:BuildRequires: xorg-x11-fonts}
%{?suse:BuildRequires: dejavu-fonts}
%{?suse:BuildRequires: libnuma-devel}
#BuildRequires: xz-devel
BuildRequires: yasm
BuildRequires: zlib-devel
%description
Multimedia editing and construction
%prep
%define _buildsubdir %{cin}-%{version}
%setup -q -n %{cin}-%{version}
%build
./autogen.sh
%configure %{?xcfg} %{?centos_cfg}
%{__make}
%install
%make_install
%clean
%{__rm} -rf %{buildroot}
%if 0%{?rhat}
%post
if [ -d /etc/yum.repos.d ]; then
echo > /etc/yum.repos.d/cin.repo "[cin]"
echo >> /etc/yum.repos.d/cin.repo "name=cinelerra-gg"
echo >> /etc/yum.repos.d/cin.repo "baseurl=https://cinelerra-gg.org/download/pkgs/%{distro}\$releasever/"
echo >> /etc/yum.repos.d/cin.repo "enabled=1"
echo >> /etc/yum.repos.d/cin.repo "gpgcheck=0"
fi
%postun
if [ -d /etc/yum.repos.d ]; then
rm -f /etc/yum.repos.d/cin.repo
fi
%endif
%files
%defattr(-, root, root, -)
%{_bindir}/*
%{_libdir}/*
%{_datadir}/*
%changelog
----------------------------
resulting files also available here:
https://cloud.mail.ru/public/2JbP/5f8QkfjsA/
(Cinelerra-64-3.tar.bz2 is latest 64-bit git single-user build for same Rosa Fresh R11 64-bit Linux distro)
Rosa website:
https://www.rosalinux.ru/en/home-2/
I used ROSA.FRESH.KDE4.R11.x86_64.uefi.iso under qemu. Actually, I installed 32-bit version first,
only to realize my friend has 64-bit/hybrid version! So, now I have two 15Gb virtual hdds for this OS!
Note, default 64 bit KDE4 install there is multi-arch (i586 and x86_64).
udftools somewhat outdated (1.3), but guess I need to ping their maintainer for this problem.
-------------- next part --------------
%define ver 20190430
%define cin cinelerra
Summary: Multimedia Editing and construction
%if 0%{?hidepth}
%define xbit 10bit
%define xcfg --enable-x265_hidepth --with-exec-name=cinx
%endif
Name: %{cin}%{?xbit}
Version: 5.1
Release: %{ver}
License: GPL
#Group: Applications/Multimedia
Group: Video
URL: https://cinelerra-gg.org/
# Obtained from :
# git clone git://git.cinelerra.org/goodguy/cinelerra.git cinelerra5
Source0: https://cinelerra-gg.org/download/pkgs/src/cin_%{version}.%{ver}-src.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%if 0%{?fedora}
%define rhat 1
%define distro fedora
%endif
%if 0%{?centos}
%define rhat 1
%define distro centos
%define centos_cfg --disable-libaom --disable-libwebp
%endif
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: cmake
BuildRequires: binutils
BuildRequires: ctags
BuildRequires: flac-devel
BuildRequires: freetype-devel
BuildRequires: gcc-c++
BuildRequires: gettext-devel
BuildRequires: git
#BuildRequires: inkscape
BuildRequires: lib64png-devel
BuildRequires: lib64xft-devel
BuildRequires: lib64xinerama-devel
BuildRequires: lib64xv-devel
BuildRequires: nasm
BuildRequires: libtool
BuildRequires: ncurses-devel
BuildRequires: texinfo
BuildRequires: udftools
BuildRequires: gtk2-devel
BuildRequires: lib64va-devel
BuildRequires: lib64vdpau-devel
%{?rhat:BuildRequires: alsa-lib-devel}
%{?rhat:BuildRequires: bzip2-devel}
%{?rhat:BuildRequires: xorg-x11-fonts-cyrillic}
%{?rhat:BuildRequires: xorg-x11-fonts-cyrillic}
%{?rhat:BuildRequires: xorg-x11-fonts-ISO8859-1-100dpi}
%{?rhat:BuildRequires: xorg-x11-fonts-ISO8859-1-75dpi}
%{?rhat:BuildRequires: xorg-x11-fonts-misc}
%{?rhat:BuildRequires: xorg-x11-fonts-Type1}
%{?suse:BuildRequires: alsa-devel}
%{?suse:BuildRequires: libbz2-devel}
%{?suse:BuildRequires: bitstream-vera-fonts}
%{?suse:BuildRequires: xorg-x11-fonts-core}
%{?suse:BuildRequires: xorg-x11-fonts}
%{?suse:BuildRequires: dejavu-fonts}
%{?suse:BuildRequires: libnuma-devel}
#BuildRequires: xz-devel
BuildRequires: yasm
BuildRequires: zlib-devel
%description
Multimedia editing and construction
%prep
%define _buildsubdir %{cin}-%{version}
%setup -q -n %{cin}-%{version}
%build
./autogen.sh
%configure %{?xcfg} %{?centos_cfg}
%{__make}
%install
%make_install
%clean
%{__rm} -rf %{buildroot}
%if 0%{?rhat}
%post
if [ -d /etc/yum.repos.d ]; then
echo > /etc/yum.repos.d/cin.repo "[cin]"
echo >> /etc/yum.repos.d/cin.repo "name=cinelerra-gg"
echo >> /etc/yum.repos.d/cin.repo "baseurl=https://cinelerra-gg.org/download/pkgs/%{distro}\$releasever/"
echo >> /etc/yum.repos.d/cin.repo "enabled=1"
echo >> /etc/yum.repos.d/cin.repo "gpgcheck=0"
fi
%postun
if [ -d /etc/yum.repos.d ]; then
rm -f /etc/yum.repos.d/cin.repo
fi
%endif
%files
%defattr(-, root, root, -)
%{_bindir}/*
%{_libdir}/*
%{_datadir}/*
%changelog
More information about the Cin
mailing list