Skip to content

Commit

Permalink
1.2.16.0 for macos-arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
gubatron committed Apr 20, 2022
1 parent 2561abe commit 998daab
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'java'
group 'com.frostwire'
archivesBaseName = 'jlibtorrent'
// Just changing version here should be all that's necessary to bump the version on the library
version '1.2.15.2'
version '1.2.16.0'

sourceCompatibility = '1.8'
targetCompatibility = '1.8'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class libtorrent_jni {

public static String jlibtorrentVersion() {
// extracted from the gradle with the run-swig step
return "1.2.15.2";
return "1.2.16.0";
}

public static boolean isMacOS() {
Expand Down
7 changes: 4 additions & 3 deletions swig/build-utils.shinc
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ export LIBRARY_NAME=jlibtorrent
# In order to make sure a cherry-picked commit is checkout on the RC_1_2 branch
# I create a tag for it on the github.com/gubatron/libtorrent/commits/RC_1_2 branch
# The tag name format is 'RC_1_2_' + <first 7 digits of commit>
export LIBTORRENT_REVISION=e22621a1883fb1a7ca416dc9aa134518e04f0644 # Clean up compile flags for msvc
export OPENSSL_VERSION="1.1.1m"
export BOOST_VERSION="78"
#export LIBTORRENT_REVISION=e22621a1883fb1a7ca416dc9aa134518e04f0644 # Clean up compile flags for msvc
export LIBTORRENT_REVISION=239500acf2bc60dcb91330bf3c21b939d9f603af # fix bdecode support for large strings (>= 100 MB)
export OPENSSL_VERSION="1.1.1n"
export BOOST_VERSION="79"
export BOOST_MAJOR="1"
export BOOST_MINOR="0"
export BOOST_DOT_VERSION="${BOOST_MAJOR}.${BOOST_VERSION}.${BOOST_MINOR}"
Expand Down
8 changes: 4 additions & 4 deletions swig/libtorrent_jni.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23741,7 +23741,7 @@ SWIGEXPORT jint JNICALL Java_com_frostwire_jlibtorrent_swig_libtorrent_1jni_LIBT

(void)jenv;
(void)jcls;
result = (int)(15);
result = (int)(14);
jresult = (jint)result;
return jresult;
}
Expand All @@ -23753,7 +23753,7 @@ SWIGEXPORT jint JNICALL Java_com_frostwire_jlibtorrent_swig_libtorrent_1jni_LIBT

(void)jenv;
(void)jcls;
result = (int)(((1*10000) +(2*100) +15));
result = (int)(((1*10000) +(2*100) +14));
jresult = (jint)result;
return jresult;
}
Expand All @@ -23765,7 +23765,7 @@ SWIGEXPORT jstring JNICALL Java_com_frostwire_jlibtorrent_swig_libtorrent_1jni_L

(void)jenv;
(void)jcls;
result = (char *)("1.2.15.0");
result = (char *)("1.2.14.0");
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
Expand All @@ -23777,7 +23777,7 @@ SWIGEXPORT jstring JNICALL Java_com_frostwire_jlibtorrent_swig_libtorrent_1jni_L

(void)jenv;
(void)jcls;
result = (char *)("0facda852");
result = (char *)("2b4776a90");
if (result) jresult = jenv->NewStringUTF((const char *)result);
return jresult;
}
Expand Down

0 comments on commit 998daab

Please sign in to comment.