Projects
Multimedia
kodi
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 82
View file
kodi.spec
Changed
@@ -28,7 +28,11 @@ # kodi can be built without X support when openGL ES is used (mainly used on ARM boards used as media center) %bcond_without kodi_with_X11 # Enable or disable Wayland depending on whether the stack is usable or not: +%if 0%{?suse_version} >= 1550 +%bcond_without kodi_with_wayland +%else %bcond_with kodi_with_wayland +%endif %define kodi_platform none %define kodi_player none @@ -247,6 +251,7 @@ %if %{with kodi_with_wayland} BuildRequires: pkgconfig(libva-wayland) BuildRequires: pkgconfig(wayland-scanner) +BuildRequires: pkgconfig(wayland-scanner++) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-client++) @@ -389,6 +394,9 @@ %if %{dev_build} -DVERBOSE=ON \ %endif +%if %{with kodi_with_wayland} + -DWAYLANDPP_INCLUDE_DIR="$(pkg-config --cflags-only-I wayland-client++ | sed -e 's/^-I//;s/ -I/;/g;s/ $//')" \ +%endif -DCMAKE_C_COMPILER=$CC \ -DCMAKE_CXX_COMPILER=$CXX \ -DENABLE_INTERNAL_FMT=OFF \
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
.