contrib/growl: Add growl patch that comments out logging
[vlc.git] / contrib / src / growl / rules.mak
1 # growl
2
3 GROWL_VERSION := 1.2.2
4 GROWL_URL := http://growl.googlecode.com/files/Growl-$(GROWL_VERSION)-src.tbz
5
6 ifdef HAVE_MACOSX
7 PKGS += growl
8 endif
9
10 $(TARBALLS)/growl-$(GROWL_VERSION).tar.bz2:
11         $(call download,$(GROWL_URL))
12
13 .sum-growl: growl-$(GROWL_VERSION).tar.bz2
14
15 growl: growl-$(GROWL_VERSION).tar.bz2 .sum-growl
16         $(UNPACK)
17         mv Growl-1.2.2-src growl-1.2.2
18         $(APPLY) $(SRC)/growl/growl-xcode5.patch
19         $(APPLY) $(SRC)/growl/growl-log-delegate.patch
20         sed -i.orig -e s/"REVISION \$$REV"/"REVISION 0x\$$REV"/g growl-1.2.2/generateHgRevision.sh
21         $(MOVE)
22
23 .growl: growl
24         cd $< && xcodebuild $(XCODE_FLAGS) -target Growl.framework -configuration Release
25         install -d $(PREFIX)
26         cd $< && cp -Rf build/Release/Growl.framework "$(PREFIX)"
27         touch $@