Projects
Essentials
libx264
Sign Up
Log In
Username
Password
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 32
View file
libx264-x264.changes
Deleted
@@ -1,450 +0,0 @@ -------------------------------------------------------------------- -Sat Nov 28 14:21:00 UTC 2020 - Luigi Baldoni <aloisio@gmx.com> - -- Update to git version 0.161+git20200912.d198931a -- Bump soversion to 161 -- Drop x264-gpac10.patch (merged upstream) -- Switch default muxer/demuxer library to l-smash and make gpac - optional -- Add new update.sh helper script -- Enable lto via switch - -------------------------------------------------------------------- -Sat Jul 11 14:30:44 UTC 2020 - Luigi Baldoni <aloisio@gmx.com> - -- Update to git version 0.160+git20200702.cde9a933 -- Bump soversion to 160 -- Add x264-gpac10.patch and x264-gpac_no_static.patch -- Spec cleanup - -------------------------------------------------------------------- -Mon Mar 30 14:27:04 UTC 2020 - Antonio Larrosa <antonio.larrosa@gmail.com> - -- Update to git version 0.159+git20191127.1771b556 -- Use _service to retrieve the git sources -- Bump soname to 159 -- Remove patch which is already included upstream - * 0001-cli-Fix-linking-with-system-libx264-on-x86.patch -- Rebase x264-use-shared-library.patch -- Removed a rpmlint error by rephrasing the summary of the libx264-x264 package - -------------------------------------------------------------------- -Sat Feb 2 19:22:57 UTC 2019 - antonio.larrosa@gmail.com - -- Update to 20190201 snapshot - * Unify 8-bit and 10-bit CLI and libraries - - Add 'i_bitdepth' to x264_param_t with the corresponding - '--output-depth' CLI option to set the bit depth at runtime. - * x86inc: Fix VEX -> EVEX instruction conversion stable - * configure: Fix required version checks for lavf and... - * Fix float division by zero in weightp analysis - * Fix undefined behavior of left shift for CAVLC encoding - * Fix integer overflow in slicetype_path_cost - * cli: Fix preset help listing - * ppc: Fix zigzag_interleave - * Fix clang stack alignment issues - * Fix missing bs_flush in AUD writing - * Fix possible undefined behavior of right shift - * Make bs_align_10 imply bs_flush - * Fix theoretically incorrect cost_mv_fpel free - * configure: Fix ambiguous "$((" - * Fix --qpmax default value in fullhelp - * x86: Correctly use v-prefix for instructions with opmasks - * configure: Only use gas-preprocessor with armasm for... -- Bump soname to 155 following upstream changes. -- Rebase x264-use-shared-library.patch -- Add 0001-cli-Fix-linking-with-system-libx264-on-x86.patch from - upstream to fix building the cli x264 tool on x86. - -------------------------------------------------------------------- -Thu Apr 12 19:20:39 UTC 2018 - zaitor@opensuse.org - -- Bump soname in baselibs.conf, forgotten i previous version - update. - -------------------------------------------------------------------- -Fri Mar 23 12:39:21 UTC 2018 - enzokiel@kabelmail.de - -- Build with nasm >= 2.13 for openSUSE Leap 42.3 and SLE-12. - -------------------------------------------------------------------- -Tue Mar 6 14:26:46 UTC 2018 - zaitor@opensuse.org - -- Update to 20180305 snapshot. -- Bump soname to 152 following upstream changes. -- Conditionally BuildRequire nasm for current versions of - openSUSE and pass conditional --disable-asm to openSUSE Leap 43.3 - and SLE-12. - -------------------------------------------------------------------- -Thu Aug 17 20:06:25 UTC 2017 - aloisio@gmx.com - -- Update to 20170816 snapshot - -------------------------------------------------------------------- -Tue Dec 20 12:44:42 UTC 2016 - scarabeus@opensuse.org - -- Update to 20161220 snapshot -- Update homepage -- Move x264 package here there is no reason for the split - -------------------------------------------------------------------- -Tue Sep 6 12:53:31 UTC 2016 - ismail@i10z.com - -- Update to 20160905 snapshot - -------------------------------------------------------------------- -Sun May 1 06:52:05 UTC 2016 - aloisio@gmx.com - -- Update to 20160430 snapshot -- Refreshed x264-use-shared-library.patch - -------------------------------------------------------------------- -Wed Aug 5 13:04:18 UTC 2015 - ismail@i10z.com - -- update to 20150804 snapshot - -------------------------------------------------------------------- -Sun Mar 1 09:33:42 UTC 2015 - i@margueirte.su - -- update version 20141218 - -------------------------------------------------------------------- -Wed Nov 5 12:33:30 UTC 2014 - i@margueirte.su - -- update version 20141104 - -------------------------------------------------------------------- -Sat Mar 22 17:10:14 UTC 2014 - i@margueirte.su - -- update version 20140321. - -------------------------------------------------------------------- -Tue Nov 19 07:53:08 UTC 2013 - obs@botter.cc - -- add -fno-aggressive-loop-optimizations to extra-cflags in - configure for >= 13.1 (specfile), see also - https://bugs.launchpad.net/ubuntu/+source/x264/+bug/1241772 - MAY BE REMOVED on upstream fix - -------------------------------------------------------------------- -Wed Jul 24 14:11:22 UTC 2013 - i@margueirte.su - -- update version 20130723. - -------------------------------------------------------------------- -Thu Mar 7 00:36:00 UTC 2013 - marguerite@opensuse.org - -- fallback to 8-bit depth again. - * A user said he still need 8-bit to use `baseline` profile - for very old android phones. - -------------------------------------------------------------------- -Sun Feb 24 11:57:00 UTC 2013 - marguerite@opensuse.org - -- update version 20130224. -- enable 10 bit depth by default. - -------------------------------------------------------------------- -Thu Nov 1 19:55:38 UTC 2012 - pascal.bleser@opensuse.org - -- only build the x264 library, to avoid cycles with ffmpeg (which - requires libx264) - -------------------------------------------------------------------- -Sat Sep 29 00:00:00 UTC 2012 - Manfred.Tremmel@iiv.de - -- update to snapshot 20120928 - -------------------------------------------------------------------- -Sat May 26 00:00:00 UTC 2012 - Manfred.Tremmel@iiv.de - -- update to snapshot 20120525 - -------------------------------------------------------------------- -Sat Apr 14 00:00:00 UTC 2012 - Manfred.Tremmel@iiv.de - -- update to snapshot 20120414 - -------------------------------------------------------------------- -Mon Mar 12 09:33:21 UTC 2012 - toddrme2178@gmail.com - -- Cleaned up spec file formatting -- Added 32bit compatibility version (needed by - gstreamer-0_10-plugins-ugly-orig-addon-32bit) - -------------------------------------------------------------------- -Fri Jan 27 00:00:00 UTC 2012 - Manfred.Tremmel@iiv.de - -- update to snapshot 20120126 - -------------------------------------------------------------------- -Tue Dec 27 00:00:00 UTC 2011 - Manfred.Tremmel@iiv.de - -- update to snapshot 20111226 - -------------------------------------------------------------------- -Wed Sep 23 00:00:00 UTC 2011 - Manfred.Tremmel@iiv.de - -- update to snapshot 20111122 - -------------------------------------------------------------------- -Thu Sep 08 00:00:00 UTC 2011 - Manfred.Tremmel@iiv.de - -- update to snapshot 20110907 - -------------------------------------------------------------------- -Thu Jun 23 11:17:00 UTC 2011 - Manfred.Tremmel@iiv.de - -- update to snapshot 20110622
View file
libx264.changes
Changed
@@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Tue Dec 29 16:16:16 UTC 2020 - olaf@aepfle.de + +- Fix arm build with libx264.patch + +------------------------------------------------------------------- Sat Nov 28 14:21:00 UTC 2020 - Luigi Baldoni <aloisio@gmx.com> - Update to git version 0.161+git20200912.d198931a
View file
libx264-x264.spec
Deleted
@@ -1,180 +0,0 @@ -# -# spec file for package libx264 -# -# Copyright (c) 2020 Packman Team <packman@links2linux.de> -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. - -# Please submit bugfixes or comments via https://bugs.links2linux.org/ -# - - -%define _lto_cflags %{nil} -# remember to adjust baselibs.conf -%define sover 161 -%bcond_with gpac -##### WARNING: please do not edit this auto generated spec file. Use the libx264.spec! ##### -%bcond_without x264_binary -Name: libx264-x264 -Version: 0.161+git20200912.d198931a -Release: 0 -Summary: Command line tool for libx264 -License: GPL-2.0-or-later -Group: Productivity/Multimedia/Video/Editors and Convertors -URL: http://www.videolan.org/developers/x264.html -Source: x264-%{version}.tar.xz -Source1: baselibs.conf -Patch0: x264-use-shared-library.patch -# PATCH_FIX-OPENSUSE x264-gpac_no_static.patch -Patch2: x264-gpac_no_static.patch -BuildRequires: nasm >= 2.13 -BuildRequires: pkgconfig -BuildRequires: yasm >= 1.2.0 -%if %{with x264_binary} -%if %{with gpac} -BuildRequires: pkgconfig(gpac) -%else -BuildRequires: pkgconfig(liblsmash) -%endif -BuildRequires: pkgconfig(ffms2) -BuildRequires: pkgconfig(libavcodec) -BuildRequires: pkgconfig(libavformat) -BuildRequires: pkgconfig(libavutil) -BuildRequires: pkgconfig(libswscale) -BuildRequires: pkgconfig(zlib) -%endif - -%description -x264 is a free library for encoding next-generation H264/AVC video -streams. The code is written from scratch by Laurent Aimar, Loren -Merritt, Eric Petit (OS X), Min Chen (vfw/asm), Justin Clay (vfw), Mans -Rullgard, Radek Czyz, Christian Heine (asm), Alex Izvorski (asm), and -Alex Wright. It is released under the terms of the GPL license. This -package contains a shared library and a commandline tool for encoding -H264 streams. This library is needed for mplayer/mencoder for H264 -encoding support. - -Encoder features: -- CAVLC/CABAC -- Multi-references -- Intra: all macroblock types (16x16, 8x8, and 4x4 with all predictions) -- Inter P: all partitions (from 16x16 down to 4x4) -- Inter B: partitions from 16x16 down to 8x8 (including skip/direct) -- Ratecontrol: constant quantizer, single or multipass ABR, optional VBV -- Scene cut detection -- Adaptive B-frame placement -- B-frames as references / arbitrary frame order -- 8x8 and 4x4 adaptive spatial transform -- Lossless mode -- Custom quantization matrices -- Parallel encoding of multiple slices (currently disabled) - -%package %{sover} -Summary: A free h264/avc encoder - encoder binary -Group: System/Libraries - -%description %{sover} -x264 is a free library for encoding next-generation H264/AVC video -streams. The code is written from scratch by Laurent Aimar, Loren -Merritt, Eric Petit (OS X), Min Chen (vfw/asm), Justin Clay (vfw), Mans -Rullgard, Radek Czyz, Christian Heine (asm), Alex Izvorski (asm), and -Alex Wright. It is released under the terms of the GPL license. This -package contains a static library and a header needed for the -development with libx264. This library is needed to build -mplayer/mencoder with H264 encoding support. - -%package -n x264 -Summary: Binaries for x264 streams conversions - -%description -n x264 -x264 is a free library for encoding next-generation H264/AVC video -streams. The code is written from scratch by Laurent Aimar, Loren -Merritt, Eric Petit (OS X), Min Chen (vfw/asm), Justin Clay (vfw), Mans -Rullgard, Radek Czyz, Christian Heine (asm), Alex Izvorski (asm), and -Alex Wright. It is released under the terms of the GPL license. This -package contains a static library and a header needed for the -development with libx264. This library is needed to build -mplayer/mencoder with H264 encoding support. - -%package devel -Summary: Libraries and include file for the %{name} encoder -Group: Development/Libraries/C and C++ -Requires: %{name}-%{sover} = %{version} -Provides: x264-devel = %{version} -Obsoletes: x264-devel < %{version} - -%description devel -x264 is a free library for encoding next-generation H264/AVC video -streams. The code is written from scratch by Laurent Aimar, Loren -Merritt, Eric Petit (OS X), Min Chen (vfw/asm), Justin Clay (vfw), Mans -Rullgard, Radek Czyz, Christian Heine (asm), Alex Izvorski (asm), and -Alex Wright. It is released under the terms of the GPL license. This -package contains a static library and a header needed for the -development with libx264. This library is needed to build -mplayer/mencoder with H264 encoding support. - -%prep -%autosetup -p1 -n x264-%{version} - -%build -%configure \ - --disable-opencl \ - --enable-shared \ -%if %{with x264_binary} -%if %{with gpac} - --disable-lsmash \ -%else - --disable-gpac \ -%endif -%else - --disable-cli \ - --disable-swscale \ - --disable-lavf \ - --disable-ffms \ -%endif - --enable-lto \ - --enable-pic -%make_build - -%install -%if %{with x264_binary} -install -Dm 755 x264 %{buildroot}/%{_bindir}/x264 -%else -%make_install - -rm -f %{buildroot}%{_libdir}/%{name}.so -rm -f %{buildroot}%{_libdir}/%{name}.a -ln -s %{name}.so.%{sover} %{buildroot}%{_libdir}/%{name}.so -%endif - -%if %{with x264_binary} -%files -n x264 -%defattr(-,root,root) -%doc doc/*.txt -%attr(0755,root,root) %{_bindir}/x264 -%else - -%post -n %{name}-%{sover} -p /sbin/ldconfig -%postun -n %{name}-%{sover} -p /sbin/ldconfig - -%files %{sover} -%defattr(0644,root,root) -%{_libdir}/%{name}.so.%{sover} - -%files devel -%defattr(0644,root,root) -%{_includedir}/x264.h -%{_includedir}/x264_config.h -%{_libdir}/pkgconfig/x264.pc -%{_libdir}/%{name}.so -%endif - -%changelog
View file
libx264.spec
Changed
@@ -17,15 +17,25 @@ # -%define _lto_cflags %{nil} # remember to adjust baselibs.conf %define sover 161 %bcond_with gpac -%bcond_with x264_binary -Name: libx264 + +%define build_flavor @BUILD_FLAVOR@%{nil} +%define tag libx264 +%if "%{build_flavor}" == "" +%define pkg %{tag} +%else +%define pkg %{tag}-%{build_flavor} +%endif +Name: %{pkg} Version: 0.161+git20200912.d198931a Release: 0 -Summary: A free h264/avc encoder - encoder binary +%if "%{build_flavor}" == "" +Summary: A free h264/avc encoder +%else +Summary: Command line tool for libx264 +%endif License: GPL-2.0-or-later Group: Productivity/Multimedia/Video/Editors and Convertors URL: http://www.videolan.org/developers/x264.html @@ -34,10 +44,11 @@ Patch0: x264-use-shared-library.patch # PATCH_FIX-OPENSUSE x264-gpac_no_static.patch Patch2: x264-gpac_no_static.patch +Patch3: libx264.patch BuildRequires: nasm >= 2.13 BuildRequires: pkgconfig BuildRequires: yasm >= 1.2.0 -%if %{with x264_binary} +%if "%{build_flavor}" == "x264" %if %{with gpac} BuildRequires: pkgconfig(gpac) %else @@ -106,7 +117,7 @@ %package devel Summary: Libraries and include file for the %{name} encoder Group: Development/Libraries/C and C++ -Requires: %{name}-%{sover} = %{version} +Requires: %{name}-%{sover} = %{version}-%{release} Provides: x264-devel = %{version} Obsoletes: x264-devel < %{version} @@ -127,7 +138,7 @@ %configure \ --disable-opencl \ --enable-shared \ -%if %{with x264_binary} +%if "%{build_flavor}" == "x264" %if %{with gpac} --disable-lsmash \ %else @@ -144,7 +155,7 @@ %make_build %install -%if %{with x264_binary} +%if "%{build_flavor}" == "x264" install -Dm 755 x264 %{buildroot}/%{_bindir}/x264 %else %make_install @@ -154,9 +165,8 @@ ln -s %{name}.so.%{sover} %{buildroot}%{_libdir}/%{name}.so %endif -%if %{with x264_binary} +%if "%{build_flavor}" == "x264" %files -n x264 -%defattr(-,root,root) %doc doc/*.txt %attr(0755,root,root) %{_bindir}/x264 %else @@ -165,11 +175,9 @@ %postun -n %{name}-%{sover} -p /sbin/ldconfig %files %{sover} -%defattr(0644,root,root) %{_libdir}/%{name}.so.%{sover} %files devel -%defattr(0644,root,root) %{_includedir}/x264.h %{_includedir}/x264_config.h %{_libdir}/pkgconfig/x264.pc
View file
libx264.patch
Added
@@ -0,0 +1,20 @@ +[ 40s] lto1: warning: switch '-mcpu=cortex-a8' conflicts with '-march=armv7-a' switch +--- a/configure ++++ b/configure +@@ -966,7 +966,6 @@ fi + + if [ $asm = auto -a $ARCH = ARM ] ; then + # set flags so neon is built by default +- [ $compiler == CL ] || echo $CFLAGS | grep -Eq '(-mcpu|-march|-mfpu)' || CFLAGS="$CFLAGS -mcpu=cortex-a8 -mfpu=neon" + + cc_check '' '' '__asm__("add r0, r1, r2");' && define HAVE_ARM_INLINE_ASM + if [ $compiler = CL ] && cpp_check '' '' 'defined(_M_ARM) && _M_ARM >= 7' ; then +@@ -1031,7 +1030,7 @@ ASFLAGS="$ASFLAGS -DSTACK_ALIGNMENT=$sta + CPU_ENDIAN="little-endian" + if [ $compiler = GNU ]; then + echo "int i[2] = {0x42494745,0}; double f[2] = {0x1.0656e6469616ep+102,0};" > conftest.c +- $CC $CFLAGS conftest.c -c -o conftest.o 2>/dev/null || die "endian test failed" ++ $CC $CFLAGS -fno-lto conftest.c -c -o conftest.o 2>/dev/null || die "endian test failed" + if (${STRINGS} -a conftest.o | grep -q BIGE) && (${STRINGS} -a conftest.o | grep -q FPendian) ; then + define WORDS_BIGENDIAN + CPU_ENDIAN="big-endian"
View file
_multibuild
Added
@@ -0,0 +1,3 @@ +<multibuild> +<package>x264</package> +</multibuild>
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.