external/libmodplug-0.8.9.0.patch
author Ozkan Sezer
Tue, 17 Dec 2019 21:56:50 +0300
changeset 1091 8a09f3c0c340
parent 1055 df723393f0cf
permissions -rw-r--r--
add patch note for Mix_MusicDuration addition
slouken@830
     1
diff -ruN libmodplug-0.8.9.0.orig/Android.mk libmodplug-0.8.9.0/Android.mk
slouken@830
     2
--- libmodplug-0.8.9.0.orig/Android.mk	1969-12-31 16:00:00.000000000 -0800
slouken@830
     3
+++ libmodplug-0.8.9.0/Android.mk	2017-10-22 11:43:42.132552241 -0700
sezeroz@1055
     4
@@ -0,0 +1,46 @@
slouken@830
     5
+LOCAL_PATH := $(call my-dir)
slouken@830
     6
+
slouken@830
     7
+include $(CLEAR_VARS)
slouken@830
     8
+
slouken@830
     9
+LOCAL_MODULE := modplug
slouken@830
    10
+
sezeroz@1018
    11
+LOCAL_C_INCLUDES := $(LOCAL_PATH)/src $(LOCAL_PATH)/src/libmodplug
slouken@830
    12
+
sezeroz@1018
    13
+LOCAL_CFLAGS += -DHAVE_SETENV -DHAVE_SINF -DHAVE_STDINT_H
slouken@830
    14
+
slouken@830
    15
+LOCAL_SRC_FILES += \
slouken@830
    16
+    src/fastmix.cpp \
slouken@830
    17
+    src/load_669.cpp \
slouken@830
    18
+    src/load_abc.cpp \
slouken@830
    19
+    src/load_amf.cpp \
slouken@830
    20
+    src/load_ams.cpp \
slouken@830
    21
+    src/load_dbm.cpp \
slouken@830
    22
+    src/load_dmf.cpp \
slouken@830
    23
+    src/load_dsm.cpp \
slouken@830
    24
+    src/load_far.cpp \
slouken@830
    25
+    src/load_it.cpp \
slouken@830
    26
+    src/load_mdl.cpp \
slouken@830
    27
+    src/load_med.cpp \
slouken@830
    28
+    src/load_mid.cpp \
slouken@830
    29
+    src/load_mod.cpp \
slouken@830
    30
+    src/load_mt2.cpp \
slouken@830
    31
+    src/load_mtm.cpp \
slouken@830
    32
+    src/load_okt.cpp \
slouken@830
    33
+    src/load_pat.cpp \
slouken@830
    34
+    src/load_psm.cpp \
slouken@830
    35
+    src/load_ptm.cpp \
slouken@830
    36
+    src/load_s3m.cpp \
slouken@830
    37
+    src/load_stm.cpp \
slouken@830
    38
+    src/load_ult.cpp \
slouken@830
    39
+    src/load_umx.cpp \
slouken@830
    40
+    src/load_wav.cpp \
slouken@830
    41
+    src/load_xm.cpp \
slouken@830
    42
+    src/mmcmp.cpp \
slouken@830
    43
+    src/modplug.cpp \
slouken@830
    44
+    src/snd_dsp.cpp \
slouken@830
    45
+    src/snd_flt.cpp \
slouken@830
    46
+    src/snd_fx.cpp \
slouken@830
    47
+    src/sndfile.cpp \
slouken@830
    48
+    src/sndmix.cpp
slouken@830
    49
+
slouken@830
    50
+include $(BUILD_STATIC_LIBRARY)