]>
Commit | Line | Data |
---|---|---|
e6cd4dee JF |
1 | name := CydgetLoader |
2 | flags := -framework UIKit -framework AddressBook | |
3 | base := $(shell cd ~; pwd)/menes/tweaks | |
4 | include $(base)/tweak.mk | |
a75dc45a JF |
5 | webcore := WebCore-514 |
6 | jscore := JavaScriptCore-521 | |
3cf4303e | 7 | |
daee0ba3 JF |
8 | all: WebCycriptLockScreen |
9 | ||
10 | WebCycriptLockScreen: LockScreen.mm makefile $(base)/../mobilesubstrate/substrate.h | |
a75dc45a | 11 | $(target)g++ -bundle -mthumb -g0 -O2 -Wall -Werror -o $@ $(filter %.mm,$^) -lobjc -I$(base)/../mobilesubstrate $(link) $(flags) -framework CoreGraphics -framework QuartzCore -framework SpringBoardUI -framework WebCore -framework JavaScriptCore -framework GraphicsServices -framework TelephonyUI -I$(jscore) -iquote$(webcore)/{bindings/js,dom,loader,platform{,/animation,/cf,/network{,/cf},/text},/rendering/style} -iquote$(jscore)/{jit,runtime} |
daee0ba3 JF |
12 | ldid -S $@ |
13 | ||
3cf4303e | 14 | extra: |
daee0ba3 JF |
15 | mkdir -p package/System/Library/LockCydgets/CydgetCentral.cydget |
16 | cp -a CydgetCentral.plist package/System/Library/LockCydgets/CydgetCentral.cydget/Info.plist | |
17 | mkdir -p package/System/Library/SpringBoardPlugins/WebCycriptLockScreen.bundle | |
18 | cp -a Info.plist package/System/Library/SpringBoardPlugins/WebCycriptLockScreen.bundle | |
19 | cp -a WebCycriptLockScreen package/System/Library/SpringBoardPlugins/WebCycriptLockScreen.bundle |