Overview

Request 5155 (accepted)

Package from Extra with a couple of fixes. x264 people prefer this over gpac.

Submit package home:Aloysius:branches:Essentials / l-smash to package Essentials / l-smash

l-smash.changes Added
x
 
1
@@ -0,0 +1,36 @@
2
+-------------------------------------------------------------------
3
+Sat Jul 11 09:55:30 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
4
+
5
+- Drop l-smash-DATE_TIME.patch (no longer necessary)
6
+- Add l-smash-PIE.patch
7
+- Use correct license
8
+- Spec cleanup
9
+
10
+-------------------------------------------------------------------
11
+Thu Oct 11 06:25:45 UTC 2018 - aloisio@gmx.com
12
+
13
+- Update to version 2.14.5 (no changelog supplied)
14
+- Use stable tarball
15
+- Refreshed l-smash-DATE_TIME.patch
16
+- Spec cleanup
17
+
18
+-------------------------------------------------------------------
19
+Tue Feb 09 05:41:18 UTC 2016 - i@marguerite.su
20
+
21
+- Update to version 2.9.1+git20151003.3408947:
22
+  + description: Make description setup functions more encapsulated.
23
+  + read: Select description reader by sane procedure.
24
+  + mp4a: Fix failure of bitrate update and QTFF output.
25
+  + read: Select description allocator by sane procedure.
26
+  + write: Select description writer by sane procedure.
27
+  + print: Select description printer by sane procedure.
28
+  + read: Read sample entry immediately as unknown if media 'hdlr' is not found.
29
+  + write: Don't write sample entry if media 'hdlr' is not found.
30
+  + MSVC: add missing source files.
31
+  + cli/muxer: Add 'par' track option, which specifies pixel aspect ratio.
32
+
33
+-------------------------------------------------------------------
34
+Mon Apr 21 15:39:34 UTC 2014 - i@margueirte.su
35
+
36
+- initial version 20140421
37
+
38
l-smash.spec Added
98
 
1
@@ -0,0 +1,96 @@
2
+#
3
+# spec file for package l-smash
4
+#
5
+# Copyright (c) 2020 Packman Team <packman@links2linux.de>
6
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
7
+#
8
+# All modifications and additions to the file contributed by third parties
9
+# remain the property of their copyright owners, unless otherwise agreed
10
+# upon. The license for this file, and modifications and additions to the
11
+# file, is the same license as for the pristine package itself (unless the
12
+# license for the pristine package is not an Open Source License, in which
13
+# case the license is the MIT License). An "Open Source License" is a
14
+# license that conforms to the Open Source Definition (Version 1.9)
15
+# published by the Open Source Initiative.
16
+
17
+# Please submit bugfixes or comments via https://bugs.links2linux.org/
18
+#
19
+
20
+
21
+%define sover   2
22
+Name:           l-smash
23
+Version:        2.14.5
24
+Release:        0
25
+Summary:        A simple tool for MP4
26
+License:        ISC
27
+Group:          System/Libraries
28
+URL:            https://github.com/l-smash/l-smash
29
+Source:         https://github.com/l-smash/l-smash/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
30
+#PATCH-FIX-UPSTREAM marguerite@opensuse.org - importer.h is needed by x264_tMod
31
+Patch1:         %{name}-install_importer.h.patch
32
+#PATCH-FEATURE-OPENSUSE l-smash-PIE.patch build tools as PIE -- aloisio@gmx.com
33
+Patch3:         l-smash-PIE.patch
34
+BuildRequires:  pkgconfig
35
+Requires:       liblsmash%{sover} = %{version}
36
+
37
+%description
38
+Loyal to Spec of Mpeg4 and Ad-hoc Simple Hackwork.
39
+Yet another opensource mp4 handler™
40
+
41
+%package -n liblsmash%{sover}
42
+Summary:        Libraries of L-SMASH
43
+Group:          System/Libraries
44
+
45
+%description -n liblsmash%{sover}
46
+Loyal to Spec of Mpeg4 and Ad-hoc Simple Hackwork.
47
+Yet another opensource mp4 handler™
48
+
49
+This package provides runtime libraries for L-SMASH.
50
+
51
+%package devel
52
+Summary:        Development headers for L-SMASH
53
+Group:          Development/Libraries/C and C++
54
+Requires:       %{name} = %{version}
55
+
56
+%description devel
57
+Loyal to Spec of Mpeg4 and Ad-hoc Simple Hackwork.
58
+Yet another opensource mp4 handler™
59
+
60
+This package provides development headers for L-SMASH.
61
+
62
+%prep
63
+%autosetup -p1
64
+
65
+%build
66
+./configure --prefix=%{_prefix} \
67
+   --libdir=%{_libdir} \
68
+   --disable-static \
69
+   --enable-shared \
70
+   --enable-debug \
71
+   --extra-cflags="%{optflags}"
72
+%make_build
73
+
74
+%install
75
+%make_install
76
+
77
+%post -n liblsmash%{sover} -p /sbin/ldconfig
78
+
79
+%postun -n liblsmash%{sover} -p /sbin/ldconfig
80
+
81
+%files
82
+%license LICENSE
83
+%{_bindir}/boxdumper
84
+%{_bindir}/muxer
85
+%{_bindir}/remuxer
86
+%{_bindir}/timelineeditor
87
+
88
+%files -n liblsmash%{sover}
89
+%{_libdir}/liblsmash.so.%{sover}
90
+
91
+%files devel
92
+%{_includedir}/lsmash.h
93
+%{_includedir}/lsmash_importer.h
94
+%{_libdir}/liblsmash.so
95
+%{_libdir}/pkgconfig/liblsmash.pc
96
+
97
+%changelog
98
l-smash-PIE.patch Added
15
 
