-
Notifications
You must be signed in to change notification settings - Fork 221
/
Makefile
21 lines (16 loc) · 892 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
TARGET := iphone:clang:latest:14.0
INSTALL_TARGET_PROCESSES = Spotify
ARCHS = arm64
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = EeveeSpotify
EeveeSpotify_FILES = $(shell find Sources/EeveeSpotify -name '*.swift') $(shell find Sources/EeveeSpotifyC -name '*.m' -o -name '*.c' -o -name '*.mm' -o -name '*.cpp')
EeveeSpotify_SWIFTFLAGS = -ISources/EeveeSpotifyC/include
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" ;\