chore(xavs): Update spec (#7243)

* feat(xavs): Enable ASM for x86_64

Signed-off-by: Gilver <rockgrub@disroot.org>

* feat: Revision

Update versioning to include date and commit revision.

Signed-off-by: Gilver <rockgrub@disroot.org>

* fix: Aaaaa

Signed-off-by: Gilver <rockgrub@disroot.org>

* dshdfhasdfjsdfhjk

Signed-off-by: Gilver <rockgrub@disroot.org>

* ????

Signed-off-by: Gilver <rockgrub@disroot.org>

* ...?

Signed-off-by: Gilver <rockgrub@disroot.org>

* ...?

Signed-off-by: Gilver <rockgrub@disroot.org>

* Hmm

Signed-off-by: Gilver <rockgrub@disroot.org>

* Agh

Signed-off-by: Gilver <rockgrub@disroot.org>

* That wasn't it

Signed-off-by: Gilver <rockgrub@disroot.org>

* Try fetching snapshot again??

Signed-off-by: Gilver <rockgrub@disroot.org>

* I truly hate Sourceforge

Signed-off-by: Gilver <rockgrub@disroot.org>

* I hate PIC

Signed-off-by: Gilver <rockgrub@disroot.org>

* Update xavs.spec

Signed-off-by: Gilver <rockgrub@disroot.org>

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

Signed-off-by: Gilver <rockgrub@disroot.org>

* try `-Xlinker muldefs`

Signed-off-by: Gilver <rockgrub@disroot.org>

* ???

Signed-off-by: Gilver <rockgrub@disroot.org>

* Weird space

Signed-off-by: Gilver <rockgrub@disroot.org>

* I don't think this will work

Signed-off-by: Gilver <rockgrub@disroot.org>

* I also don't think this will work

Signed-off-by: Gilver <rockgrub@disroot.org>

* chore: Update CFLAGS

Signed-off-by: Gilver <roachy@fyralabs.com>

* Update xavs.spec

Signed-off-by: Gilver <roachy@fyralabs.com>

---------

Signed-off-by: Gilver <rockgrub@disroot.org>
Signed-off-by: Gilver <roachy@fyralabs.com>
This commit is contained in:
Gilver
2026-06-02 02:13:15 -05:00
committed by GitHub
parent 47c4d26592
commit 5359a1afdb
+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