ci: remove appimage
This commit is contained in:
@@ -379,38 +379,6 @@ jobs:
|
||||
name: linux-app
|
||||
path: plezy-linux.tar.gz
|
||||
|
||||
- name: Replace version placeholders
|
||||
run: |
|
||||
VERSION=$(grep '^version:' pubspec.yaml | sed 's/version: //' | sed 's/+.*//' | tr -d ' ')
|
||||
DATE=$(date -u +%Y-%m-%d)
|
||||
sed -i "s/{{VERSION}}/$VERSION/g" linux/com.edde746.plezy.metainfo.xml
|
||||
sed -i "s/{{DATE}}/$DATE/g" linux/com.edde746.plezy.metainfo.xml
|
||||
|
||||
- name: Build AppImage
|
||||
uses: AppImageCrafters/build-appimage-action@master
|
||||
with:
|
||||
recipe: linux/AppImageBuilder.yml
|
||||
env:
|
||||
UPDATE_INFO: gh-releases-zsync|edde746|plezy|latest|Plezy-*x86_64.AppImage.zsync
|
||||
|
||||
- name: Rename AppImage
|
||||
run: |
|
||||
APPIMAGE=$(find . -name "*.AppImage" -type f | head -1)
|
||||
if [ -f "$APPIMAGE" ]; then
|
||||
mv "$APPIMAGE" plezy-linux.AppImage
|
||||
fi
|
||||
|
||||
- name: Attest AppImage
|
||||
uses: actions/attest-build-provenance@v2
|
||||
with:
|
||||
subject-path: plezy-linux.AppImage
|
||||
|
||||
- name: Upload AppImage
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: linux-appimage
|
||||
path: plezy-linux.AppImage
|
||||
|
||||
create-release:
|
||||
needs:
|
||||
[
|
||||
@@ -442,7 +410,6 @@ jobs:
|
||||
artifacts/windows-portable/plezy-windows-portable.zip
|
||||
artifacts/windows-installer/plezy-windows-installer.exe
|
||||
artifacts/linux-app/plezy-linux.tar.gz
|
||||
artifacts/linux-appimage/plezy-linux.AppImage
|
||||
draft: true
|
||||
prerelease: false
|
||||
generate_release_notes: true
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
version: 1
|
||||
|
||||
script:
|
||||
# Remove previous build
|
||||
- rm -rf AppDir || true
|
||||
# Copy Flutter bundle
|
||||
- cp -r build/linux/x64/release/bundle AppDir
|
||||
# Create icon directories
|
||||
- mkdir -p AppDir/usr/share/icons/hicolor/512x512/apps/
|
||||
- mkdir -p AppDir/usr/share/applications/
|
||||
- mkdir -p AppDir/usr/share/metainfo/
|
||||
# Copy desktop integration files
|
||||
- install -Dm644 linux/com.edde746.plezy.desktop AppDir/usr/share/applications/com.edde746.plezy.desktop
|
||||
- install -Dm644 linux/com.edde746.plezy.metainfo.xml AppDir/usr/share/metainfo/com.edde746.plezy.metainfo.xml
|
||||
- install -Dm644 assets/plezy.png AppDir/usr/share/icons/hicolor/512x512/apps/com.edde746.plezy.png
|
||||
# Move libraries to standard location
|
||||
- mkdir -p AppDir/usr/lib
|
||||
- mv AppDir/lib/* AppDir/usr/lib/ || true
|
||||
- rmdir AppDir/lib || true
|
||||
|
||||
AppDir:
|
||||
path: ./AppDir
|
||||
|
||||
app_info:
|
||||
id: com.edde746.plezy
|
||||
name: Plezy
|
||||
icon: com.edde746.plezy
|
||||
version: latest
|
||||
exec: bin/plezy
|
||||
exec_args: $@
|
||||
|
||||
apt:
|
||||
arch: amd64
|
||||
sources:
|
||||
- sourceline: 'deb [arch=amd64 trusted=yes] http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse'
|
||||
key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C'
|
||||
- sourceline: 'deb [arch=amd64 trusted=yes] http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse'
|
||||
key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C'
|
||||
|
||||
include:
|
||||
- libgtk-3-0
|
||||
- libmpv1
|
||||
- mpv
|
||||
- libasound2
|
||||
- libkeybinder-3.0-0
|
||||
|
||||
exclude:
|
||||
- adwaita-icon-theme
|
||||
- humanity-icon-theme
|
||||
|
||||
runtime:
|
||||
env:
|
||||
GIO_MODULE_DIR: '${APPDIR}/usr/lib/x86_64-linux-gnu/gio/modules'
|
||||
APPDIR_LIBRARY_PATH: '${APPDIR}/usr/lib/x86_64-linux-gnu:${APPDIR}/usr/lib'
|
||||
|
||||
test:
|
||||
fedora-30:
|
||||
image: appimagecrafters/tests-env:fedora-30
|
||||
command: ./AppRun
|
||||
debian-stable:
|
||||
image: appimagecrafters/tests-env:debian-stable
|
||||
command: ./AppRun
|
||||
archlinux-latest:
|
||||
image: appimagecrafters/tests-env:archlinux-latest
|
||||
command: ./AppRun
|
||||
ubuntu-xenial:
|
||||
image: appimagecrafters/tests-env:ubuntu-xenial
|
||||
command: ./AppRun
|
||||
|
||||
AppImage:
|
||||
arch: x86_64
|
||||
update-information: guess
|
||||
@@ -1,10 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=Plezy
|
||||
Comment=A beautiful Plex client for Flutter
|
||||
Exec=plezy
|
||||
Icon=com.edde746.plezy
|
||||
Type=Application
|
||||
Categories=AudioVideo;Video;Player;
|
||||
Terminal=false
|
||||
StartupNotify=true
|
||||
Keywords=plex;media;video;streaming;
|
||||
@@ -1,57 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop-application">
|
||||
<id>com.edde746.plezy</id>
|
||||
<name>Plezy</name>
|
||||
<summary>A beautiful Plex client for Flutter</summary>
|
||||
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>MIT</project_license>
|
||||
|
||||
<description>
|
||||
<p>
|
||||
Plezy is a beautiful Plex client built with Flutter, offering a modern and intuitive
|
||||
interface for accessing your Plex media library.
|
||||
</p>
|
||||
<p>Features:</p>
|
||||
<ul>
|
||||
<li>Stream your Plex media library</li>
|
||||
<li>Modern, responsive user interface</li>
|
||||
<li>Support for video playback with hardware acceleration</li>
|
||||
<li>Cross-platform compatibility</li>
|
||||
</ul>
|
||||
</description>
|
||||
|
||||
<launchable type="desktop-id">com.edde746.plezy.desktop</launchable>
|
||||
|
||||
<url type="homepage">https://github.com/edde746/plezy</url>
|
||||
<url type="bugtracker">https://github.com/edde746/plezy/issues</url>
|
||||
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<caption>Plezy main interface</caption>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
|
||||
<content_rating type="oars-1.1" />
|
||||
|
||||
<releases>
|
||||
<release version="{{VERSION}}" date="{{DATE}}">
|
||||
<description>
|
||||
<p>Latest release</p>
|
||||
</description>
|
||||
</release>
|
||||
</releases>
|
||||
|
||||
<categories>
|
||||
<category>AudioVideo</category>
|
||||
<category>Video</category>
|
||||
<category>Player</category>
|
||||
</categories>
|
||||
|
||||
<keywords>
|
||||
<keyword>plex</keyword>
|
||||
<keyword>media</keyword>
|
||||
<keyword>video</keyword>
|
||||
<keyword>streaming</keyword>
|
||||
</keywords>
|
||||
</component>
|
||||
Reference in New Issue
Block a user