Accepting request 186979 from multimedia:libs
- Add ppc64_altivec.patch: Enable altivec for powerpc64 (backport cce2cdb0dd246fa9669378f5a3b967464c88bf20) - Add autoreconf call in build section, as above patch touches the build system. - Package altivec plugins on powerpc OBS-URL: https://build.opensuse.org/request/show/186979 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=12
This commit is contained in:
commit
000a8cfdf5
11
ppc64_altivec.patch
Normal file
11
ppc64_altivec.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -1371,7 +1371,7 @@ AM_CONDITIONAL(HAVE_NEON, [test "${ac_cv_arm_neon}" = "yes"])
|
||||||
|
AC_ARG_ENABLE(altivec,
|
||||||
|
[AS_HELP_STRING([--disable-altivec],
|
||||||
|
[disable AltiVec optimizations (default auto)])],, [
|
||||||
|
- AS_IF([test "${host_cpu}" = "powerpc"],
|
||||||
|
+ AS_CASE(["${host_cpu}"], [powerpc*],
|
||||||
|
[enable_altivec=yes], [enable_altivec=no])
|
||||||
|
])
|
||||||
|
have_altivec="no"
|
13
vlc.changes
13
vlc.changes
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 9 14:20:19 UTC 2013 - dvaleev@suse.com
|
||||||
|
|
||||||
|
- Add ppc64_altivec.patch: Enable altivec for powerpc64
|
||||||
|
(backport cce2cdb0dd246fa9669378f5a3b967464c88bf20)
|
||||||
|
- Add autoreconf call in build section, as above patch touches the
|
||||||
|
build system.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 9 11:30:54 UTC 2013 - dvaleev@suse.com
|
||||||
|
|
||||||
|
- Package altivec plugins on powerpc
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Aug 3 13:09:04 UTC 2013 - dimstar@opensuse.org
|
Sat Aug 3 13:09:04 UTC 2013 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
12
vlc.spec
12
vlc.spec
@ -38,6 +38,7 @@ Patch1: fix_font_path.patch
|
|||||||
Patch3: 0001-no-return-in-non-void.patch
|
Patch3: 0001-no-return-in-non-void.patch
|
||||||
# PATCH-FIX-UPSTREAM vlc-avcodec-encoder-single-threaded.patch dimstar@opensuse.org -- Disable avcodec encoder multithreading for now, taken from git.
|
# PATCH-FIX-UPSTREAM vlc-avcodec-encoder-single-threaded.patch dimstar@opensuse.org -- Disable avcodec encoder multithreading for now, taken from git.
|
||||||
Patch4: vlc-avcodec-encoder-single-threaded.patch
|
Patch4: vlc-avcodec-encoder-single-threaded.patch
|
||||||
|
Patch5: ppc64_altivec.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: aalib-devel
|
BuildRequires: aalib-devel
|
||||||
BuildRequires: alsa-devel
|
BuildRequires: alsa-devel
|
||||||
@ -254,6 +255,7 @@ date
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
|
%patch5 -p1
|
||||||
rm -rf contrib
|
rm -rf contrib
|
||||||
echo '********* ENDED PREP PHASE *********'
|
echo '********* ENDED PREP PHASE *********'
|
||||||
date
|
date
|
||||||
@ -269,7 +271,8 @@ export CFLAGS="%{optflags} -L%{_libdir}/live"
|
|||||||
export CXXFLAGS="%{optflags} -L%{_libdir}/live"
|
export CXXFLAGS="%{optflags} -L%{_libdir}/live"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
#./bootstrap
|
# Needed for patch5
|
||||||
|
autoreconf -fi
|
||||||
%configure \
|
%configure \
|
||||||
--disable-dependency-tracking \
|
--disable-dependency-tracking \
|
||||||
--enable-aa \
|
--enable-aa \
|
||||||
@ -437,6 +440,9 @@ rm -rf "$RPM_BUILD_ROOT"
|
|||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
%dir %{_libdir}/vlc/plugins/3dnow
|
%dir %{_libdir}/vlc/plugins/3dnow
|
||||||
%endif
|
%endif
|
||||||
|
%ifarch ppc ppc64
|
||||||
|
%dir %{_libdir}/vlc/plugins/altivec
|
||||||
|
%endif
|
||||||
%dir %{_libdir}/vlc/plugins/access
|
%dir %{_libdir}/vlc/plugins/access
|
||||||
%dir %{_libdir}/vlc/plugins/access_output
|
%dir %{_libdir}/vlc/plugins/access_output
|
||||||
%dir %{_libdir}/vlc/plugins/audio_filter
|
%dir %{_libdir}/vlc/plugins/audio_filter
|
||||||
@ -523,6 +529,10 @@ rm -rf "$RPM_BUILD_ROOT"
|
|||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
%{_libdir}/vlc/plugins/3dnow/libmemcpy3dn_plugin.so
|
%{_libdir}/vlc/plugins/3dnow/libmemcpy3dn_plugin.so
|
||||||
%endif
|
%endif
|
||||||
|
%ifarch ppc ppc64
|
||||||
|
%{_libdir}/vlc/plugins/altivec/libi420_yuy2_altivec_plugin.so
|
||||||
|
%{_libdir}/vlc/plugins/altivec/libmemcpyaltivec_plugin.so
|
||||||
|
%endif
|
||||||
%{_libdir}/vlc/plugins/access/libaccess_alsa_plugin.so
|
%{_libdir}/vlc/plugins/access/libaccess_alsa_plugin.so
|
||||||
%{_libdir}/vlc/plugins/access/libaccess_attachment_plugin.so
|
%{_libdir}/vlc/plugins/access/libaccess_attachment_plugin.so
|
||||||
%{_libdir}/vlc/plugins/access/libaccess_bd_plugin.so
|
%{_libdir}/vlc/plugins/access/libaccess_bd_plugin.so
|
||||||
|
Loading…
x
Reference in New Issue
Block a user