chore(xavs): Update spec (#7243) (#12812)

* feat(xavs): Enable ASM for x86_64



* feat: Revision

Update versioning to include date and commit revision.



* fix: Aaaaa



* dshdfhasdfjsdfhjk



* ????



* ...?



* ...?



* Hmm



* Agh



* That wasn't it



* Try fetching snapshot again??



* I truly hate Sourceforge



* I hate PIC



* Update xavs.spec



* I don't know how Negativo is building this crap



* try `-Xlinker muldefs`



* ???



* Weird space



* I don't think this will work



* I also don't think this will work



* chore: Update CFLAGS



* Update xavs.spec



---------



(cherry picked from commit 5359a1afdb)

Signed-off-by: Gilver <rockgrub@disroot.org>
Signed-off-by: Gilver <roachy@fyralabs.com>
Co-authored-by: Gilver <roachy@fyralabs.com>
This commit is contained in:
Raboneko
2026-06-02 02:19:48 -05:00
committed by GitHub
parent 75a89640d6
commit c8ecddc207
+11 -7
View File
@@ -1,8 +1,13 @@
%global commit r55
%global date 20110821
%global _pkg_extra_cflags "-Wno-int-conversion -Wno-declaration-missing-parameter-type"
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
License: GPL-2.0-only
URL: https://xavs.sourceforge.net/
Patch0: %{name}-cflags.patch
BuildRequires: autoconf
@@ -10,7 +15,7 @@ BuildRequires: automake
BuildRequires: gcc
BuildRequires: libtool
BuildRequires: subversion
#BuildRequires: yasm
%dnl BuildRequires: yasm
%description
AVS is a complete standard system including system, video, audio, and digital
@@ -35,7 +40,7 @@ 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
@@ -43,8 +48,7 @@ svn co https://svn.code.sf.net/p/xavs/code/trunk %{name}
%configure \
--disable-asm \
--enable-pic \
--enable-shared \
--extra-cflags="-Wno-int-conversion -Wno-declaration-missing-parameter-type"
--enable-shared
%build
%make_build