Projects
home:sagiben
kodi-next
Sign Up
Log In
Username
Password
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 45
View file
kodi-next.spec
Added
@@ -0,0 +1,601 @@ +# +# spec file for package kodi +# +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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/ +# + + +# Please edit kodi.spec and kodi.changes only. *-noX.* files are generated from +# kodi.* files with the pre_checkin.sh script +%define kodi_version Krypton +%define _kodi_addons_dir %{_datadir}/kodi/addons +# set this parameter to enable building Kodi with ccache, debug information, etc. +%define dev_build 1 +# kodi can be built without X support when openGL ES is used (mainly used on ARM boards used as media center) +%define noX_build 0 +%if %{noX_build} +# no X build needs openGL ES +%bcond_with enable_opengl +%bcond_without enable_opengles +%else +%ifarch %arm armv6l armv6hl +%bcond_with enable_opengl +%bcond_without enable_opengles +%else +%bcond_without enable_opengl +%bcond_with enable_opengles +%endif +%endif + +%define kodi_platform none +%define kodi_player none + +Name: kodi +Version: 17.0b4 +#Version: master +Release: 0 +Summary: Media center (formerly known as XBMC) +License: GPL-2.0+ and GPL-3.0+ +Group: Productivity/Multimedia/Video/Players +Url: http://kodi.tv/ +Source0: https://github.com/xbmc/xbmc/archive/%{version}-%{kodi_version}.tar.gz +#Source0: %{version}-%{kodi_version}.tar.gz +Source1: kodi.SuSEFirewall2 +# AUTO-GENERATED using get_version.sh +Source3: kodi.VERSION +Source10: kodi.service +Source11: kodi-noX.service +Source20: crossguid-8f399e8bd4.tar.gz +Source21: libdvdcss-master.tar.gz +Source22: libdvdread-master.tar.gz +Source23: libdvdnav-master.tar.gz +Patch1: no-xbmc-symbolic-link.patch +Patch2: kodi-texturepacker.patch +Patch3: crossguid_build64.patch +Patch4: add_rpi2_support.patch +BuildRequires: avahi-devel +BuildRequires: boost-devel +BuildRequires: byacc +BuildRequires: ccache +# needed to delete the fixed rpath introduced by smbclient +BuildRequires: chrpath +BuildRequires: cmake +BuildRequires: desktop-file-utils +BuildRequires: doxygen +BuildRequires: fdupes +BuildRequires: flex +%if %{with enable_opengl} +BuildRequires: ftgl-devel +%endif +BuildRequires: gcc-c++ +BuildRequires: gettext +BuildRequires: giflib-devel +BuildRequires: glibc-devel +BuildRequires: gmp-devel +BuildRequires: gperf +BuildRequires: hicolor-icon-theme +BuildRequires: java +BuildRequires: libcap-devel +%ifarch %ix86 x86_64 +BuildRequires: libcrystalhd-devel +%endif +BuildRequires: libfaac-devel +BuildRequires: libgcrypt-devel +BuildRequires: libgpg-error-devel +BuildRequires: libjasper-devel +BuildRequires: libjpeg-devel +BuildRequires: libmp3lame-devel +BuildRequires: libmysqlclient-devel +#BuildRequires: libsidplay2-1 +BuildRequires: libstdc++-devel +BuildRequires: libtool +BuildRequires: libyajl-devel +BuildRequires: lzo-devel +BuildRequires: nasm +BuildRequires: readline-devel +BuildRequires: shairplay-devel +#BuildRequires: sidplay-libs-devel +BuildRequires: swig +BuildRequires: tinyxml-devel +BuildRequires: unzip +%if !%{noX_build} +BuildRequires: xorg-x11-devel +%endif +BuildRequires: yasm +BuildRequires: zip +BuildRequires: libx265-devel + +BuildRequires: pkg-config +BuildRequires: pkgconfig(alsa) +BuildRequires: pkgconfig(bluez) +BuildRequires: pkgconfig(bzip2) +BuildRequires: pkgconfig(dcadec) +BuildRequires: pkgconfig(dvdread) +BuildRequires: pkgconfig(enca) +BuildRequires: pkgconfig(expat) +BuildRequires: pkgconfig(flac) +BuildRequires: pkgconfig(fontconfig) +BuildRequires: pkgconfig(freetype2) +BuildRequires: pkgconfig(fribidi) +%if %{with enable_opengl} +BuildRequires: pkgconfig(glew) +%endif +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gnutls) +BuildRequires: pkgconfig(libass) >= 0.9.7 +BuildRequires: pkgconfig(libavcodec) = 57.48.101 +BuildRequires: pkgconfig(libavdevice) = 57.0.101 +#BuildRequires: pkgconfig(libavfilter) = 6.31.100 +#BuildRequires: pkgconfig(libavformat) = 57.25.100 +#BuildRequires: pkgconfig(libavutil) = 55.17.103 +BuildRequires: pkgconfig(libbluray) >= 0.7.0 +BuildRequires: pkgconfig(libcdio) +BuildRequires: pkgconfig(libcec) >= 3.0.0 +BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(libdca) +BuildRequires: pkgconfig(libhdhomerun) +BuildRequires: pkgconfig(libmicrohttpd) +BuildRequires: pkgconfig(libmodplug) +BuildRequires: pkgconfig(libmpeg2) +BuildRequires: pkgconfig(libmpg123) +BuildRequires: pkgconfig(libnfs) +BuildRequires: pkgconfig(libpcre) +BuildRequires: pkgconfig(libpcrecpp) +BuildRequires: pkgconfig(libplist) +BuildRequires: pkgconfig(libpng) +BuildRequires: pkgconfig(libpulse) +BuildRequires: pkgconfig(librtmp) +BuildRequires: pkgconfig(libssh) +#BuildRequires: pkgconfig(libswresample) = 1.2.101 +BuildRequires: pkgconfig(libtiff-4) +BuildRequires: pkgconfig(libudev) +%if %{with enable_opengl} +BuildRequires: pkgconfig(libva) +%endif +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(libxslt) +BuildRequires: pkgconfig(mad) +BuildRequires: pkgconfig(nettle) +BuildRequires: pkgconfig(ogg) +BuildRequires: pkgconfig(python) +BuildRequires: pkgconfig(samplerate) +%if !%{noX_build} +BuildRequires: pkgconfig(sdl2) +%endif +BuildRequires: pkgconfig(smbclient) +BuildRequires: pkgconfig(sqlite3) +BuildRequires: pkgconfig(taglib) >= 1.8 +BuildRequires: pkgconfig(tinyxml2) +%if 0%{?suse_version} > 1320 +# Otherwise fails with configure error on libcec because udev.pc file is not found +BuildRequires: pkgconfig(udev) +%endif +BuildRequires: pkgconfig(uuid) +%if %{with enable_opengl} +BuildRequires: pkgconfig(vdpau) +%endif +BuildRequires: pkgconfig(vorbis) +BuildRequires: pkgconfig(zlib) + +%if %{with enable_opengles} +%if "%{kodi_platform}" == "none" +BuildRequires: Mesa-libEGL-devel +BuildRequires: Mesa-libGLESv2-devel +%else +%if ("%{kodi_platform}" == "raspberry-pi") || ("%{kodi_platform}" == "raspberry-pi2") +BuildRequires: raspberrypi-userland-devel +%endif +%endif
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
.