1
@@ -0,0 +1,13 @@
2
+Index: l-smash-2.14.5/configure
3
+===================================================================
4
+--- l-smash-2.14.5.orig/configure
5
++++ l-smash-2.14.5/configure
6
+@@ -493,7 +493,7 @@ EOF
7
+ for tool in $TOOLS; do
8
+     cat >> config.mak2 << EOF
9
+ cli/${tool}${EXT}: cli/${tool}.o $OBJ_TOOLS $STATICLIB $SHAREDLIB
10
+-  \$(CC) \$(CFLAGS) \$(LDFLAGS) -o \$@ \$< $OBJ_TOOLS -llsmash \$(LIBS)
11
++  \$(CC) \$(CFLAGS) -fPIE \$(LDFLAGS) -pie -o \$@ \$< $OBJ_TOOLS -llsmash \$(LIBS)
12
+   -@ \$(if \$(STRIP), \$(STRIP) \$@)
13
+ 
14
+ EOF
15
l-smash-install_importer.h.patch Added
14
 
1
@@ -0,0 +1,12 @@
2
+Index: l-smash-20140421/Makefile
3
+===================================================================
4
+--- l-smash-20140421.orig/Makefile
5
++++ l-smash-20140421/Makefile
6
+@@ -43,6 +43,7 @@ install: all install-lib
7
+ install-lib: liblsmash.pc lib
8
+   install -d $(DESTDIR)$(includedir)
9
+   install -m 644 $(SRCDIR)/lsmash.h $(DESTDIR)$(includedir)
10
++  install -m 644 $(SRCDIR)/importer/importer.h $(DESTDIR)$(includedir)/lsmash_importer.h
11
+   install -d $(DESTDIR)$(libdir)/pkgconfig
12
+   install -m 644 liblsmash.pc $(DESTDIR)$(libdir)/pkgconfig
13
+ ifneq ($(STATICLIB),)
14
l-smash-2.14.5.tar.gz Added
Refresh
Refresh
Request History
Luigi Baldoni's avatar

Aloysius created request over 4 years ago

Package from Extra with a couple of fixes. x264 people prefer this over gpac.


Olaf Hering's avatar

olh accepted request over 4 years ago