From 062c0cba0efa8ddc79c1cbf6c06841edaffb0d36 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:37:26 +0100 Subject: [PATCH] update to 0.10.1 [release 0.10.1-1mamba;Wed Mar 25 2015] --- ...ake-0.10.1-ffmpeg-disable-inline-asm.patch | 10 +++ handbrake.spec | 83 +++++++++++-------- 2 files changed, 57 insertions(+), 36 deletions(-) create mode 100644 handbrake-0.10.1-ffmpeg-disable-inline-asm.patch diff --git a/handbrake-0.10.1-ffmpeg-disable-inline-asm.patch b/handbrake-0.10.1-ffmpeg-disable-inline-asm.patch new file mode 100644 index 0000000..b7fa081 --- /dev/null +++ b/handbrake-0.10.1-ffmpeg-disable-inline-asm.patch @@ -0,0 +1,10 @@ +--- HandBrake-0.10.1/contrib/ffmpeg/module.defs.orig 2015-03-25 01:09:58.087598099 +0100 ++++ HandBrake-0.10.1/contrib/ffmpeg/module.defs 2015-03-25 01:10:17.880596870 +0100 +@@ -24,6 +24,7 @@ + --disable-avdevice \ + --disable-avfilter \ + --disable-avserver \ ++ --disable-inline-asm \ + --disable-muxers \ + --disable-network \ + --disable-hwaccels \ diff --git a/handbrake.spec b/handbrake.spec index abb3946..d2d00a6 100644 --- a/handbrake.spec +++ b/handbrake.spec @@ -1,5 +1,5 @@ Name: handbrake -Version: 0.9.9 +Version: 0.10.1 Release: 1mamba Summary: An open-source multithreaded video transcoder Group: Graphical Desktop/Applications/Multimedia @@ -7,30 +7,31 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://handbrake.fr/ -Source: http://downloads.sourceforge.net/project/handbrake/%{version}/HandBrake-%{version}.tar.bz2 -Source1: a52dec-0.7.4.tar.gz -Source2: faac-1.28.tar.gz -Source3: faad2-2.7.tar.gz -Source4: ffmpeg-r25689.tar.bz2 -Source5: lame-3.98.tar.gz -Source6: libmkv-0.6.4.1-0-ga80e593.tar.bz2 -Source7: mp4v2-trunk-r355.tar.bz2 -Source8: libass-0.9.9.tar.bz2 -Source9: libogg-1.1.3.tar.gz -Source10: mpeg2dec-0.5.1.tar.gz -Source11: libbluray-0.0.1-pre-16-g1aab213.tar.gz -Source12: libsamplerate-0.1.4.tar.gz -Source13: x264-r1834-a51816a.tar.gz -Source14: libdca-r81-strapped.tar.gz -Source15: libtheora-1.1.0.tar.bz2 -Source16: fontconfig-2.8.0.tar.gz -Source17: libdvdnav-svn1168.tar.gz -Source18: libvorbis-aotuv_b5.tar.gz -Source19: freetype-2.3.9.tar.gz -Source20: libdvdread-svn1168.tar.gz -Source21: libxml2-2.7.7.tar.gz +Source: http://download.handbrake.fr/handbrake/releases/%{version}/HandBrake-%{version}.tar.bz2 +#Source1: a52dec-0.7.4.tar.gz +#Source2: faac-1.28.tar.gz +#Source3: faad2-2.7.tar.gz +#Source4: ffmpeg-r25689.tar.bz2 +#Source5: lame-3.98.tar.gz +#Source6: libmkv-0.6.4.1-0-ga80e593.tar.bz2 +#Source7: mp4v2-trunk-r355.tar.bz2 +#Source8: libass-0.9.9.tar.bz2 +#Source9: libogg-1.1.3.tar.gz +#Source10: mpeg2dec-0.5.1.tar.gz +#Source11: libbluray-0.0.1-pre-16-g1aab213.tar.gz +#Source12: libsamplerate-0.1.4.tar.gz +#Source13: x264-r1834-a51816a.tar.gz +#Source14: libdca-r81-strapped.tar.gz +#Source15: libtheora-1.1.0.tar.bz2 +#Source16: fontconfig-2.8.0.tar.gz +#Source17: libdvdnav-svn1168.tar.gz +#Source18: libvorbis-aotuv_b5.tar.gz +#Source19: freetype-2.3.9.tar.gz +#Source20: libdvdread-svn1168.tar.gz +#Source21: libxml2-2.7.7.tar.gz Patch0: %{name}-0.9.5-dbus-glib.patch Patch1: %{name}-0.9.5-libnotify-0.7.patch +Patch2: handbrake-0.10.1-ffmpeg-disable-inline-asm.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -99,17 +100,20 @@ HandBrake is an open-source, GPL-licensed, multithreaded video transcoder. %setup -q -n HandBrake-%{version} #%patch0 -p1 #%patch1 -p0 -mkdir download -ln -s \ - %{S:1} %{S:2} %{S:3} %{S:4} %{S:5} \ - %{S:6} %{S:7} %{S:8} %{S:9} %{S:10} \ - %{S:11} %{S:12} %{S:13} %{S:14} %{S:15} \ - %{S:16} %{S:17} %{S:18} %{S:19} %{S:20} \ - %{S:21} \ - download/ +%patch2 -p1 + +#mkdir download +#ln -s \ +# %{S:1} %{S:2} %{S:3} %{S:4} %{S:5} \ +# %{S:6} %{S:7} %{S:8} %{S:9} %{S:10} \ +# %{S:11} %{S:12} %{S:13} %{S:14} %{S:15} \ +# %{S:16} %{S:17} %{S:18} %{S:19} %{S:20} \ +# %{S:21} \ +# download/ %build -./configure +./configure --force + cd build %make @@ -117,21 +121,28 @@ cd build [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" cd build %makeinstall PREFIX=%{_prefix} PREFIX/=%{_prefix}/ +cd .. -#%find_lang %{name} +%find_lang ghb %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files +%files -f ghb.lang %defattr(-,root,root) %{_bindir}/ghb %{_bindir}/HandBrakeCLI %{_datadir}/applications/ghb.desktop -%{_datadir}/icons/hicolor/*/apps/hb-icon.png -%doc AUTHORS COPYING CREDITS NEWS THANKS +%{_datadir}/icons/hicolor/scalable/apps/hb-icon.svg +%doc AUTHORS COPYING CREDITS THANKS %changelog +* Wed Mar 25 2015 Silvan Calarco 0.10.1-1mamba +- update to 0.10.1 + +* Thu Dec 04 2014 Automatic Build System 0.10.0-1mamba +- automatic version update by autodist + * Sun May 19 2013 Automatic Build System 0.9.9-1mamba - automatic version update by autodist