@@ -29,9 +29,9 @@ LIBOGG_SRC := $(LIBOGG_VERSION).tar.xz
2929LIBOGG_DOWNLOAD := "http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.xz"
3030
3131TREMOR := tremor
32- TREMOR_GIT_CHECKOUT := "master"
33- TREMOR_VERSION := $(TREMOR ) - $( TREMOR_GIT_CHECKOUT )
34- TREMOR_REPO := "https://git.xiph.org/tremor.git"
32+ TREMOR_VERSION := $( TREMOR ) -2a1a8f6
33+ TREMOR_SRC := $(TREMOR_VERSION ) .tar.gz
34+ TREMOR_DOWNLOAD := "https://git.xiph.org/?p= tremor.git;a=snapshot;h=2a1a8f621e500fdf0749f115e2206f82919560a3;sf=tgz "
3535
3636LIBFAAD2 := faad2
3737LIBFAAD2_VERSION := $(LIBFAAD2 ) -2.7
@@ -44,8 +44,8 @@ FMT_VERSION := $(FMT)-$(FMT_GIT_CHECKOUT)
4444FMT_REPO := "https://github.com/fmtlib/fmt.git"
4545
4646export PORTLIBS := $(DEVKITPRO ) /portlibs/3ds
47- export PATH := $(DEVKITARM ) /bin:$(PATH )
48- export PKG_CONFIG_PATH := $(PORTLIBS ) /lib/pkgconfig
47+ export PATH := $(DEVKITARM ) /bin:$(DEVKITPRO ) /portlibs/3ds/bin: $( DEVKITPRO ) /portlibs/armv6k/bin: $( PATH )
48+ export PKG_CONFIG := $(PWD ) /arm-none-eabi-pkg-config
4949export CFLAGS := -march=armv6k -mtune=mpcore -mfloat-abi=hard -O3 \
5050 -mword-relocations -ffunction-sections
5151export CPPFLAGS := -I$(PORTLIBS ) /include
@@ -111,10 +111,9 @@ $(LIBOGG): $(LIBOGG_SRC)
111111 ./configure --prefix=$(PORTLIBS ) --host=arm-none-eabi --disable-shared --enable-static
112112 @$(MAKE ) -C $(LIBOGG_VERSION )
113113
114- $(TREMOR ) :
115- @[ -d $( TREMOR_VERSION) ] || git clone $( TREMOR_REPO ) $( TREMOR_VERSION )
114+ $(TREMOR ) : $( TREMOR_SRC )
115+ @[ -d $( TREMOR_VERSION) ] || tar -xaf $<
116116 @cd $(TREMOR_VERSION ) && \
117- git pull && git checkout $(TREMOR_GIT_CHECKOUT ) && \
118117 ./autogen.sh --prefix=$(PORTLIBS ) --host=arm-none-eabi --disable-shared --disable-oggtest
119118 @$(MAKE ) -C $(TREMOR_VERSION )
120119
@@ -145,6 +144,8 @@ $(LIBMAD_SRC):
145144 wget -O $@ $(LIBMAD_DOWNLOAD )
146145$(LIBOGG_SRC ) :
147146 wget -O $@ $(LIBOGG_DOWNLOAD )
147+ $(TREMOR_SRC ) :
148+ wget -O $@ $(TREMOR_DOWNLOAD )
148149$(LIBFAAD2_SRC ) :
149150 wget -O $@ $(LIBFAAD2_DOWNLOAD )
150151
0 commit comments