Overview
snowmix.changes
Added
x
1
2
+-------------------------------------------------------------------
3
+Sun Dec 13 14:53:52 UTC 2015 - avvissu@yandex.ru
4
+
5
+- Initial build
6
+
7
snowmix.spec
Added
127
1
2
+#
3
+# spec file for package snowmix
4
+#
5
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
6
+#
7
+# All modifications and additions to the file contributed by third parties
8
+# remain the property of their copyright owners, unless otherwise agreed
9
+# upon. The license for this file, and modifications and additions to the
10
+# file, is the same license as for the pristine package itself (unless the
11
+# license for the pristine package is not an Open Source License, in which
12
+# case the license is the MIT License). An "Open Source License" is a
13
+# license that conforms to the Open Source Definition (Version 1.9)
14
+# published by the Open Source Initiative.
15
+
16
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
17
+#
18
+
19
+
20
+%define srcname Snowmix
21
+%define namegui snowmixgui
22
+Name: snowmix
23
+Version: 0.5.1
24
+Release: 0
25
+Summary: Live Video Mixer
26
+License: GPL-3.0
27
+Group: Productivity/Multimedia/Video/Editors and Convertors
28
+Url: http://snowmix.sourceforge.net/
29
+Source0: http://sourceforge.net/projects/snowmix/files/%{srcname}-%{version}.tar.gz
30
+# PATCH-FIX-OPENSUSE dir.patch avvissu@yandex.ru -- Change symbolic links
31
+Patch0: Snowmix-0.5.1_dir.patch
32
+BuildRequires: autoconf
33
+BuildRequires: automake
34
+BuildRequires: fdupes
35
+BuildRequires: gcc-c++
36
+BuildRequires: intltool
37
+BuildRequires: libtool
38
+BuildRequires: fdupes
39
+BuildRequires: pkgconfig
40
+BuildRequires: freeglut-devel
41
+BuildRequires: pkgconfig(cairo)
42
+BuildRequires: pkgconfig(gtk+-3.0)
43
+BuildRequires: pkgconfig(libpng)
44
+BuildRequires: pkgconfig(osmesa)
45
+BuildRequires: pkgconfig(pango)
46
+BuildRequires: pkgconfig(sdl)
47
+BuildRequires: pkgconfig(tcl)
48
+BuildRequires: update-desktop-files
49
+Requires: gstreamer-plugins-bad
50
+Requires: gstreamer-plugins-base
51
+Requires: gstreamer-plugins-good
52
+Requires: gstreamer-plugins-libav
53
+Requires: gstreamer-plugins-ugly
54
+Requires: gstreamer-utils
55
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
56
+
57
+%description
58
+Snowmix is a Swiss army knife tool for mixing live and recorded video and
59
+audio feeds. It supports 2D and 3D clipping, scaling and transparent
60
+overlay of video, png graphics and text. It supports animation of video,
61
+images and texts through native commands changing scale, placement,
62
+transparency and rotation. Animation and actions can also be controlled
63
+through native scripting and an embedded Tcl interpreter. Snowmix is
64
+designed for control over low bandwidth links and can work as a standalone
65
+CLI based program. Control over both CLI and a TCP connections.
66
+
67
+%prep
68
+%setup -q -n %{srcname}-%{version}
69
+%patch0 -p1
70
+
71
+%build
72
+export LIBS="-ltcl8.6"
73
+autoreconf -fiv
74
+
75
+# Use datadir instead of libdir: libraries are mostly written in tcl
76
+%configure \
77
+ --enable-snowmixgui \
78
+ --enable-snowmixosmesa \
79
+ --enable-snowmixx11 \
80
+ --enable-snowmixglu \
81
+ --enable-snowmixglut \
82
+ --libdir=%{_datadir} \
83
+ --libexecdir=%{_datadir}
84
+
85
+make %{?_smp_mflags}
86
+
87
+%install
88
+%make_install tcldir="%{_datadir}/%{srcname}-%{version}/tcl"
89
+
90
+install -d %{buildroot}%{_sysconfdir}/profile.d
91
+cat<<EOF > "%{buildroot}%{_sysconfdir}/profile.d/%{name}.sh"
92
+if [ -f %{_bindir}/%{name} ]; then
93
+export SNOWMIX="%{_datadir}/%{srcname}-%{version}"
94
+fi
95
+EOF
96
+
97
+%fdupes -s %{buildroot}%{_datadir}
98
+
99
+%files
100
+%defattr(-,root,root,-)
101
+%doc AUTHORS ChangeLog COPYING ReleaseNotes
102
+%{_bindir}/av_output2dummy
103
+%{_bindir}/av_output2screen
104
+%{_bindir}/av_output2tcp_server
105
+%{_bindir}/gstreamer-settings
106
+%{_bindir}/input2feed
107
+%{_bindir}/output2dummy
108
+%{_bindir}/output2file
109
+%{_bindir}/output2rtp
110
+%{_bindir}/output2screen
111
+%{_bindir}/output2screen-auto
112
+%{_bindir}/rtsp2feed
113
+%{_bindir}/rtsp2feed2
114
+%{_bindir}/snowaudio.tcl
115
+%{_bindir}/snowmix
116
+%{_bindir}/snowmix-settings
117
+%{_bindir}/snowmix_demo
118
+%{_bindir}/snowmixgui
119
+%{_bindir}/snowoutput.tcl
120
+%{_bindir}/snowrelay.tcl
121
+%{_bindir}/snowscene.tcl
122
+%{_bindir}/v4l2input2feed
123
+%{_datadir}/%{srcname}-%{version}
124
+%config %{_sysconfdir}/profile.d/%{name}.sh
125
+
126
+%changelog
127
Snowmix-0.5.1_dir.patch
Added
34
1
2
+diff -U 3 -dHrN Snowmix-0.5.1.orig/scripts/Makefile.am Snowmix-0.5.1/scripts/Makefile.am
3
+--- Snowmix-0.5.1.orig/scripts/Makefile.am 2015-02-04 14:01:24.000000000 +0300
4
++++ Snowmix-0.5.1/scripts/Makefile.am 2016-02-24 23:12:04.363518550 +0300
5
+@@ -15,8 +15,8 @@
6
+
7
+ install-exec-hook:
8
+ cd $(DESTDIR)$(bindir) && \
9
+- for file in $(scripts_SCRIPTS) ; do $(LN_S) -f ../lib/Snowmix-$(VERSION)/scripts/$$file ; done && \
10
+- $(LN_S) -f ../lib/Snowmix-$(VERSION)/scripts/demo snowmix_demo
11
++ for file in $(scripts_SCRIPTS) ; do $(LN_S) -f ../share/Snowmix-$(VERSION)/scripts/$$file ; done && \
12
++ $(LN_S) -f ../share/Snowmix-$(VERSION)/scripts/demo snowmix_demo
13
+
14
+ uninstall-hook:
15
+ cd $(DESTDIR)$(libdir)/Snowmix-$(VERSION)/scripts && \
16
+diff -U 3 -dHrN Snowmix-0.5.1.orig/tcl/Makefile.am Snowmix-0.5.1/tcl/Makefile.am
17
+--- Snowmix-0.5.1.orig/tcl/Makefile.am 2016-01-29 01:47:31.000000000 +0300
18
++++ Snowmix-0.5.1/tcl/Makefile.am 2016-02-24 23:14:05.829588681 +0300
19
+@@ -10,10 +10,10 @@
20
+ $(LN_S) -f snowscene.tcl snowoutput.tcl && \
21
+ $(LN_S) -f snowscene.tcl snowrelay.tcl && \
22
+ cd $(DESTDIR)$(bindir) && \
23
+- $(LN_S) -f ../lib/Snowmix-$(VERSION)/tcl/snowscene.tcl && \
24
+- $(LN_S) -f ../lib/Snowmix-$(VERSION)/tcl/snowscene.tcl snowaudio.tcl && \
25
+- $(LN_S) -f ../lib/Snowmix-$(VERSION)/tcl/snowscene.tcl snowoutput.tcl && \
26
+- $(LN_S) -f ../lib/Snowmix-$(VERSION)/tcl/snowscene.tcl snowrelay.tcl
27
++ $(LN_S) -f ../share/Snowmix-$(VERSION)/tcl/snowscene.tcl && \
28
++ $(LN_S) -f ../share/Snowmix-$(VERSION)/tcl/snowscene.tcl snowaudio.tcl && \
29
++ $(LN_S) -f ../share/Snowmix-$(VERSION)/tcl/snowscene.tcl snowoutput.tcl && \
30
++ $(LN_S) -f ../share/Snowmix-$(VERSION)/tcl/snowscene.tcl snowrelay.tcl
31
+
32
+ uninstall-hook:
33
+ if test -h $(DESTDIR)$(bindir)/snowaudio.tcl ; then rm $(DESTDIR)$(bindir)/snowaudio.tcl ; fi && \
34
Snowmix-0.5.1.tar.gz
Added
Refresh
Refresh
Login required, please
login
or
signup
in order to comment
Request History
awissu created request about 9 years ago
olh accepted request about 9 years ago
Please add a comment