From 427c1b7db763e137adb929a33dc18b49abc6f825 Mon Sep 17 00:00:00 2001 From: Sherlock Luk Date: Thu, 25 Jul 2024 01:02:36 +0100 Subject: [PATCH] add copy-swiftprotobuf to Makefile (#257) --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 3044fdf..5d0d653 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" ;\