Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | SUMMARY = "Kodi Media Center" |
| 2 | |
| 3 | LICENSE = "GPLv2+" |
| 4 | LIC_FILES_CHKSUM = "file://JsonSchemaBuilder.cpp;beginline=2;endline=18;md5=1f67721215c03f66545390f6e45b99c7" |
| 5 | |
| 6 | SRCREV = "661dd08d221f5b2bf509a696a6aca5ee7d45bb27" |
| 7 | |
| 8 | PV = "17.1+gitr${SRCPV}" |
| 9 | SRC_URI = "git://github.com/xbmc/xbmc.git;branch=Krypton" |
| 10 | |
| 11 | inherit autotools-brokensep gettext native |
| 12 | |
| 13 | S = "${WORKDIR}/git/tools/depends/native/JsonSchemaBuilder/src" |
| 14 | |
| 15 | do_compile_prepend() { |
| 16 | for i in $(find . -name "Makefile") ; do |
| 17 | sed -i -e 's:I/usr/include:I${STAGING_INCDIR}:g' $i |
| 18 | done |
| 19 | |
| 20 | for i in $(find . -name "*.mak*" -o -name "Makefile") ; do |
| 21 | sed -i -e 's:I/usr/include:I${STAGING_INCDIR}:g' -e 's:-rpath \$(libdir):-rpath ${libdir}:g' $i |
| 22 | done |
| 23 | } |
| 24 | |