Projects
Staging
vlc-beta
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 18
View file
vlc-beta.spec
Changed
@@ -18,7 +18,8 @@ %define libvlc 123 %define libvlccore 123 -%bcond_with vlc_modplug +%bcond_without vlc_modplug +%bcond_with vlc_opencv %bcond_with vlc_vulkan %bcond_with vlc_wayland %bcond_without freerdp2 @@ -42,6 +43,7 @@ Patch0: vlc.hostname.patch Patch1: vlc.a52dec.patch Patch2: vlc.dvdread6.patch +Patch3: vlc.libmodplug.patch Patch5: fix_lib_version.patch Patch6: fix_freerdp2_detection.patch Patch7: fix_lua53_luaL_checkint.patch @@ -92,7 +94,7 @@ BuildRequires: pkgconfig(libebml) >= 1.3.6 BuildRequires: pkgconfig(libmatroska) %if %{with vlc_modplug} -BuildRequires: pkgconfig(libmodplug) >= 0.8.9.0 +BuildRequires: pkgconfig(libmodplug) %endif BuildRequires: pkgconfig(shine) >= 3.0.0 %ifarch %ix86 x86_64 @@ -271,6 +273,7 @@ %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 %patch5 -p1 %if %{with freerdp2} %patch6 -p1
View file
vlc.libmodplug.patch
Added
@@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -2324,7 +2324,7 @@ AC_ARG_ENABLE([mod], + AS_HELP_STRING([--disable-mod], + [do not use libmodplug (default auto)])) + if test "${enable_mod}" != "no" ; then +- PKG_CHECK_MODULES(LIBMODPLUG, [libmodplug >= 0.8.9.0], [ ++ PKG_CHECK_MODULES(LIBMODPLUG, [libmodplug], [ + VLC_ADD_PLUGIN([mod]) + VLC_ADD_CXXFLAGS([mod],[$LIBMODPLUG_CFLAGS]) + VLC_ADD_CFLAGS([mod],[$LIBMODPLUG_CFLAGS]) #modules/demux/mod.c needs CFLAGS_mod, not CXXFLAGS_mod
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
.