]> git.sesse.net Git - vlc/blob - contrib/src/bghudappkit/rules.mak
4da01e66baf2aa6bcecb2ad366ac59fbc3080d4a
[vlc] / contrib / src / bghudappkit / rules.mak
1 # bghudappkit
2
3 BGHUDAPPKIT_GITURL := https://github.com/binarygod/BGHUDAppKit.git
4
5 ifdef HAVE_MACOSX
6 PKGS += bghudappkit
7 endif
8
9 $(TARBALLS)/bghudappkit-git.tar.xz:
10         $(call download_git,$(BGHUDAPPKIT_GITURL),,79a560d)
11
12
13 .sum-bghudappkit: bghudappkit-git.tar.xz
14         $(warning $@ not implemented)
15         touch $@
16
17
18 bghudappkit: bghudappkit-git.tar.xz .sum-bghudappkit
19         $(UNPACK)
20         $(MOVE)
21
22 .bghudappkit: bghudappkit
23         cd $< && xcodebuild $(XCODE_FLAGS)
24         install_name_tool -change @loader_path/../../../../../../../BGHUDAppKit.framework/Versions/A/BGHUDAppKit \
25                                                                 @loader_path/../../../../Versions/A/BGHUDAppKit \
26                 $</build/Release/BGHUDAppKit.framework/Resources/BGHUDAppKitPlugin.ibplugin/Contents/MacOS/BGHUDAppKitPlugin
27         cd $< && cp -R -L build/Release/BGHUDAppKit.framework "$(PREFIX)"
28         touch $@