mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
Compare commits
22 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 263ed6cc88 | |||
| 6f16724bfb | |||
| 171b33111c | |||
| 0aa85854a3 | |||
| d022bc152c | |||
| ba63e1fe4e | |||
| 60cb655cf4 | |||
| 47378ef593 | |||
| fa28d4e1c6 | |||
| 653cd87252 | |||
| 43449a8d07 | |||
| 96b6a89841 | |||
| 9b97cdf1a1 | |||
| 902a4b43fd | |||
| 82993a184a | |||
| 2faf3a24d2 | |||
| 620db9eb62 | |||
| b508a5c94c | |||
| 181a0be6a6 | |||
| c4b3856d1f | |||
| cb6064d9a1 | |||
| 0abd8da71f |
+14
-6
@@ -1,6 +1,9 @@
|
||||
%global commit r55
|
||||
%global date 20110821
|
||||
|
||||
Name: xavs
|
||||
Version: 0.1.55
|
||||
Release: 1%{?dist}
|
||||
Version: 0.1.55^%{date}svn%{commit}
|
||||
Release: 2%{?dist}
|
||||
Summary: AVS1 (First-generation AVS Standards) library
|
||||
License: GPLv2
|
||||
URL: https://xavs.sourceforge.net/
|
||||
@@ -10,7 +13,7 @@ BuildRequires: automake
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libtool
|
||||
BuildRequires: subversion
|
||||
#BuildRequires: yasm
|
||||
BuildRequires: yasm
|
||||
|
||||
%description
|
||||
AVS is a complete standard system including system, video, audio, and digital
|
||||
@@ -35,16 +38,21 @@ The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
%prep
|
||||
svn co https://svn.code.sf.net/p/xavs/code/trunk %{name}
|
||||
svn co -r %{commit} https://svn.code.sf.net/p/xavs/code/trunk %{name}
|
||||
%setup -T -D -n %{name}
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
%ifarch x86_64
|
||||
--enable-asm \
|
||||
--extra-cflags="-Wno-int-conversion -Wno-declaration-missing-parameter-type -Wno-implicit-function-declaration -Wno-incompatible-pointer-types -Xlinker -z -Xlinker multidefs" \
|
||||
%else
|
||||
--disable-asm \
|
||||
--extra-cflags="-Wno-int-conversion -Wno-declaration-missing-parameter-type" \
|
||||
%endif
|
||||
--enable-pic \
|
||||
--enable-shared \
|
||||
--extra-cflags="-Wno-int-conversion -Wno-declaration-missing-parameter-type"
|
||||
--enable-shared
|
||||
%make_build
|
||||
|
||||
%install
|
||||
|
||||
Reference in New Issue
Block a user