mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-13 11:20:00 +01:00
132 lines
3.7 KiB
RPMSpec
132 lines
3.7 KiB
RPMSpec
# norootforbuild
|
|
# neededforbuild update-desktop-files gtk2-devel-packages glib2 gtk2 libglade3 libdv libxml2 jack DirectFB SDL libjpeg freetype2 gtk2-devel glib2-devel libglade-devel libxml2-devel jack-devel pkgconfig SDL-devel libjpeg-devel freetype2-devel valgrind alsa-devel alsa slang-devel slang libstdc++-devel libstdc++ zlib-devel zlib
|
|
|
|
%define name veejay
|
|
%define version 1.5
|
|
%define release stable
|
|
%define prefix /usr
|
|
|
|
%define builddir $RPM_BUILD_DIR/%{name}-%{version}
|
|
|
|
Summary: Video Mixing/Editing Instrument
|
|
Name: %{name}
|
|
Version: %{version}
|
|
Release: %{release}
|
|
Prefix: %{prefix}
|
|
Copyright: GNU GPL
|
|
URL: http://veejayhq.net
|
|
Packager: oc2pus <oc2pus@arcor.de>
|
|
Group: Productivity/Multimedia/Video/Editors and Convertors
|
|
Source: %{name}-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Prereq: /sbin/ldconfig
|
|
#Requires: libdv >= 0.102
|
|
#Requires: libxml2 >= 2.5.4
|
|
#Requires: jack >= 0.98
|
|
#Requires: SDL >= 1.2.3
|
|
#Requires: libjpeg
|
|
#Requires: freetype2
|
|
#Requires: alsa
|
|
#Requires: slang
|
|
#Requires: libstdc++
|
|
#Requires: zlib
|
|
#Requires: gtk2
|
|
#Requires: glib2
|
|
#Requires: libglade2
|
|
#Requires: libxml2 >= 2.5.4
|
|
#Requires: cairo
|
|
#Requires: gtkcairo
|
|
#Requires: unicap
|
|
#BuildRequires: libdv >= 0.102
|
|
#BuildRequires: libxml2-devel >= 2.5.4
|
|
#BuildRequires: jack-devel >= 0.98
|
|
#BuildRequires: pkgconfig
|
|
#BuildRequires: SDL-devel >= 1.2.3
|
|
#BuildRequires: libjpeg-devel
|
|
#BuildRequires: freetype2-devel
|
|
#BuildRequires: alsa-devel
|
|
#BuildRequires: slang-devel
|
|
#BuildRequires: libstdc++-devel
|
|
#BuildRequires: zlib-devel
|
|
#BuildRequires: gtk2-devel
|
|
#BuildRequires: glib2-devel
|
|
#BuildRequires: libglade2-devel
|
|
#BuildRequires: valgrind
|
|
#BuildRequires: gtkcairo-devel
|
|
#BuildRequires: cairo-devel
|
|
#BuildRequires: unicap
|
|
|
|
%description
|
|
Veejay is a visual instrument and realtime video sampler.
|
|
It allows you to 'play' the video like you would play a Piano and it allows
|
|
you to record the resulting video directly to disk for immediate playback (video sampling).
|
|
|
|
Veejay is beeing developed in the hope it will be usefull for VJ's,
|
|
media artists and other interested users that want to use Free Software for
|
|
their performances and/or video installations.
|
|
|
|
Author: Niels Elburg <nwelburg@gmail.com>
|
|
|
|
Requires: libxml2 >= 2.5.4
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
./autogen.sh
|
|
%{?suse_update_config:%{suse_update_config -f}}
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" \
|
|
CXXFLAGS="$RPM_OPT_FLAGS" \
|
|
./configure \
|
|
--prefix=%{prefix} \
|
|
--mandir=%{_mandir} \
|
|
--with-arch-target=generic
|
|
|
|
%build
|
|
# Setup for parallel builds
|
|
numprocs=`egrep -c ^cpu[0-9]+ /proc/stat || :`
|
|
if [ "$numprocs" = "0" ]; then
|
|
numprocs=1
|
|
fi
|
|
make -j$numprocs
|
|
|
|
%install
|
|
[ -d %{buildroot} -a "%{buildroot}" != "" ] && rm -rf %{buildroot}
|
|
|
|
make install-strip \
|
|
DESTDIR=%{buildroot}
|
|
|
|
# remove static libs
|
|
rm -f %{buildroot}%{_libdir}/lib*.a
|
|
rm -f %{buildroot}%{_libdir}/lib*.la
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%clean
|
|
[ -d %{buildroot} -a "%{buildroot}" != "" ] && rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc AUTHORS BUGS COPYING ChangeLog INSTALL README*
|
|
%doc doc
|
|
%{_bindir}/%{name}
|
|
%{_libdir}/*.so*
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
%{_mandir}/man1/*
|
|
|
|
%changelog -n veejay
|
|
* Jan 2015 - update build (niels)
|
|
* Wed Mar 21 2007 - cleanup
|
|
* Sat Nov 20 2005 - bla
|
|
* Sat Apr 23 2005 - oc2pus@arcor.de 0.8-0.oc2pus.1
|
|
- update to 0.8
|
|
- patched configure for using glib2-2.4.*, gtk2-2.4.*, libglade2-2.2.*
|
|
- patched gveejay sources for using gtk2-2.4
|
|
* Fri Apr 15 2005 - oc2pus@arcor.de 0.7.3-0.oc2pus.2
|
|
- directfb re-enabled
|
|
* Mon Mar 21 2005 - oc2pus@arcor.de 0.7.3-0.oc2pus.1
|
|
- initial rpm
|
|
- directfb disabled, doesn't compile
|