Skip to content

Commit

Permalink
Flatpak test (#1204)
Browse files Browse the repository at this point in the history
* Updated flatpak manifest and metainfo

Added portmidi, updated version

* More cleanup
  • Loading branch information
midwan authored Dec 15, 2023
1 parent 0362af6 commit 39c3d36
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 13 deletions.
1 change: 1 addition & 0 deletions flatpak/com.blitterstudio.amiberry.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
</screenshot>
</screenshots>
<releases>
<release version="5.6.5" date="2023-12-15"/>
<release version="5.6.4" date="2023-11-19"/>
<release version="5.6.3" date="2023-11-12"/>
</releases>
Expand Down
42 changes: 29 additions & 13 deletions flatpak/com.blitterstudio.amiberry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,34 +26,53 @@ modules:
config-opts:
- --disable-static
rm-configure: true
cleanup:
- /bin
- /include
- /lib/pkgconfig
- "*.la"
- "*.a"
sources:
- type: archive
url: http://libmpeg2.sourceforge.net/files/libmpeg2-0.5.1.tar.gz
url: https://libmpeg2.sourceforge.net/files/libmpeg2-0.5.1.tar.gz
sha256: dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4
- type: script
dest-filename: autogen.sh
commands:
- autoreconf -vfi

- name: libserialport
buildsystem: autotools
cleanup:
- /bin
- /include
- /lib/pkgconfig
- "*.la"
- "*.a"

- name: libserialport
buildsystem: autotools
sources:
- type: git
url: https://github.com/sigrokproject/libserialport
tag: libserialport-0.1.1
commit: 348a6d353af8ac142f68fbf9fe0f4d070448d945
cleanup:
- /include
- "*.la"
- "*.a"

- name: portmidi
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
sources:
- type: git
url: https://github.com/PortMidi/PortMidi
tag: v2.0.4
commit: b808babecdc5d05205467dab5c1006c5ac0fdfd4
cleanup:
- /bin
- /lib/pkgconfig
- /include
- '*.a'
- '*.la'

- name: amiberry
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
post-install:
- install -Dp -m 755 amiberry /app/bin/amiberry
- install -D -m644 -t /app/share/applications/ flatpak/${FLATPAK_ID}.desktop
Expand All @@ -71,9 +90,6 @@ modules:
- cp -R savestates /app/data
- cp -R screenshots /app/data
- cp -R whdboot /app/data
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release

sources:
- type: git
Expand Down

0 comments on commit 39c3d36

Please sign in to comment.