forked from opdenkamp/xbmc
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
split addon gui for skin and binary addons
- Loading branch information
1 parent
2ad4741
commit 127663d
Showing
17 changed files
with
155 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<addon id="kodi.guilib" version="@guilib_version@" provider-name="Team-Kodi"> | ||
<backwards-compatibility abi="@guilib_version_min@"/> | ||
<requires> | ||
<import addon="xbmc.core" version="0.1.0"/> | ||
</requires> | ||
</addon> |
128 changes: 64 additions & 64 deletions
128
addons/library.xbmc.gui/libXBMC_gui.h → addons/library.kodi.guilib/libKODI_guilib.h
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
ARCH=@ARCH@ | ||
INCLUDES=-I. -I../../../xbmc/addons/include -I../../../xbmc -I../../../xbmc/cores/dvdplayer/DVDDemuxers | ||
DEFINES+= | ||
CXXFLAGS=-fPIC | ||
LIBNAME=libKODI_guilib | ||
OBJS=$(LIBNAME).o | ||
|
||
LIB_INTERFACE=../../../addons/library.kodi.guilib/libKODI_guilib.h | ||
LIB_SHARED=../../../addons/library.kodi.guilib/$(LIBNAME)-$(ARCH).so | ||
GENERATED_ADDON_GUILIB = ../../../addons/kodi.guilib/addon.xml | ||
LIB_VERSION := $(shell sed -n 's/.*KODI_GUILIB_API_VERSION\s*"\(.*\)"/\1/p' $(LIB_INTERFACE)) | ||
LIB_VERSION_MIN := $(shell sed -n 's/.*KODI_GUILIB_MIN_API_VERSION\s*"\(.*\)"/\1/p' $(LIB_INTERFACE)) | ||
|
||
all: $(LIB_SHARED) $(GENERATED_ADDON_GUILIB) | ||
|
||
$(LIB_SHARED): $(OBJS) $(LIB_INTERFACE) | ||
ifeq ($(findstring osx,$(ARCH)), osx) | ||
$(CXX) $(LDFLAGS) -Wl,-alias_list,@abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper_mach_alias \ | ||
-bundle -undefined dynamic_lookup -o $@ \ | ||
@abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper.o $(OBJS) | ||
else | ||
$(CXX) $(CFLAGS) $(LDFLAGS) -shared -g -o $(LIB_SHARED) $(OBJS) | ||
endif | ||
|
||
$(GENERATED_ADDON_GUILIB) : $(LIB_INTERFACE) | ||
sed -e s/@guilib_version@/$(LIB_VERSION)/g -e s/@guilib_version_min@/$(LIB_VERSION_MIN)/g $@.in > $@ | ||
|
||
CLEAN_FILES = \ | ||
$(LIB_SHARED) \ | ||
|
||
DISTCLEAN_FILES= \ | ||
Makefile \ | ||
|
||
include ../../../Makefile.include |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
lib/addons/library.kodi.guilib/project/VS2010Express/post-build.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
param ( | ||
[string]$ProjectDir | ||
) | ||
|
||
$LIB_INTERFACE = "$ProjectDir\..\..\..\..\..\addons\library.kodi.guilib\libKODI_guilib.h" | ||
$GENERATED_ADDON_GUILIB = "$ProjectDir\..\..\..\..\..\addons\kodi.guilib\addon.xml" | ||
|
||
$LIB_VERSION = "" | ||
$LIB_VERSION_MIN = "" | ||
cat $LIB_INTERFACE | %{ | ||
if ($_ -match 'KODI_GUILIB_API_VERSION\s*"(.*)"'){ | ||
$LIB_VERSION = $matches[1] | ||
} | ||
if ($_ -match 'KODI_GUILIB_MIN_API_VERSION\s*"(.*)"'){ | ||
$LIB_VERSION_MIN = $matches[1] | ||
} | ||
} | ||
|
||
$ADDON_GUILIB = $GENERATED_ADDON_GUILIB + ".in" | ||
cat $ADDON_GUILIB | % { $_ -replace "@guilib_version@", $LIB_VERSION ` | ||
-replace "@guilib_version_min@", $LIB_VERSION_MIN} > $GENERATED_ADDON_GUILIB |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters