]> git.sesse.net Git - vlc/blob - contrib/src/bghudappkit/rules.mak
contrib: tentative build rules for OSX frameworks
[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))
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 -arch $(ARCH)
24         cd $< && cp -R -L build/Release/BGHUDAppKit.framework "$(PREFIX)"
25         touch $@