Skip to content

Commit bb2e35d

Browse files
authored
Update libnick (#108)
* feat: Update libnick * fix: Flatpak build * fix: Linux builds * Update snapcraft.yaml * Update snapcraft.yaml
1 parent 23d7c7a commit bb2e35d

3 files changed

Lines changed: 55 additions & 3 deletions

File tree

.github/workflows/windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
with:
4747
pkgs: libnick
4848
triplet: ${{ matrix.variant.triplet }}
49-
revision: b0b4f9904e2791bc16b9fd8003243a9f55c42e6e
49+
revision: 01b9c059da1dfdd86ea959338fd7c5f50c40d146
5050
token: ${{ github.token }}
5151
github-binarycache: true
5252
- name: "Build"

flatpak/org.nickvision.application.json

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,55 @@
5050
}
5151
]
5252
},
53+
{
54+
"name": "tcl",
55+
"buildsystem": "autotools",
56+
"subdir": "unix",
57+
"post-install": [
58+
"chmod 755 /app/lib/libtcl*.so"
59+
],
60+
"cleanup": [
61+
"/lib/pkgconfig",
62+
"/man"
63+
],
64+
"sources": [
65+
{
66+
"type": "archive",
67+
"url": "https://prdownloads.sourceforge.net/tcl/tcl8.6.16-src.tar.gz",
68+
"sha256": "91cb8fa61771c63c262efb553059b7c7ad6757afa5857af6265e4b0bdc2a14a5",
69+
"x-checker-data": {
70+
"type": "anitya",
71+
"project-id": 4941,
72+
"stable-only": true,
73+
"versions": {
74+
"<": "9.0.0"
75+
},
76+
"url-template": "https://prdownloads.sourceforge.net/tcl/tcl$version-src.tar.gz"
77+
}
78+
}
79+
]
80+
},
81+
{
82+
"name": "sqlcipher",
83+
"buildsystem": "autotools",
84+
"build-opts": {
85+
"cflags": "-DSQLITE_HAS_CODEC",
86+
"ldflags": "-lcrypto"
87+
},
88+
"config-opts": [
89+
"--enable-tempstore=yes",
90+
"--enable-fts5",
91+
"--enable-releasemode",
92+
"--disable-static"
93+
],
94+
"sources": [
95+
{
96+
"type": "git",
97+
"url": "https://github.com/sqlcipher/sqlcipher",
98+
"tag": "v4.6.1"
99+
}
100+
]
101+
},
53102
{
54103
"name": "libnick",
55104
"buildsystem": "cmake-ninja",
@@ -62,7 +111,7 @@
62111
{
63112
"type": "git",
64113
"url": "https://github.com/nickvisionapps/libnick",
65-
"tag": "2025.6.1"
114+
"tag": "2025.6.3"
66115
}
67116
]
68117
},

snap/snapcraft.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ parts:
1717
- libstdc++6
1818
- libboost-system1.83.0
1919
- libboost-json1.83.0
20+
- libsqlcipher-dev
2021
prime:
2122
- usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}/libstdc++*.so*
2223
- usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}/libboost_system.so*
2324
- usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}/libboost_json.so*
25+
- usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}/libsqlcipher.so*
2426

2527
maddy:
2628
source: https://github.com/progsource/maddy.git
@@ -32,7 +34,7 @@ parts:
3234
libnick:
3335
after: [maddy]
3436
source: https://github.com/nickvisionapps/libnick.git
35-
source-tag: "2025.6.1"
37+
source-tag: "2025.6.3"
3638
source-depth: 1
3739
plugin: cmake
3840
cmake-parameters:
@@ -47,6 +49,7 @@ parts:
4749
- libboost-dev
4850
- libboost-system1.83-dev
4951
- libboost-json1.83-dev
52+
- libsqlcipher-dev
5053
override-prime: ''
5154

5255
libxmlplusplus:

0 commit comments

Comments
 (0)