From 0d27373c9b0ab38a53e4ab8e2370087fa42a9117 Mon Sep 17 00:00:00 2001 From: Sherlock Luk Date: Thu, 18 Jul 2024 17:16:27 +0100 Subject: [PATCH] add copy-swiftprotobuf to Makefile --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 3044fdf7..5d0d6539 100644 --- a/Makefile +++ b/Makefile @@ -11,3 +11,10 @@ EeveeSpotify_EXTRA_FRAMEWORKS = SwiftProtobuf EeveeSpotify_CFLAGS = -fobjc-arc -ISources/EeveeSpotifyC/include include $(THEOS_MAKE_PATH)/tweak.mk + +copy-swiftprotobuf: + mkdir -p swiftprotobuf && cd swiftprotobuf ;\ + curl -OL https://github.com/whoeevee/EeveeSpotify/releases/download/swift2.0/org.swift.protobuf.swiftprotobuf_1.26.0_iphoneos-arm.deb ;\ + ar -x org.swift.protobuf.swiftprotobuf_1.26.0_iphoneos-arm.deb ;\ + tar -xvf data.tar.lzma ;\ + cp -r Library/Frameworks/SwiftProtobuf.framework "${THEOS}/lib" ;\