Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Games
KBlocks
Commits
08f3eb9f
Commit
08f3eb9f
authored
Apr 08, 2021
by
Jonathan Esk-Riddell
🏄
Browse files
update snapcraft
parent
9c4e157b
Changes
1
Hide whitespace changes
Inline
Side-by-side
snapcraft.yaml
View file @
08f3eb9f
---
name
:
kblocks
version
:
20.08.0
confinement
:
strict
grade
:
stable
base
:
core
18
base
:
core
20
adopt-info
:
kblocks
apps
:
kblocks
:
...
...
@@ -17,10 +16,9 @@ apps:
-
desktop
-
network
-
network-bind
-
unity7
-
pulseaudio
-
audio-playback
-
desktop-legacy
-
removable-medi
a
-
als
a
slots
:
session-dbus-interface
:
interface
:
dbus
...
...
@@ -28,60 +26,64 @@ slots:
bus
:
session
plugs
:
kde-frameworks-5-plug
:
content
:
kde-frameworks-5-qt-5-1
4
-core
18
-all
content
:
kde-frameworks-5-qt-5-1
5
-core
20
-all
interface
:
content
default-provider
:
kde-frameworks-5-qt-5-1
4
-core
18
default-provider
:
kde-frameworks-5-qt-5-1
5
-core
20
target
:
kf5
package-repositories
:
-
type
:
apt
components
:
-
main
suites
:
-
focal
key-id
:
444DABCF3667D0283F894EDDE6D4736255751E5D
url
:
http://origin.archive.neon.kde.org/user
key-server
:
keyserver.ubuntu.com
layout
:
/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/alsa-lib
:
bind
:
$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/alsa-lib
/usr/share/alsa
:
bind
:
$SNAP/usr/share/alsa
parts
:
kdegames
:
plugin
:
cmake
source
:
https://download.kde.org/stable/release-service/20.08.0/src/libkdegames-20.08.0.tar.xz
build-packages
:
-
build-essential
-
libopenal-dev
-
libsndfile1-dev
configflags
:
-
"
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON"
-
"
-DCMAKE_INSTALL_PREFIX=/usr"
-
"
-DCMAKE_BUILD_TYPE=Release"
-
"
-DENABLE_TESTING=OFF"
-
"
-DBUILD_TESTING=OFF"
-
"
-DKDE_SKIP_TEST_SETTINGS=ON"
-
"
-DCMAKE_FIND_ROOT_PATH=/snap/kde-frameworks-5-qt-5-14-core18-sdk/current"
#kdoctools5:
# plugin: dump
# source: https://archive.neon.kde.org/user/pool/main/k/kdoctools/kdoctools5_5.73.0-0xneon+20.04+focal+build4_amd64.deb
#libkf5doctools-dev:
# plugin: dump
# source: https://archive.neon.kde.org/user/pool/main/k/kdoctools/libkf5doctools-dev_5.73.0-0xneon+20.04+focal+build4_amd64.deb
kblocks
:
parse-info
:
-
usr/share/metainfo/org.kde.kblocks.appdata.xml
build-snaps
:
-
kde-frameworks-5-qt-5-14-core18-sdk
after
:
-
kdegames
#- kdoctools5
#- libkf5doctools-dev
-
kde-frameworks-5-env
override-build
:
|
echo 'deb http://archive.neon.kde.org/user bionic main' >> /etc/apt/sources.list
wget 'https://archive.neon.kde.org/public.key' -O ppa-key
apt-key add ppa-key
rm -f /etc/apt/apt.conf.d/proxy
apt update
apt-get -y install libkf5doctools-dev
snapcraftctl build
plugin
:
cmake
source
:
http://download.kde.org/stable/release-service/20.08.0/src/kblocks-20.08.0.tar.xz
configflags
:
build-packages
:
-
libkf5doctools-dev
build-snaps
:
-
kde-frameworks-5-qt-5-15-core20-sdk/latest/candidate
build-environment
:
-
CMAKE_BUILD_PARALLEL_LEVEL
:
"
4"
-
VERBOSE
:
"
1"
stage-packages
:
-
libasound2-data
-
libasound2-plugins
filesets
:
exclusion
:
-
"
-usr/lib/*/cmake/*"
-
"
-usr/include/*"
-
"
-usr/share/ECM/*"
-
"
-usr/share/doc/*"
-
"
-usr/share/man/*"
-
"
-usr/share/icons/breeze-dark*"
-
"
-usr/bin/X11"
-
"
-usr/lib/gcc/x86_64-linux-gnu/6.0.0"
-
"
-usr/lib/aspell/*"
prime
:
-
"
$exclusion"
-
"
-etc/alsa/conf.d/99-pulse.conf"
parse-info
:
-
usr/share/metainfo/org.kde.kblocks.appdata.xml
source
:
http://download.kde.org/stable/release-service/20.12.3/src/kblocks-20.12.3.tar.xz
cmake-parameters
:
-
"
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON"
-
"
-DCMAKE_INSTALL_PREFIX=/usr"
-
"
-DCMAKE_BUILD_TYPE=Release"
-
"
-DENABLE_TESTING=OFF"
-
"
-DBUILD_TESTING=OFF"
-
"
-DKDE_SKIP_TEST_SETTINGS=ON"
-
"
-DCMAKE_FIND_ROOT_PATH=/snap/kde-frameworks-5-qt-5-1
4
-core
18
-sdk/current"
-
"
-DCMAKE_FIND_ROOT_PATH=/
usr
\\
;/root/stage
\\
;/
snap/kde-frameworks-5-qt-5-1
5
-core
20
-sdk/current"
kde-frameworks-5-env
:
plugin
:
dump
source
:
https://
anongi
t.kde.org/snap-kf5-launcher.git
source
:
https://
inven
t.kde.org/
packaging/
snap-kf5-launcher.git
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment