Projects
Multimedia
handbrake
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 9
View file
handbrake.spec
Changed
@@ -39,6 +39,9 @@ #Source120: http://download.handbrake.fr/handbrake/contrib/libdca-r81-strapped.tar.gz Source151: handbrake-ffmpeg_fix_missing_return_in_nonvoid_function.patch Source152: handbrake-libmkv_no_return_in_nonvoid_function.patch +%if 0%{?suse_version} <= 1140 +Source153: handbrake-libbluray-glibc_older_2_12.patch +%endif Source99: handbrake-rpmlintrc BuildRequires: alsa-devel BuildRequires: curl @@ -58,8 +61,14 @@ BuildRequires: gstreamer-utils %endif BuildRequires: pkgconfig(gstreamer-0.10) -BuildRequires: pkgconfig(gtk+-2.0) +BuildRequires: pkgconfig(gtk+-2.0) >= 2.24 +# systemd-mini/udev-mini currently missing in Factory-repo +%if 0%{?suse_version} > 1230 +BuildRequires: libudev1 libudev-devel +BuildRequires: libgudev-1_0-0 libgudev-1_0-devel +%else BuildRequires: pkgconfig(gudev-1.0) +%endif BuildRequires: pkgconfig(libnotify) BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} <= 1140 @@ -158,12 +167,16 @@ exit 1 fi + %build export CFLAGS="%{optflags} -fno-strict-aliasing -Wno-unused" export CXXFLAGS="$CFLAGS -Wno-reorder" export PATH="%{_builddir}/HandBrake-%{version}/build/contrib/bin:$PATH" cp %{S:152} contrib/libmkv/A99-fix-missing-return-in-nonvoid-function.patch +%if 0%{?suse_version} <= 1140 +cp %{S:153} contrib/libbluray/A99-glibc_older_2_12.patch +%endif mkdir -p build ./configure \
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
.