Accepting request 288265 from multimedia:libs
1 OBS-URL: https://build.opensuse.org/request/show/288265 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gavl?expand=0&rev=11
This commit is contained in:
commit
17514fbf5e
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:51aaac41391a915bd9bad07710957424b046410a276e7deaff24a870929d33ce
|
||||
size 4592701
|
3
gavl-4256.tar.gz
Normal file
3
gavl-4256.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0ffe6a37ffbe34afb4937269e4b0598079ab8f4a289792cfd827677ffb5a45c0
|
||||
size 4332484
|
@ -1,61 +0,0 @@
|
||||
Index: gavl-1.4.0/acinclude.m4
|
||||
===================================================================
|
||||
--- gavl-1.4.0.orig/acinclude.m4
|
||||
+++ gavl-1.4.0/acinclude.m4
|
||||
@@ -46,7 +46,9 @@ AC_DEFUN([AC_C99_FUNC_LRINT],
|
||||
ac_cv_c99_lrint,
|
||||
[
|
||||
lrint_save_CFLAGS=$CFLAGS
|
||||
-CFLAGS="-O2 -lm"
|
||||
+lrint_save_LIBS=$LIBS
|
||||
+CFLAGS="$CFLAGS -O2"
|
||||
+LIBS="$LIBS -lm"
|
||||
AC_TRY_LINK([
|
||||
#define _ISOC9X_SOURCE 1
|
||||
#define _ISOC99_SOURCE 1
|
||||
@@ -57,6 +59,7 @@ AC_TRY_LINK([
|
||||
], if (!lrint(3.14159)) lrint(2.7183);, ac_cv_c99_lrint=yes, ac_cv_c99_lrint=no)
|
||||
|
||||
CFLAGS=$lrint_save_CFLAGS
|
||||
+LIBS=$lrint_save_LIBS
|
||||
|
||||
])
|
||||
|
||||
Index: gavl-1.4.0/configure.ac
|
||||
===================================================================
|
||||
--- gavl-1.4.0.orig/configure.ac
|
||||
+++ gavl-1.4.0/configure.ac
|
||||
@@ -129,6 +129,7 @@ fi
|
||||
dnl
|
||||
dnl Check for library functions
|
||||
dnl
|
||||
+AC_CHECK_FUNC(m,sinf)
|
||||
|
||||
AC_CHECK_FUNCS([memalign])
|
||||
AC_CHECK_FUNCS([sched_setaffinity])
|
||||
Index: gavl-1.4.0/src/Makefile.am
|
||||
===================================================================
|
||||
--- gavl-1.4.0.orig/src/Makefile.am
|
||||
+++ gavl-1.4.0/src/Makefile.am
|
||||
@@ -30,7 +30,7 @@ benchmark_LDADD = ../gavl/libgavl.la @RT
|
||||
|
||||
|
||||
volume_test_SOURCES = volume_test.c
|
||||
-volume_test_LDADD = ../gavl/libgavl.la
|
||||
+volume_test_LDADD = ../gavl/libgavl.la -lm
|
||||
|
||||
dump_frame_table_SOURCES = dump_frame_table.c
|
||||
dump_frame_table_LDADD = ../gavl/libgavl.la
|
||||
Index: gavl-1.4.0/src/Makefile.in
|
||||
===================================================================
|
||||
--- gavl-1.4.0.orig/src/Makefile.in
|
||||
+++ gavl-1.4.0/src/Makefile.in
|
||||
@@ -282,7 +282,7 @@ pixelformat_penalty_LDADD = ../gavl/libg
|
||||
benchmark_SOURCES = benchmark.c
|
||||
benchmark_LDADD = ../gavl/libgavl.la @RT_LIBS@
|
||||
volume_test_SOURCES = volume_test.c
|
||||
-volume_test_LDADD = ../gavl/libgavl.la
|
||||
+volume_test_LDADD = ../gavl/libgavl.la -lm
|
||||
dump_frame_table_SOURCES = dump_frame_table.c
|
||||
dump_frame_table_LDADD = ../gavl/libgavl.la
|
||||
colorspace_test_SOURCES = colorspace_test.c
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 23 01:35:48 UTC 2015 - avvissu@yandex.ru
|
||||
|
||||
- Update to rsvn4256
|
||||
- Remove gavl-autoconf.patch (solved in upstream)
|
||||
- Fix file-contains-date-and-time: add HTML_TIMESTAMP = NO
|
||||
- Add /bin/gavfdump for package devel
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 23 12:49:11 CEST 2014 - ohering@suse.de
|
||||
|
||||
|
22
gavl.spec
22
gavl.spec
@ -17,16 +17,17 @@
|
||||
|
||||
|
||||
%define soname 1
|
||||
%define rev 4256
|
||||
|
||||
Name: gavl
|
||||
Version: 1.4.0
|
||||
Version: 1.4.0rsvn%{rev}
|
||||
Release: 0
|
||||
Summary: Library which provides basic support for uncompressed multimedia data
|
||||
License: GPL-3.0+
|
||||
Group: System/Libraries
|
||||
Url: http://gmerlin.sourceforge.net/
|
||||
Source0: http://sourceforge.net/projects/gmerlin/files/gavl/%{version}/gavl-%{version}.tar.gz
|
||||
Patch0: gavl-autoconf.patch
|
||||
#svn checkout http://svn.code.sf.net/p/gmerlin/code/trunk/gavl/
|
||||
Source0: gavl-%{rev}.tar.gz
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: doxygen
|
||||
@ -75,8 +76,10 @@ formats and provides some elementary operations (copying, scaling, alpha
|
||||
blending etc).
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%setup -q -n %{name}
|
||||
|
||||
#Do not compile in DATE and TIME
|
||||
echo 'HTML_TIMESTAMP = NO' >> doc/Doxyfile.in
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
@ -91,14 +94,19 @@ find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
|
||||
|
||||
%postun -n libgavl%{soname} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING README TODO
|
||||
%{_bindir}/gavfdump
|
||||
%exclude %{_docdir}/%{name}/apiref
|
||||
|
||||
%files -n libgavl%{soname}
|
||||
%defattr(0644, root, root, 0755)
|
||||
%doc AUTHORS COPYING README TODO
|
||||
%{_libdir}/libgavl.so.%{soname}*
|
||||
|
||||
%files -n libgavl-devel
|
||||
%defattr(0644, root, root, 0755)
|
||||
%{_docdir}/%{name}/
|
||||
%{_docdir}/%{name}/apiref
|
||||
%{_libdir}/libgavl.so
|
||||
%{_includedir}/%{name}/
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
Loading…
x
Reference in New Issue
Block a user