[vlc-commits] Contribs: Sparkle clean and document
Jean-Baptiste Kempf
git at videolan.org
Tue Feb 21 17:53:15 CET 2017
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Feb 21 17:45:12 2017 +0100| [9c2419ed266f1e7e8a160191663ded8b4a0edec6] | committer: Jean-Baptiste Kempf
Contribs: Sparkle clean and document
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9c2419ed266f1e7e8a160191663ded8b4a0edec6
---
contrib/src/sparkle/rules.mak | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/contrib/src/sparkle/rules.mak b/contrib/src/sparkle/rules.mak
index 5af6bea..ecb6a42 100644
--- a/contrib/src/sparkle/rules.mak
+++ b/contrib/src/sparkle/rules.mak
@@ -1,4 +1,4 @@
-# sparkle
+# Sparkle
SPARKLE_VERSION := 1.13.1
SPARKLE_URL := https://github.com/sparkle-project/Sparkle/archive/$(SPARKLE_VERSION).zip
@@ -17,8 +17,11 @@ sparkle: Sparkle-$(SPARKLE_VERSION).zip .sum-sparkle
$(MOVE)
.sparkle: sparkle
+ # Build Sparkle and change the @rpath
cd $< && xcodebuild $(XCODE_FLAGS) WARNING_CFLAGS=-Wno-error
cd $< && install_name_tool -id @executable_path/../Frameworks/Sparkle.framework/Versions/A/Sparkle build/Release/Sparkle.framework/Sparkle
- install -d $(PREFIX)
- cd $< && mkdir -p "$(PREFIX)/Frameworks" && cp -R build/Release/Sparkle.framework "$(PREFIX)/Frameworks"
+ # Install
+ cd $< && mkdir -p "$(PREFIX)/Frameworks" && \
+ rm -Rf "$(PREFIX)/Frameworks/Sparkle.framework" && \
+ cp -R build/Release/Sparkle.framework "$(PREFIX)/Frameworks"
touch $@
More information about the vlc-commits
mailing list