Commit 2d89fa9e authored by Felix Paul Kühne's avatar Felix Paul Kühne

contrib/growl: added patch to upgrade the xcodeproj and cleanup the script

parent dfb4fa14
This diff is collapsed.
......@@ -12,21 +12,12 @@ $(TARBALLS)/growl-$(GROWL_VERSION).tar.bz2:
.sum-growl: growl-$(GROWL_VERSION).tar.bz2
ifeq ($(shell clang -v 2>/dev/null || echo FAIL),)
GROWL_COMPILER=com.apple.compilers.llvm.clang.1_0
else
GROWL_COMPILER=com.apple.compilers.gcc.4_2
endif
growl: growl-$(GROWL_VERSION).tar.bz2 .sum-growl
$(UNPACK)
mv Growl-1.2.2-src $@
sed -i.orig -e s/"SDKROOT = macosx10.5"/"SDKROOT = macosx$(OSX_VERSION)"/g \
-e s/"GCC_VERSION = 4.0"/"GCC_VERSION = $(GROWL_COMPILER)"/g \
-e s/com.apple.compilers.gcc.4_0/$(GROWL_COMPILER)/g \
$@/Growl.xcodeproj/project.pbxproj
sed -i.orig -e s/"REVISION \$$REV"/"REVISION 0x\$$REV"/g $@/generateHgRevision.sh
touch $@
mv Growl-1.2.2-src growl-1.2.2
$(APPLY) $(SRC)/growl/growl-xcode4.patch
sed -i.orig -e s/"REVISION \$$REV"/"REVISION 0x\$$REV"/g growl-1.2.2/generateHgRevision.sh
$(MOVE)
.growl: growl
cd $< && xcodebuild $(XCODE_FLAGS) -target Growl.framework -configuration Release
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment