Projects
Multimedia
dvswitch-git
dvswitch-git.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dvswitch-git.spec of Package dvswitch-git (Revision 3)
Currently displaying revision
3
,
Show latest
# # spec file for package dvswitch # # Copyright (c) 2012 Juergen Weigert jw@opensuse.org # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # ### output file from gitfetch.sh here: # % define tarname dvswitch-0.9-susedevel-8b96437 # % define tarname dvswitch-0.9-susedevel-f9bc756 %define tarname dvswitch-0.9-susedevel-fae6162 ### this one is vanilla, it needs the patches and the extra sources: # % define tarname dvswitch-0.9-1-da15ba4.tar.gz Name: dvswitch-git Version: 20140408git_jw01 Release: 0 License: GPL-2.0+ Summary: Video mixer for firewire devices ### currently both gits appear to be in sync. # GIT http://alioth.debian.org/scm/browser.php?group_id=31092 # GIT http://git.grep.be/gitweb?p=dvswitch.git Url: http://alioth.debian.org/projects/dvswitch/ Group: Productivity/Graphics/Other Source0: %{tarname}.tar.gz Source4: gitfetch.sh Source5: CarlFK-dvsmon-e00779c.tar.gz Source101: etc_dvswitchrc ## unused sources. They are included in the susedevel branch of github.com/jnweiger/dvswitch Source102: dvsource-webcam.pl Source103: dvtrim.pl Source104: dv2webm.sh Source105: dvsink-bambuser.pl Source106: dvsource-title.pl Source107: dvsink-icecast.pl Source108: dvsink-fullscreen.pl Source109: dvsource-firewire-next.pl Source110: dvrecord.sh Source111: dv-upload.sh Source112: dvsource-firewire2switch ## end of unused sources. ## unused patches. They are included in the susedevel branch of github.com/jnweiger/dvswitch Patch1: dvsource-command.diff Patch2: retry_connect_option.diff Patch3: stopped_status.diff Patch4: listen_wildcard.diff Patch6: thin_title_safe_area.diff Patch7: movable_selection.diff Patch8: repeating_frame_dots.diff Patch9: happy_gcc.diff Patch10: title_hup.diff Patch11: mfade_area.diff Patch100: revert_wouter.diff ## end of unused patches. BuildRequires: cmake pkg-config gcc-c++ BuildRequires: fdupes BuildRequires: glibc alsa-devel gtkmm2-devel ffmpeg-devel BuildRequires: boost-devel BuildRequires: libliveMedia-devel liblo-devel # used on testsuite BuildRequires: perl(Pod::Usage) BuildRequires: perl(Pod::Text) BuildRequires: perl(Encode) # dummy buildrequires to catch dependency issues earlier. BuildRequires: oggfwd ffmpeg2theora # Factory fails without this (missing X11/extensions/XShm.h, X11/extensions/Xvlib.h) BuildRequires: xorg-x11-libXext-devel xorg-x11-libXv-devel %if 0%{?suse_version} == 1220 BuildRequires: -makeinfo %endif ## needed for dvsource-alien BuildRequires: libv4l-devel BuildRequires: libffmpeg-devel # BuildRoot: %{_tmppath}/%{name}-%{version}-build # Requires: %{name}-client = %{version} Provides: dvswitch # needed by dvsink-fullscreen, which is not in -client, because of this: Requires: MPlayer %description dvswitch is a basic video mixer designed for the needs of DebConf. It may suit the needs of other conferences that require live mixing for streams and/or recording. Currently dvswitch can combine audio from one source with video from another and can combine two video streams with a picture-in-picture effect. Further mixing effects are planned. It works solely with the DV format which allows for low latency display and cutting. It is best used with Canon HV20/30/40 camcorders and Canopus Twinpact 100 Framegrabbers. %package client License: GPL-2.0+ Summary: Source, sink, and other components for %{name} # needed by dvsource-firewire: Requires: dvgrab >= 3.5 # needed by dvsource-webcam, dvtrim, dvsink-bambuser: Requires: ffmpeg # needed by dvsmon and friends Requires: python # needed by dvsink-icecast Requires: oggfwd ffmpeg2theora # needed by all the perl scripts (should all be in perl core) Requires: perl(Pod::Usage) Requires: perl(Pod::Text) Requires: perl(Encode) # needed by dv-upload.sh Requires: rsync openssh curl %description client dvswitch is a basic video mixer designed for the needs of DebConf. This package contains only sink and source utilities. You also need %{name}-%{version} (installed on some machine) to use this package. %package test License: GPL-2.0+ Summary: All of %{name} under /opt/test # needed by dvsource-firewire: Requires: dvgrab >= 3.5 # needed by dvsource-webcam, dvtrim, dvsink-bambuser: Requires: ffmpeg # needed by dvsmon and friends Requires: python # needed by dvsink-icecast Requires: oggfwd ffmpeg2theora %description test dvswitch is a basic video mixer designed for the needs of DebConf. It may suit the needs of other conferences that require live mixing for streams and/or recording. Currently dvswitch can combine audio from one source with video from another and can combine two video streams with a picture-in-picture effect. Further mixing effects are planned. It works solely with the DV format which allows for low latency display and cutting. It is best used with Canon HV20/30/40 camcorders and Canopus Twinpact 100 Framegrabbers. This package contains all components installed under /opt/test, so that you can have two versions of dvswitch installed simultaneously. %prep %setup -q -n %{tarname} -a 5 # # dvsource-command.diff # % patch1 -p1 # # retry_connect_option.diff # % patch2 -p1 # # stopped_status.diff # % patch3 -p1 # # listen_wildcard.diff # % patch4 -p1 # # thin_title_safe_area.diff # % patch6 -p1 # # movable_selection.diff # % patch7 -p1 # # repeating_frame_dots.diff # % patch8 -p1 # # happy_gcc.diff # % patch9 -p1 # # title_hup.diff # % patch10 -p1 # # mfade_area.diff # % patch11 -p1 # revert_wouter.diff needed with 8b96437, but already applied with f9bc756 # % patch100 -p1 grep Manual src/*.c rm -rf *-dvsmon-*/app_data rm -rf *-dvsmon-*/debian %build cmake -Dprefix=/usr make %check # these are all unused. pulled below directly from the tar # perl -c % {SOURCE102} # perl -c % {SOURCE103} # perl -c % {SOURCE105} # perl -c % {SOURCE106} # perl -c % {SOURCE107} # perl -c % {SOURCE108} # perl -c % {SOURCE109} %install %makeinstall install -m 0644 %{SOURCE101} ./etc_dvswitchrc install -Dm 0644 contrib/*.jpg . install -Dm 0755 contrib/scripts/dvsource-webcam.pl %{buildroot}%{_bindir}/dvsource-webcam install -Dm 0755 contrib/scripts/dvtrim.pl %{buildroot}%{_bindir}/dvtrim install -Dm 0755 contrib/scripts/dv2webm.sh %{buildroot}%{_bindir}/dv2webm install -Dm 0755 contrib/scripts/dvsink-bambuser.pl %{buildroot}%{_bindir}/dvsink-bambuser install -Dm 0755 contrib/scripts/dvsource-title.pl %{buildroot}%{_bindir}/dvsource-title install -Dm 0755 contrib/scripts/dvsink-icecast.pl %{buildroot}%{_bindir}/dvsink-icecast install -Dm 0755 contrib/scripts/dvsink-fullscreen.pl %{buildroot}%{_bindir}/dvsink-fullscreen install -Dm 0755 contrib/scripts/dvsource-firewire-next.pl %{buildroot}%{_bindir}/dvsource-firewire-next install -Dm 0755 contrib/scripts/dvrecord.sh %{buildroot}%{_bindir}/dvrecord install -Dm 0755 contrib/scripts/dv-upload.sh %{buildroot}%{_bindir}/dv-upload install -Dm 0755 contrib/dv2switch/dvsource-firewire2switch %{buildroot}%{_bindir}/dvsource-firewire2switch false && install -Dm 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/dvswitch.1 false && %fdupes %{buildroot}%{_datadir} install -d -m 0755 %{buildroot}/opt/test cp -a %{buildroot}%{_bindir} %{buildroot}/opt/test cp -a %{buildroot}%{_datadir} %{buildroot}/opt/test cp -a %{buildroot}%{_mandir} %{buildroot}/opt/test %post test -f /etc/dvswitchrc || cp %{_docdir}/%{name}/etc_dvswitchrc /etc/dvswitchrc %post client test -f /etc/dvswitchrc || cp %{_docdir}/%{name}-client/etc_dvswitchrc /etc/dvswitchrc %files %defattr(-,root,root,-) %doc COPYING doc/design-notes doc/examples/* doc/README etc_dvswitchrc %{_datadir}/locale/* %{_datadir}/dvswitch %{_datadir}/doc/dvswitch %{_bindir}/dvswitch %{_bindir}/dvsink-fullscreen %doc %{_mandir}/man1/dvswitch.1* %files client %defattr(-,root,root,-) %doc COPYING doc/examples/* doc/README etc_dvswitchrc *.jpg %exclude %{_bindir}/dvswitch %exclude %{_bindir}/dvsink-fullscreen %{_bindir}/* %exclude %{_mandir}/man1/dvswitch.1* %doc %{_mandir}/man?/* %doc etc_dvswitchrc *-dvsmon-*/*.py # ERROR: /usr/share/dvswitch/sec-video-source.png is packaged in both dvswitch-git and dvswitch-git-client, and the packages do not conflict %exclude %{_datadir}/dvswitch/*.png %{_datadir}/dvswitch/* %files test %defattr(-,root,root,-) %dir /opt/test /opt/test/* %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.