[packages/daala: 1/2] - updated to todays snapshot
qboosh
qboosh at pld-linux.org
Fri Feb 14 17:37:56 CET 2014
commit 1f9c22a59d7757ab6be6b54d469cb58d63d49b0a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Feb 14 17:39:22 2014 +0100
- updated to todays snapshot
daala.spec | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/daala.spec b/daala.spec
index c7a24ab..c4db19f 100644
--- a/daala.spec
+++ b/daala.spec
@@ -1,22 +1,27 @@
#
# Conditional build:
%bcond_without apidocs # do not build and package API docs
+%bcond_without tests # unit tests
#
Summary: Daala next-generation video codec
Summary(pl.UTF-8): Daala - kodek obrazu następnej generacji
Name: daala
Version: 0.0
-%define snap 20130928
+%define snap 20140214
Release: 0.%{snap}.1
License: BSD
Group: Libraries
# git clone https://git.xiph.org/daala.git
+# cd daala && ./update_version && cd ..
+# tar cJf daala.tar.xz daala
Source0: %{name}.tar.xz
-# Source0-md5: b3ab1702b39a35bb564861a84863584f
+# Source0-md5: 95bb883af28b16ff1312960cc52a2282
URL: http://xiph.org/daala/
BuildRequires: SDL-devel
BuildRequires: autoconf >= 2.53
BuildRequires: automake >= 1:1.11
+%{?with_tests:BuildRequires: check-devel >= 0.9.8}
+BuildRequires: libjpeg-devel
BuildRequires: libogg-devel >= 1:1.3
BuildRequires: libpng-devel
BuildRequires: libtheora-devel
@@ -93,9 +98,14 @@ Dokumentacja API bibliotek Daala.
%{__automake}
%configure \
%{!?with_apidocs:--disable-doc} \
- --disable-silent-rules
+ --disable-silent-rules \
+ %{!?with_tests:--disable-unit-tests}
%{__make}
+%if %{with tests}
+%{__make} check
+%endif
+
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/daala.git/commitdiff/fdf5d90f9faecf78634306a8e7cc2411bfde7a51
More information about the pld-cvs-commit
mailing list