Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Fittipaldi76
Handbrake
_service:download_src_package:handbrake.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:download_src_package:handbrake.spec of Package Handbrake
# vim: set sw=4 ts=4 et: # Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org> # # 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 http://bugs.opensuse.org/ Name: handbrake #define rev 3549 #Version: 0.9.4+r%{rev} Version: 0.9.8 Release: 1.24 License: GPL-2.0+ Summary: Multithreaded Video Transcoder Url: http://handbrake.fr/ Group: Productivity/Multimedia/Video/Editors and Convertors # svn://svn.handbrake.fr/HandBrake/trunk#%{rev} #Source: HandBrake-svn%{rev}.tar.bz2 Source: http://prdownloads.sourceforge.net/handbrake/HandBrake-%{version}.tar.bz2 Source101: http://download.handbrake.fr/handbrake/contrib/a52dec-0.7.4.tar.gz Source102: http://download.handbrake.fr/handbrake/contrib/faac-1.28.tar.gz Source103: http://download.handbrake.fr/handbrake/contrib/faad2-2.7.tar.gz Source104: http://download.handbrake.fr/handbrake/contrib/ffmpeg-v0.7-1696-gcae4f4b.tar.bz2 Source105: http://download.handbrake.fr/handbrake/contrib/lame-3.98.tar.gz Source106: http://download.handbrake.fr/handbrake/contrib/libdca-r81-strapped.tar.gz Source107: http://download.handbrake.fr/handbrake/contrib/libdvdnav-svn1168.tar.gz Source108: http://download.handbrake.fr/handbrake/contrib/libdvdread-svn1168.tar.gz Source109: http://download.handbrake.fr/handbrake/contrib/libmkv-0.6.5-0-g82075ae.tar.gz Source110: http://download.handbrake.fr/handbrake/contrib/libogg-1.3.0.tar.gz Source111: http://download.handbrake.fr/handbrake/contrib/libsamplerate-0.1.4.tar.gz Source112: http://download.handbrake.fr/handbrake/contrib/libtheora-1.1.0.tar.bz2 Source113: http://download.handbrake.fr/handbrake/contrib/libvorbis-aotuv_b6.03.tar.bz2 Source114: http://download.handbrake.fr/handbrake/contrib/mp4v2-trunk-r355.tar.bz2 Source115: http://download.handbrake.fr/handbrake/contrib/mpeg2dec-0.5.1.tar.gz Source116: http://download.handbrake.fr/handbrake/contrib/x264-r2146-bcd41db.tar.gz Source117: http://download.m0k.org/handbrake/contrib/fontconfig-2.8.0.tar.gz Source118: http://download.handbrake.fr/handbrake/contrib/freetype-2.4.7.tar.bz2 Source119: http://download.handbrake.fr/handbrake/contrib/libass-0.10.0-1.tar.gz Source120: http://download.handbrake.fr/handbrake/contrib/libbluray-0.0.1-pre-213-ga869da8.tar.gz Source121: http://download.m0k.org/handbrake/contrib/libxml2-2.7.7.tar.gz Source122: http://download.handbrake.fr/handbrake/contrib/fribidi-0.19.2.tar.gz Source123: http://download.handbrake.fr/handbrake/contrib/yasm-1.1.0.tar.gz Source151: handbrake-ffmpeg_fix_missing_return_in_nonvoid_function.patch Source152: handbrake-libmkv_no_return_in_nonvoid_function.patch Source99: handbrake-rpmlintrc BuildRequires: alsa-devel BuildRequires: curl BuildRequires: fribidi-devel BuildRequires: gstreamer-0_10-plugins-base-devel BuildRequires: gtkhtml2-devel BuildRequires: libbz2-devel BuildRequires: libcurl-devel BuildRequires: libicu-devel BuildRequires: libxslt-devel BuildRequires: python BuildRequires: sqlite3-devel BuildRequires: subversion BuildRequires: wget BuildRequires: zlib-devel BuildRequires: pkgconfig(gstreamer-0.10) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(gudev-1.0) BuildRequires: pkgconfig(libnotify) BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} <= 1140 BuildRequires: pkgconfig(hal) %endif BuildRequires: pkgconfig(dbus-glib-1) %if 0%{?suse_version} >= 1110 BuildRequires: libwebkit-devel %else BuildRequires: WebKitGtk-devel %endif BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: glibc-devel BuildRequires: intltool BuildRequires: libtool BuildRequires: make BuildRequires: nasm BuildRequires: update-desktop-files BuildRequires: yasm %description HandBrake is an open-source, GPL-licensed, multiplatform, multithreaded video transcoder. %package cli Summary: Multithreaded Video Transcoder Group: Productivity/Multimedia/Video/Editors and Convertors Obsoletes: handbrake-unstable-cli < %{version} %description cli HandBrake is an open-source, GPL-licensed, multiplatform, multithreaded video transcoder. This package contains a command-line interface for Handbrake. %package gtk Summary: Multithreaded Video Transcoder Group: Productivity/Multimedia/Video/Editors and Convertors Obsoletes: handbrake-unstable-gtk < %{version} %description gtk HandBrake is an open-source, GPL-licensed, multiplatform, multithreaded video transcoder. This package contains a GTK+ graphical user interface for Handbrake. %prep %if 0%{?rev:1} %setup -q -n "HandBrake-svn%{rev}" %else %setup -q -n "HandBrake-%{version}" %endif # Copy 3rd party dependencies into expected locations: mkdir download for f in \ %{S:101} %{S:102} %{S:103} %{S:104} %{S:105} %{S:106} \ %{S:107} %{S:108} %{S:109} %{S:110} %{S:111} %{S:112} \ %{S:113} %{S:114} %{S:115} %{S:116} %{S:117} %{S:118} \ %{S:119} %{S:120} %{S:121} %{S:122} %{S:123} \ ; do ln -s "$f" download/ done # check beforehand that the versions match what the # build system expects: missing=$PWD/.missing grep -hE '\.FETCH\.url *=' contrib/*/module.defs \ | gawk -F' =' '{print $2}' \ | while read url; do f=$(echo "$url" | sed 's|^.*/||') case $f in bzip2*|libiconv*|pthreads*|zlib*) continue ;; esac [ -e "$RPM_SOURCE_DIR/$f" ] || echo "$url">>"$missing" done if test -e "$missing"; then echo "ERROR: missing contrib source archives:" >&2 cat "$missing" >&2 exit 1 fi %build # will be removed when the makefiles are fixed, currently # fails on openSUSE factory because of --as-needed # export SUSE_ASNEEDED=0 export CFLAGS="%{optflags} -fno-strict-aliasing" export CXXFLAGS="%{optflags} -fno-strict-aliasing" # cp "%{S:151}" contrib/ffmpeg/A99-fix-missing-return-in-nonvoid-function.patch cp %{S:152} contrib/libmkv/A99-fix-missing-return-in-nonvoid-function.patch mkdir build ./configure \ --force \ --build="$PWD/build" \ --prefix="%{buildroot}%{_prefix}" \ --strip="/bin/true" \ --optimize=speed \ --debug=max GHB_PKGS="dbus-glib-1 glib-2.0 gdk-pixbuf-2.0 gudev-1.0 webkit-1.0 libnotify" GHB_PKGS="$GHB_PKGS gstreamer-interfaces-0.10 gstreamer-0.10 gstreamer-pbutils-0.10 gstreamer-video-0.10" pushd build make libhb/project.h make %{?_smp_mflags} \ GHB_CFLAGS="$(pkg-config --cflags $GHB_PKGS) -I../../libhb" \ GHB_LIBS="$(pkg-config --libs $GHB_PKGS)" popd #build %install pushd build make install popd #build ln -s ghb "%{buildroot}%{_bindir}/HandBrakeGUI" %suse_update_desktop_file -r ghb AudioVideo AudioVideoEditing rm "%{buildroot}%{_datadir}/icons"/*/*.cache %clean %{?buildroot:rm -rf %{buildroot}} %files cli %defattr(-,root,root) %doc AUTHORS COPYING CREDITS NEWS THANKS %{_bindir}/HandBrakeCLI %files gtk %defattr(-,root,root) %doc AUTHORS COPYING CREDITS NEWS THANKS %{_bindir}/HandBrakeGUI %{_bindir}/ghb %{_datadir}/applications/ghb.desktop %{_datadir}/icons/*/*/apps/hb-icon.png %changelog * Sun Oct 7 2012 i@marguerite.su - update to 0.9.8 * Corrects a few crash bugs that showed up in 0.9.7 * Includes an AppleTV3 Preset and updated iPad Preset (0.9.7) * Thu Mar 1 2012 pascal.bleser@opensuse.org - update to 0.9.6 * Thu Jul 7 2011 malcolmlewis@opensuse.org - Add BuildRequires libgudev-1_0-devel as build failing with 'No package 'gudev-1.0' found' error. * Tue Jan 4 2011 pascal.bleser@opensuse.org - update to 0.9.5 * Tue Sep 21 2010 pascal.bleser@opensuse.org - update to trunk revision 3549: * try other gstreamer sink interfaces if gconfvideosink fails; it appears that gconfvideosink may not work on kde systems * remove the 8 audio limit * fix cli issue with batch scan and encode * fix a crash when a TS has no aspect ratio set in the video stream * bump ffmpeg from 22950 to 25082 * fix a rare hang in the muxer * GUI: fix UI problem with trellis cavlc * add Bluray support: + unencrypted BD directory trees only + doesn't support iso images + also, no PGS subtitle support yet * chapters and angles are supported * fixes memory leak during scan * x264 bump from r1698 to r1713: + introduces trellis and psy-trellis for cavlc * GUI: simplify source selection dialog * fix muxing problem with certain sources/settings * Thu Aug 19 2010 pascal.bleser@opensuse.org - update to SVN trunk revision 3482: * x264 bump from r1681 to r1698: various bugfixes and improvements * Sat Aug 7 2010 pascal.bleser@opensuse.org - update to SVN trunk revision 3473, as requested by upstream * Fri Nov 27 2009 pascal.bleser@opensuse.org - update to 0.9.4 * Sun Nov 1 2009 pascal.bleser@opensuse.org - update to snapshot 2907 * Thu Oct 1 2009 pascal.bleser@opensuse.org - downgrade to snapshot rev 2845 as per upstream request - fix version display - use upstream compiler flags as per upstream request * Fri Sep 25 2009 pascal.bleser@opensuse.org - update to rev 2844: * [2844] bump libtheora to official 1.1 release * [2843] fix srt track stop time; srt stop time was being set to the end of the start chapter instead of the end of the stop chapter * [2842] theora: improvements to our theora implementation: + support 2-pass mode which is new to theora 1.1 + set soft target rate control so that single pass abr behaves more like theora 1.0 and doesn't look quite so awful * [2841] don't remove srt subs when changing from mkv to mp4 * [2836] bump x264 to r1271 make changes required by the x264 api change fix some build issues that the x264 bump exposed * [2831] fix bug that was causing one sec. of audio to be dropped on many ffmpeg files * Mon Sep 14 2009 pascal.bleser@opensuse.org - update to rev 2822: * [2821] dvdnav: improved patch that guarantees forward seek moves position forward; the previous patch worked only for SEEK_CUR * [2822] allow dvd sources that have no audio * Sun Sep 13 2009 pascal.bleser@opensuse.org - update to rev 2815: * [2796] set use m4v preference enabled by default * [2797] fix PAR issue with DV For some (maybe all) DV, ffmpeg doesn't give us the sample_aspect_ratio in the context; so when it's missing, try looking it up in the AVStream info * [2811] improve "auto" audio selection picks the "best" audio given the input codec and output formats * [2812] show the correct audio codec in the audio list when it has been changed because of incompatibility with source codec or output format * [2813] fix initialization of chapter list when editing queued job Chapter titles the user entered were lost when editing a queued job * [2814] fix a Gtk-CRITICAL error when editing chapter names * [2815] dvdnav: read error recovery - patch libdvdnav seek to guarantee the position will move forward when making a seek request to a position that is after the current position - when a read error is detected, seek forward and retry * Sat Sep 5 2009 pascal.bleser@opensuse.org - new package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor