]> git.pld-linux.org Git - packages/libass.git/blobdiff - libass.spec
BR: yasm >= 1.3.0 for x32 support
[packages/libass.git] / libass.spec
index bffea2511b1cd90be3d1f4eb086c2da85c7b6c35..2f5b1371e6754b7c530592c4852360ff731901cd 100644 (file)
@@ -2,7 +2,7 @@ Summary:        LibASS - SSA/ASS subtitles rendering library
 Summary(pl.UTF-8):     LibASS - biblioteka renderujÄ…ca napisy SSA/ASS
 Name:          libass
 Version:       0.12.1
-Release:       2
+Release:       3
 License:       MIT-like
 Group:         Libraries
 Source0:       http://github.com/libass/libass/releases/download/%{version}/%{name}-%{version}.tar.xz
@@ -20,6 +20,7 @@ BuildRequires:        libtool
 BuildRequires: pkgconfig
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
+BuildRequires: yasm >= 1.3.0
 Requires:      fontconfig-libs >= 1:2.4.2
 Requires:      freetype >= 1:2.2.1
 Requires:      fribidi >= 0.19.0
@@ -71,6 +72,10 @@ Statyczna biblioteka LibASS.
 %prep
 %setup -q
 
+%ifarch x32
+%{__sed} -i -e 's|-f elf |-f elfx32 |' configure.ac
+%endif
+
 %build
 %{__libtoolize}
 %{__aclocal} -I m4
@@ -78,9 +83,6 @@ Statyczna biblioteka LibASS.
 %{__autoheader}
 %{__automake}
 %configure \
-%ifarch x32
-       --disable-asm \
-%endif
        --disable-silent-rules
 
 %{__make}
This page took 0.063192 seconds and 4 git commands to generate.