mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-24 22:50:57 -04:00
Merge pull request #2249 from keepassxreboot/fix/snapcraft-build
Snapcraft update and bump to 2.4.0-preview
This commit is contained in:
commit
5aeb30e845
4 changed files with 24 additions and 11 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2.4.0-preview (TBD)
|
||||||
|
=========================
|
||||||
|
|
||||||
|
This is a pre-release build, view merged PR's at
|
||||||
|
https://github.com/keepassxreboot/keepassxc/pulls?q=is%3Apr+milestone%3Av2.4.0+is%3Aclosed
|
||||||
|
|
||||||
2.3.4 (2018-08-21)
|
2.3.4 (2018-08-21)
|
||||||
=========================
|
=========================
|
||||||
|
|
||||||
|
|
|
@ -61,8 +61,8 @@ endif()
|
||||||
set(CMAKE_AUTOUIC ON)
|
set(CMAKE_AUTOUIC ON)
|
||||||
|
|
||||||
set(KEEPASSXC_VERSION_MAJOR "2")
|
set(KEEPASSXC_VERSION_MAJOR "2")
|
||||||
set(KEEPASSXC_VERSION_MINOR "3")
|
set(KEEPASSXC_VERSION_MINOR "4")
|
||||||
set(KEEPASSXC_VERSION_PATCH "4")
|
set(KEEPASSXC_VERSION_PATCH "0")
|
||||||
set(KEEPASSXC_VERSION "${KEEPASSXC_VERSION_MAJOR}.${KEEPASSXC_VERSION_MINOR}.${KEEPASSXC_VERSION_PATCH}")
|
set(KEEPASSXC_VERSION "${KEEPASSXC_VERSION_MAJOR}.${KEEPASSXC_VERSION_MINOR}.${KEEPASSXC_VERSION_PATCH}")
|
||||||
|
|
||||||
set(KEEPASSXC_BUILD_TYPE "Snapshot" CACHE STRING "Set KeePassXC build type to distinguish between stable releases and snapshots")
|
set(KEEPASSXC_BUILD_TYPE "Snapshot" CACHE STRING "Set KeePassXC build type to distinguish between stable releases and snapshots")
|
||||||
|
|
|
@ -50,6 +50,13 @@
|
||||||
</screenshots>
|
</screenshots>
|
||||||
|
|
||||||
<releases>
|
<releases>
|
||||||
|
<release version="2.4.0-preview" date="TBD">
|
||||||
|
<description>
|
||||||
|
<p>
|
||||||
|
This is a pre-release build, <a href="https://github.com/keepassxreboot/keepassxc/pulls?q=is%3Apr+milestone%3Av2.4.0+is%3Aclosed">click to view merged PR's</a>
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
</release>
|
||||||
<release version="2.3.4" date="2018-08-21">
|
<release version="2.3.4" date="2018-08-21">
|
||||||
<description>
|
<description>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: keepassxc
|
name: keepassxc
|
||||||
version: 2.3.4
|
version: 2.4.0
|
||||||
grade: stable
|
grade: stable
|
||||||
summary: Community-driven port of the Windows application “KeePass Password Safe”
|
summary: Community-driven port of the Windows application “KeePass Password Safe”
|
||||||
description: |
|
description: |
|
||||||
|
@ -7,12 +7,15 @@ description: |
|
||||||
personal data management. It has a light interface, is cross-platform and
|
personal data management. It has a light interface, is cross-platform and
|
||||||
published under the terms of the GNU General Public License.
|
published under the terms of the GNU General Public License.
|
||||||
confinement: strict
|
confinement: strict
|
||||||
|
base: core18
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
keepassxc:
|
keepassxc:
|
||||||
command: desktop-launch keepassxc
|
command: desktop-launch keepassxc
|
||||||
plugs: [unity7, x11, opengl, gsettings, home, network, network-bind, removable-media, raw-usb]
|
plugs: [unity7, x11, opengl, gsettings, home, network, network-bind, removable-media, raw-usb, wayland, desktop-legacy]
|
||||||
desktop: usr/share/applications/org.keepassxc.KeePassXC.desktop
|
desktop: usr/share/applications/org.keepassxc.KeePassXC.desktop
|
||||||
|
environment:
|
||||||
|
DISABLE_WAYLAND: 1
|
||||||
cli:
|
cli:
|
||||||
command: keepassxc-cli
|
command: keepassxc-cli
|
||||||
plugs: [gsettings, home, removable-media, raw-usb]
|
plugs: [gsettings, home, removable-media, raw-usb]
|
||||||
|
@ -27,15 +30,13 @@ parts:
|
||||||
configflags:
|
configflags:
|
||||||
- -DCMAKE_BUILD_TYPE=Release
|
- -DCMAKE_BUILD_TYPE=Release
|
||||||
- -DCMAKE_INSTALL_PREFIX=/usr
|
- -DCMAKE_INSTALL_PREFIX=/usr
|
||||||
- -DCMAKE_LIBRARY_PATH=/opt/keepassxc-libs/lib/x86_64-linux-gnu
|
|
||||||
- -DCMAKE_INCLUDE_PATH=/opt/keepassxc-libs/include
|
|
||||||
- -DKEEPASSXC_DIST_TYPE=Snap
|
- -DKEEPASSXC_DIST_TYPE=Snap
|
||||||
- -DKEEPASSXC_BUILD_TYPE=Release
|
- -DKEEPASSXC_BUILD_TYPE=PreRelease
|
||||||
- -DWITH_TESTS=OFF
|
- -DWITH_TESTS=OFF
|
||||||
- -DWITH_XC_ALL=ON
|
- -DWITH_XC_ALL=ON
|
||||||
build-packages:
|
build-packages:
|
||||||
- g++
|
- g++
|
||||||
- libgcrypt20-18-dev
|
- libgcrypt20-dev
|
||||||
- libqt5x11extras5-dev
|
- libqt5x11extras5-dev
|
||||||
- qtbase5-dev
|
- qtbase5-dev
|
||||||
- qttools5-dev
|
- qttools5-dev
|
||||||
|
@ -50,20 +51,19 @@ parts:
|
||||||
stage-packages:
|
stage-packages:
|
||||||
- dbus
|
- dbus
|
||||||
- qttranslations5-l10n # common translations
|
- qttranslations5-l10n # common translations
|
||||||
- libgcrypt20-18
|
- libgcrypt20
|
||||||
- libykpers-1-1
|
- libykpers-1-1
|
||||||
- libargon2-0
|
- libargon2-0
|
||||||
- libsodium23
|
- libsodium23
|
||||||
- libxtst6
|
- libxtst6
|
||||||
- libqt5x11extras5
|
- libqt5x11extras5
|
||||||
- libusb-1.0-0
|
- libusb-1.0-0
|
||||||
|
- qtwayland5
|
||||||
override-build: |
|
override-build: |
|
||||||
snapcraftctl build
|
snapcraftctl build
|
||||||
sed -i 's|Icon=keepassxc|Icon=${SNAP}/usr/share/icons/hicolor/256x256/apps/keepassxc.png|g' $SNAPCRAFT_PART_INSTALL/usr/share/applications/org.keepassxc.KeePassXC.desktop
|
sed -i 's|Icon=keepassxc|Icon=${SNAP}/usr/share/icons/hicolor/256x256/apps/keepassxc.png|g' $SNAPCRAFT_PART_INSTALL/usr/share/applications/org.keepassxc.KeePassXC.desktop
|
||||||
organize:
|
organize:
|
||||||
usr/share/qt5/translations/*.qm: usr/share/keepassxc/translations/
|
usr/share/qt5/translations/*.qm: usr/share/keepassxc/translations/
|
||||||
opt/keepassxc-libs/lib/x86_64-linux-gnu/*: usr/lib/x86_64-linux-gnu/
|
|
||||||
opt/keepassxc-libs/share/locale/*: usr/share/locale/
|
|
||||||
stage:
|
stage:
|
||||||
- -opt
|
- -opt
|
||||||
after: [desktop-qt5]
|
after: [desktop-qt5]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue