Projects
home:sagiben
kodi
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 53
View file
kodi-noX.spec
Changed
@@ -60,28 +60,17 @@ Patch6: kodi-texturepacker.patch # PATCH-FIX-UPSTREAM: fix build with gcc5 (Tumbleweed) Patch7: kodi-15.0-gcc5.patch -Patch8: kodi-timestamp.patch -BuildRequires: alsa-devel BuildRequires: avahi-devel -BuildRequires: bluez-devel BuildRequires: boost-devel BuildRequires: byacc BuildRequires: ccache -BuildRequires: cec-client-devel >= 3.0.0 # needed to delete the fixed rpath introduced by smbclient BuildRequires: chrpath BuildRequires: cmake -BuildRequires: curl -BuildRequires: curl-devel BuildRequires: desktop-file-utils BuildRequires: doxygen -BuildRequires: enca-devel BuildRequires: fdupes -BuildRequires: flac-devel BuildRequires: flex -BuildRequires: fontconfig-devel -BuildRequires: freetype2-devel -BuildRequires: fribidi-devel BuildRequires: ftgl-devel BuildRequires: gcc-c++ BuildRequires: gettext @@ -91,90 +80,97 @@ BuildRequires: gperf BuildRequires: hicolor-icon-theme BuildRequires: java -BuildRequires: libSDL-devel -BuildRequires: libSDL_image-devel -BuildRequires: libSDL_mixer-devel -BuildRequires: libass-devel >= 0.9.7 -BuildRequires: libbluray-devel -BuildRequires: libbz2-devel BuildRequires: libcap-devel -BuildRequires: libcdio-devel -BuildRequires: libdca-devel -BuildRequires: libdvdread-devel -BuildRequires: libexpat-devel BuildRequires: libfaac-devel BuildRequires: libgcrypt-devel -BuildRequires: libgnutls-devel BuildRequires: libgpg-error-devel -BuildRequires: libhdhomerun-devel BuildRequires: libjasper-devel BuildRequires: libjpeg-devel -BuildRequires: libmad-devel -BuildRequires: libmicrohttpd-devel -BuildRequires: libmodplug-devel BuildRequires: libmp3lame-devel -BuildRequires: libmpeg2-devel BuildRequires: libmysqlclient-devel -BuildRequires: libnettle-devel -BuildRequires: libnfs-devel -BuildRequires: libogg-devel -BuildRequires: libpcrecpp0 -BuildRequires: libplatform-devel -BuildRequires: libplist-devel -BuildRequires: libpng-devel -BuildRequires: libpulse-devel -BuildRequires: librtmp-devel -BuildRequires: libsamplerate-devel #BuildRequires: libsidplay2-1 -BuildRequires: libsmbclient-devel -BuildRequires: libssh-devel BuildRequires: libstdc++-devel -BuildRequires: libtag-devel >= 1.8 -BuildRequires: libtiff-devel BuildRequires: libtool -BuildRequires: libudev-devel -BuildRequires: libva-devel -BuildRequires: libvorbis-devel -BuildRequires: libxml2-devel -BuildRequires: libxslt-devel BuildRequires: libyajl-devel BuildRequires: lzo-devel BuildRequires: nasm -BuildRequires: pcre-devel -BuildRequires: pkg-config -BuildRequires: python-devel + + + BuildRequires: readline-devel BuildRequires: shairplay-devel #BuildRequires: sidplay-libs-devel -BuildRequires: sqlite-devel BuildRequires: swig BuildRequires: tinyxml-devel -BuildRequires: tinyxml2-devel BuildRequires: unzip BuildRequires: yasm BuildRequires: zip -BuildRequires: zlib-devel + +BuildRequires: pkg-config +BuildRequires: pkgconfig(alsa) +BuildRequires: pkgconfig(bluez) +BuildRequires: pkgconfig(bzip2) +BuildRequires: pkgconfig(dvdread) +BuildRequires: pkgconfig(enca) +BuildRequires: pkgconfig(expat) +BuildRequires: pkgconfig(flac) +BuildRequires: pkgconfig(fontconfig) +BuildRequires: pkgconfig(freetype2) +BuildRequires: pkgconfig(fribidi) +BuildRequires: pkgconfig(glew) BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gnutls) +BuildRequires: pkgconfig(libass) >= 0.9.7 BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavdevice) >= 55.0.0 BuildRequires: pkgconfig(libavfilter) >= 5.0.0 BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavutil) +BuildRequires: pkgconfig(libbluray) +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.1.100 +BuildRequires: pkgconfig(libtiff-4) +BuildRequires: pkgconfig(libudev) +BuildRequires: pkgconfig(libva) +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(libxslt) +BuildRequires: pkgconfig(mad) +BuildRequires: pkgconfig(nettle) +BuildRequires: pkgconfig(ogg) +BuildRequires: pkgconfig(platform) +BuildRequires: pkgconfig(python) +BuildRequires: pkgconfig(samplerate) +BuildRequires: pkgconfig(sdl) +BuildRequires: pkgconfig(SDL_image) +BuildRequires: pkgconfig(SDL_mixer) +BuildRequires: pkgconfig(smbclient) +BuildRequires: pkgconfig(sqlite3) +BuildRequires: pkgconfig(taglib) >= 1.8 +BuildRequires: pkgconfig(tinyxml2) +BuildRequires: pkgconfig(vdpau) +BuildRequires: pkgconfig(vorbis) +BuildRequires: pkgconfig(zlib) + # kodi needs libnfs to access nfs sources, it is not automatically required Requires: libnfs # kodi needs the same libtag version which was used to build against %requires_eq libtag1 -Obsoletes: xbmc < %{version} -Provides: xbmc = %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExcludeArch: ppc64 -%if %{noX_build} -Conflicts: kodi -%else -Conflicts: kodi-noX -%endif %if !%{noX_build} BuildRequires: xorg-x11-devel %endif @@ -182,8 +178,8 @@ BuildRequires: libcrystalhd-devel %endif %if %{with enable_opengl} -BuildRequires: glew-devel -BuildRequires: libvdpau-devel +BuildRequires: pkgconfig(glew) +BuildRequires: pkgconfig(vdpau) %endif %if %{with enable_opengles} %ifnarch armv6l armv6hl @@ -209,6 +205,17 @@ %endif %endif +Obsoletes: xbmc < %{version} +Provides: xbmc = %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build +ExcludeArch: ppc64 +%if %{noX_build} +Conflicts: kodi +%else +Conflicts: kodi-noX +%endif + + %description KODI media center is a free cross-platform media-player jukebox and entertainment hub. KODI can play a spectrum of of multimedia formats, @@ -255,6 +262,13 @@ %patch6 %patch7 -p1 +# Remove build time references so build-compare can do its work +FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y') +FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S') +for file in xbmc/GUIInfoManager.cpp xbmc/Application.cpp; do + sed -i -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -e "s/__TIME__/\"$FAKE_BUILDTIME\"/" $file +done + # Fix the final version string showing as "exported" # instead of the SVN revision number. export HAVE_GIT="no" GIT_REV="exported" @@ -367,6 +381,7 @@ for file in audiodecoder.timidity/lib/timidity/timidity/speex_a.c; do sed -i -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -e "s/__TIME__/\"$FAKE_BUILDTIME\"/" $file done + popd %install
View file
kodi.spec
Changed
@@ -60,28 +60,17 @@ Patch6: kodi-texturepacker.patch # PATCH-FIX-UPSTREAM: fix build with gcc5 (Tumbleweed) Patch7: kodi-15.0-gcc5.patch -Patch8: kodi-timestamp.patch -BuildRequires: alsa-devel BuildRequires: avahi-devel -BuildRequires: bluez-devel BuildRequires: boost-devel BuildRequires: byacc BuildRequires: ccache -BuildRequires: cec-client-devel >= 3.0.0 # needed to delete the fixed rpath introduced by smbclient BuildRequires: chrpath BuildRequires: cmake -BuildRequires: curl -BuildRequires: curl-devel BuildRequires: desktop-file-utils BuildRequires: doxygen -BuildRequires: enca-devel BuildRequires: fdupes -BuildRequires: flac-devel BuildRequires: flex -BuildRequires: fontconfig-devel -BuildRequires: freetype2-devel -BuildRequires: fribidi-devel BuildRequires: ftgl-devel BuildRequires: gcc-c++ BuildRequires: gettext @@ -91,90 +80,97 @@ BuildRequires: gperf BuildRequires: hicolor-icon-theme BuildRequires: java -BuildRequires: libSDL-devel -BuildRequires: libSDL_image-devel -BuildRequires: libSDL_mixer-devel -BuildRequires: libass-devel >= 0.9.7 -BuildRequires: libbluray-devel -BuildRequires: libbz2-devel BuildRequires: libcap-devel -BuildRequires: libcdio-devel -BuildRequires: libdca-devel -BuildRequires: libdvdread-devel -BuildRequires: libexpat-devel BuildRequires: libfaac-devel BuildRequires: libgcrypt-devel -BuildRequires: libgnutls-devel BuildRequires: libgpg-error-devel -BuildRequires: libhdhomerun-devel BuildRequires: libjasper-devel BuildRequires: libjpeg-devel -BuildRequires: libmad-devel -BuildRequires: libmicrohttpd-devel -BuildRequires: libmodplug-devel BuildRequires: libmp3lame-devel -BuildRequires: libmpeg2-devel BuildRequires: libmysqlclient-devel -BuildRequires: libnettle-devel -BuildRequires: libnfs-devel -BuildRequires: libogg-devel -BuildRequires: libpcrecpp0 -BuildRequires: libplatform-devel -BuildRequires: libplist-devel -BuildRequires: libpng-devel -BuildRequires: libpulse-devel -BuildRequires: librtmp-devel -BuildRequires: libsamplerate-devel #BuildRequires: libsidplay2-1 -BuildRequires: libsmbclient-devel -BuildRequires: libssh-devel BuildRequires: libstdc++-devel -BuildRequires: libtag-devel >= 1.8 -BuildRequires: libtiff-devel BuildRequires: libtool -BuildRequires: libudev-devel -BuildRequires: libva-devel -BuildRequires: libvorbis-devel -BuildRequires: libxml2-devel -BuildRequires: libxslt-devel BuildRequires: libyajl-devel BuildRequires: lzo-devel BuildRequires: nasm -BuildRequires: pcre-devel -BuildRequires: pkg-config -BuildRequires: python-devel + + + BuildRequires: readline-devel BuildRequires: shairplay-devel #BuildRequires: sidplay-libs-devel -BuildRequires: sqlite-devel BuildRequires: swig BuildRequires: tinyxml-devel -BuildRequires: tinyxml2-devel BuildRequires: unzip BuildRequires: yasm BuildRequires: zip -BuildRequires: zlib-devel + +BuildRequires: pkg-config +BuildRequires: pkgconfig(alsa) +BuildRequires: pkgconfig(bluez) +BuildRequires: pkgconfig(bzip2) +BuildRequires: pkgconfig(dvdread) +BuildRequires: pkgconfig(enca) +BuildRequires: pkgconfig(expat) +BuildRequires: pkgconfig(flac) +BuildRequires: pkgconfig(fontconfig) +BuildRequires: pkgconfig(freetype2) +BuildRequires: pkgconfig(fribidi) +BuildRequires: pkgconfig(glew) BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gnutls) +BuildRequires: pkgconfig(libass) >= 0.9.7 BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavdevice) >= 55.0.0 BuildRequires: pkgconfig(libavfilter) >= 5.0.0 BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavutil) +BuildRequires: pkgconfig(libbluray) +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.1.100 +BuildRequires: pkgconfig(libtiff-4) +BuildRequires: pkgconfig(libudev) +BuildRequires: pkgconfig(libva) +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(libxslt) +BuildRequires: pkgconfig(mad) +BuildRequires: pkgconfig(nettle) +BuildRequires: pkgconfig(ogg) +BuildRequires: pkgconfig(platform) +BuildRequires: pkgconfig(python) +BuildRequires: pkgconfig(samplerate) +BuildRequires: pkgconfig(sdl) +BuildRequires: pkgconfig(SDL_image) +BuildRequires: pkgconfig(SDL_mixer) +BuildRequires: pkgconfig(smbclient) +BuildRequires: pkgconfig(sqlite3) +BuildRequires: pkgconfig(taglib) >= 1.8 +BuildRequires: pkgconfig(tinyxml2) +BuildRequires: pkgconfig(vdpau) +BuildRequires: pkgconfig(vorbis) +BuildRequires: pkgconfig(zlib) + # kodi needs libnfs to access nfs sources, it is not automatically required Requires: libnfs # kodi needs the same libtag version which was used to build against %requires_eq libtag1 -Obsoletes: xbmc < %{version} -Provides: xbmc = %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExcludeArch: ppc64 -%if %{noX_build} -Conflicts: kodi -%else -Conflicts: kodi-noX -%endif %if !%{noX_build} BuildRequires: xorg-x11-devel %endif @@ -182,8 +178,8 @@ BuildRequires: libcrystalhd-devel %endif %if %{with enable_opengl} -BuildRequires: glew-devel -BuildRequires: libvdpau-devel +BuildRequires: pkgconfig(glew) +BuildRequires: pkgconfig(vdpau) %endif %if %{with enable_opengles} %ifnarch armv6l armv6hl @@ -209,6 +205,17 @@ %endif %endif +Obsoletes: xbmc < %{version} +Provides: xbmc = %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build +ExcludeArch: ppc64 +%if %{noX_build} +Conflicts: kodi +%else +Conflicts: kodi-noX +%endif + + %description KODI media center is a free cross-platform media-player jukebox and entertainment hub. KODI can play a spectrum of of multimedia formats, @@ -255,6 +262,13 @@ %patch6 %patch7 -p1 +# Remove build time references so build-compare can do its work +FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y') +FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S') +for file in xbmc/GUIInfoManager.cpp xbmc/Application.cpp; do + sed -i -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -e "s/__TIME__/\"$FAKE_BUILDTIME\"/" $file +done + # Fix the final version string showing as "exported" # instead of the SVN revision number. export HAVE_GIT="no" GIT_REV="exported" @@ -367,6 +381,7 @@ for file in audiodecoder.timidity/lib/timidity/timidity/speex_a.c; do sed -i -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -e "s/__TIME__/\"$FAKE_BUILDTIME\"/" $file done + popd %install
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
.