Skip to content

Commit a10cd7c

Browse files
author
Oleh Kulykov
committed
1722278365
1 parent dc049f3 commit a10cd7c

File tree

10 files changed

+20
-17
lines changed

10 files changed

+20
-17
lines changed

CHANGELOG

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
(Portable, Patched, Package, cross-P-latform) Lzma SDK, libplzma
22

3-
1.4.4: (current):
3+
1.4.5: (current):
4+
- MinGW support.
5+
6+
1.4.4:
47
- Update of the underlying code.
58

69
1.4.3:

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ set(PACKAGE "libplzma")
3333
set(CPACK_PACKAGE_NAME "${PACKAGE}")
3434
set(CPACK_PACKAGE_VERSION_MAJOR "1")
3535
set(CPACK_PACKAGE_VERSION_MINOR "4")
36-
set(CPACK_PACKAGE_VERSION_PATCH "4")
36+
set(CPACK_PACKAGE_VERSION_PATCH "5")
3737
set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}")
3838
set(CPACK_PACKAGE_VENDOR "olehkulykov@gmail.com")
3939
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "${PACKAGE} ${PACKAGE_VERSION}")
40-
set(SOVERSION "1.4.4")
40+
set(SOVERSION "1.4.5")
4141
set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
4242
set(VERSION "${CPACK_PACKAGE_VERSION}")
4343

PLzmaSDK-ObjC.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'PLzmaSDK-ObjC'
3-
s.version = '1.4.4'
3+
s.version = '1.4.5'
44
s.summary = '(Portable, Patched, Package, cross-P-latform) Lzma SDK, libplzma'
55
s.homepage = 'https://github.com/OlehKulykov/PLzmaSDK'
66
s.source = { :git => s.homepage + '.git', :tag => s.version }

PLzmaSDK.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'PLzmaSDK'
3-
s.version = '1.4.4'
3+
s.version = '1.4.5'
44
s.summary = '(Portable, Patched, Package, cross-P-latform) Lzma SDK, libplzma'
55
s.homepage = 'https://github.com/OlehKulykov/PLzmaSDK'
66
s.source = { :git => s.homepage + '.git', :tag => s.version }

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ All optional features are enabled by default, but they might be disabled during
5555
-----------
5656
#### Swift Package Manager
5757
```swift
58-
.package(url: "https://github.com/OlehKulykov/PLzmaSDK.git", .exact("1.4.4"))
58+
.package(url: "https://github.com/OlehKulykov/PLzmaSDK.git", .exact("1.4.5"))
5959
```
6060

6161
#### CocoaPods Podfile (Swift)
@@ -64,7 +64,7 @@ use_frameworks!
6464
platform :ios, '11.0'
6565

6666
target '<REPLACE_WITH_YOUR_TARGET>' do
67-
pod 'PLzmaSDK', '1.4.4'
67+
pod 'PLzmaSDK', '1.4.5'
6868
end
6969
```
7070

@@ -74,7 +74,7 @@ use_frameworks!
7474
platform :ios, '9.0'
7575

7676
target '<REPLACE_WITH_YOUR_TARGET>' do
77-
pod 'PLzmaSDK-ObjC', '1.4.4'
77+
pod 'PLzmaSDK-ObjC', '1.4.5'
7878
end
7979
```
8080

@@ -86,7 +86,7 @@ end
8686
"npm": ">=6.0.0"
8787
},
8888
"dependencies": {
89-
"plzmasdk": "1.4.4"
89+
"plzmasdk": "1.4.5"
9090
}
9191
}
9292
```

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 1.4.4.{build}
1+
version: 1.4.5.{build}
22

33

44
os: Visual Studio 2019

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ android {
1919
minSdkVersion 21
2020
targetSdkVersion 26
2121
versionCode 1
22-
versionName "1.4.4"
22+
versionName "1.4.5"
2323
externalNativeBuild {
2424
cmake {
2525
arguments "-DANDROID_STL=c++_static", "-DANDROID_TOOLCHAIN=clang", "-DLIBCLZMA_OPT_ANDROID:BOOL=ON", "-DLIBCLZMA_OPT_STATIC:BOOL=OFF", "-DLIBCLZMA_OPT_TESTS:BOOL=OFF", "-DLIBCLZMA_OPT_BUILD_NUMBER=601"

libplzma.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@
4444
/// and all optional C bindings to the internal C++ part(Core) of the library.
4545
/// Everything what you need to use this library in C | Objective-C | Swift env. is here.
4646

47-
/// @brief Manualy defined version of the library, i.e. 1.4.4
47+
/// @brief Manualy defined version of the library, i.e. 1.4.5
4848
/// The optinal \a LIBPLZMA_VERSION_BUILD might be befined by the CI or CMake or manualy.
4949
/// Conforms 'Semantic Versioning 2.0.0'.
5050
/// @link https://semver.org
5151
#define LIBPLZMA_VERSION_MAJOR 1
5252
#define LIBPLZMA_VERSION_MINOR 4
53-
#define LIBPLZMA_VERSION_PATCH 4
53+
#define LIBPLZMA_VERSION_PATCH 5
5454

5555
// Check Windows
5656
#if defined(WIN32) || defined(_WIN32) || defined(_WIN64) || defined(WIN64) || defined(WIN32_LEAN_AND_MEAN)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "plzmasdk",
3-
"version": "1.4.4",
3+
"version": "1.4.5",
44
"description": "(Portable, Patched, Package, cross-P-latform) Lzma SDK, libplzma",
55
"author": "Oleh Kulykov <olehkulykov@gmail.com>",
66
"license": "SEE LICENSE IN LICENSE",

src/plzma.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@
4848
#define RAND_MAX 0x7fffffff
4949
#endif
5050

51-
#if (defined(__clang__) && __has_feature(cxx_rtti))
51+
#if __has_feature(cxx_rtti)
5252
# define RTTI_ENABLED 1
53-
#elif (defined(__GNUG__) && defined(__GXX_RTTI) && (__GXX_RTTI > 0))
53+
#elif (defined(__GXX_RTTI) && (__GXX_RTTI > 0))
5454
# define RTTI_ENABLED 1
5555
#elif (defined(__cpp_rtti) && (__cpp_rtti > 0))
5656
// MinGW
5757
# define RTTI_ENABLED 1
58-
#elif (defined(LIBPLZMA_MSC) && defined(_CPPRTTI) && (_CPPRTTI > 0))
58+
#elif (defined(_CPPRTTI) && (_CPPRTTI > 0))
5959
// Defined as 1 if the /GR (Enable Run-Time Type Information) compiler option is set. Otherwise, undefined.
6060
// When /GR is on, the compiler defines the _CPPRTTI preprocessor macro.
6161
// By default, /GR is on. /GR- disables run-time type information.

0 commit comments

Comments
 (0)