@@ -1050,6 +1050,101 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
1050
1050
CONFIGURE_OPTIONS+=(" --enable-amf" )
1051
1051
fi
1052
1052
1053
+
1054
+ # #
1055
+ # # Descript Additions
1056
+ # #
1057
+
1058
+ if $SHARED_LIBRARIES ; then
1059
+ if build " twolame" " 0.4.0" ; then
1060
+ download " https://downloads.sourceforge.net/twolame/twolame-0.4.0.tar.gz"
1061
+ execute ./configure --prefix=" ${WORKSPACE} " --enable-shared --disable-static
1062
+ execute make -j $MJOBS
1063
+ execute make install
1064
+
1065
+ build_done " twolame" " 0.4.0"
1066
+ fi
1067
+ CONFIGURE_OPTIONS+=(" --enable-libtwolame" )
1068
+
1069
+
1070
+ if build " shine" " 3.1.1" ; then
1071
+ download " https://github.com/toots/shine/archive/3.1.1.tar.gz" " shine-3.1.1.tar.gz"
1072
+ execute autoreconf -i
1073
+ execute ./configure --prefix=" ${WORKSPACE} " --enable-shared --disable-static
1074
+ execute make -j $MJOBS
1075
+ execute make install
1076
+
1077
+ build_done " shine" " 3.1.1"
1078
+ fi
1079
+ CONFIGURE_OPTIONS+=(" --enable-libshine" )
1080
+
1081
+
1082
+ if build " soxr" " 0.1.3" ; then
1083
+ download " http://ftp.debian.org/debian/pool/main/libs/libsoxr/libsoxr_0.1.3.orig.tar.xz" " soxr-0.1.3.tar.xz"
1084
+ make_dir build
1085
+ cd build || exit
1086
+ execute cmake .. -DWITH_OPENMP:BOOL=OFF -Wno-dev -DCMAKE_INSTALL_PREFIX=" ${WORKSPACE} " -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS:BOOL=ON
1087
+ execute make -j $MJOBS
1088
+ execute make install
1089
+
1090
+ build_done " soxr" " 0.1.3"
1091
+ fi
1092
+ CONFIGURE_OPTIONS+=(" --enable-libsoxr" )
1093
+
1094
+
1095
+ if build " speex" " 1.2.0" ; then
1096
+ download " http://downloads.us.xiph.org/releases/speex/speex-1.2.0.tar.gz"
1097
+ execute ./configure --prefix=" ${WORKSPACE} " --enable-shared --disable-static
1098
+ execute make -j $MJOBS
1099
+ execute make install
1100
+
1101
+ build_done " speex" " 1.2.0"
1102
+ fi
1103
+ CONFIGURE_OPTIONS+=(" --enable-libspeex" )
1104
+
1105
+
1106
+ if build " openjpeg" " 2.3.1" ; then
1107
+ download " https://github.com/uclouvain/openjpeg/archive/v2.3.1.tar.gz" " openjpeg-v2.3.1.tar.gz"
1108
+ make_dir build
1109
+ cd build || exit
1110
+ execute cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=" ${WORKSPACE} " -DBUILD_SHARED_LIBS:bool=on
1111
+ execute make -j $MJOBS
1112
+ execute make install
1113
+
1114
+ build_done " openjpeg" " 2.3.1"
1115
+ fi
1116
+ CONFIGURE_OPTIONS+=(" --enable-libopenjpeg" )
1117
+
1118
+
1119
+ if build " snappy" " 1.1.8" ; then
1120
+ download " https://github.com/google/snappy/archive/1.1.8.tar.gz"
1121
+ make_dir build
1122
+ cd build || exit
1123
+ execute cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=" ${WORKSPACE} " -DBUILD_SHARED_LIBS:bool=on
1124
+ execute make -j $MJOBS
1125
+
1126
+ # if [[ "$OSTYPE" == "darwin"* ]]; then
1127
+ # execute install_name_tool -id "${WORKSPACE}/lib/libsnappy.1.dylib" libsnappy.1.dylib
1128
+ # fi
1129
+
1130
+ execute make install
1131
+
1132
+ build_done " snappy" " 1.1.8"
1133
+ fi
1134
+ CONFIGURE_OPTIONS+=(" --enable-libsnappy" )
1135
+
1136
+
1137
+ if build " xz" " 5.2.5" ; then
1138
+ download " https://tukaani.org/xz/xz-5.2.5.tar.gz"
1139
+ execute ./configure --prefix=" ${WORKSPACE} " --enable-shared --disable-static
1140
+ execute make -j $MJOBS
1141
+ execute make install
1142
+
1143
+ build_done " xz" " 5.2.5"
1144
+ fi
1145
+
1146
+ fi
1147
+
1053
1148
# #
1054
1149
# # FFmpeg
1055
1150
# #
0 commit comments