Trying to get Flatpak build working
This commit is contained in:
22
.builds/build-flatpak.yml
Normal file
22
.builds/build-flatpak.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
image: archlinux
|
||||
packages:
|
||||
- dbus
|
||||
- gobject-introspection
|
||||
- gtk3
|
||||
- mpv
|
||||
- python-cairo
|
||||
- python-gobject
|
||||
- python-poetry
|
||||
- xorg-server-xvfb
|
||||
sources:
|
||||
- https://git.sr.ht/~sumner/sublime-music
|
||||
environment:
|
||||
REPO_NAME: sublime-music
|
||||
# triggers:
|
||||
# - action: email
|
||||
# condition: failure
|
||||
# to: ~sumner/sublime-music-devel@lists.sr.ht
|
||||
tasks:
|
||||
- build-flatpak: |
|
||||
cd ${REPO_NAME}/flatpak
|
||||
REPO=repo ./flatpak_build.sh
|
@@ -38,10 +38,6 @@ tasks:
|
||||
- build: |
|
||||
python setup.py sdist
|
||||
|
||||
- build-flatpak: |
|
||||
cd ${REPO_NAME}/flatpak
|
||||
# REPO=repo ./flatpak_build.sh
|
||||
|
||||
- deploy-pypi: |
|
||||
./cicd/run_if_tagged_with_version \
|
||||
"twine upload -r testpypi dist/*" \
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,5 +1,6 @@
|
||||
flatpak/flatpak_build_dir/
|
||||
flatpak/sublime-music.flatpak
|
||||
flatpak/repo
|
||||
|
||||
# Created by https://www.gitignore.io/api/python
|
||||
# Edit at https://www.gitignore.io/?templates=python
|
||||
|
@@ -8,4 +8,4 @@ pip3 install poetry
|
||||
mkdir -p ~/.config/pypoetry/
|
||||
echo "[virtualenvs]" > ~/.config/pypoetry/config.toml
|
||||
echo "in-project = true" >> ~/.config/pypoetry/config.toml
|
||||
poetry install --dev
|
||||
poetry install
|
||||
|
@@ -67,6 +67,9 @@
|
||||
"build-commands": [
|
||||
"pip3 install --prefix=/app ."
|
||||
],
|
||||
"build-options": {
|
||||
"build-args": [ "--share=network" ]
|
||||
},
|
||||
"sources": [
|
||||
{
|
||||
"type": "dir",
|
||||
|
@@ -89,7 +89,8 @@
|
||||
<update_contact>me_AT_sumnerevans.com</update_contact>
|
||||
|
||||
<releases>
|
||||
<release version="0.10.2" date="2020-06-07"></release>
|
||||
<release version="0.11.9" date="2020-09-22"></release>
|
||||
<release version="0.10.3" date="2020-06-07"></release>
|
||||
<release version="0.10.2" date="2020-06-07"></release>
|
||||
</releases>
|
||||
</component>
|
||||
|
Reference in New Issue
Block a user