diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml new file mode 100644 index 0000000..9096371 --- /dev/null +++ b/.github/dependabot.yaml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" \ No newline at end of file diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..45275c6 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,74 @@ +name: Build + +on: + push + +jobs: + Build: + runs-on: ubuntu-latest + steps: + - name: Clone repo + uses: actions/checkout@v4 + with: + submodules: true + + - name: Install build depends + run: | + sudo apt update + sudo apt install flatpak flatpak-builder qemu-system-arm qemu-user-static + flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo + + - name: Import GPG key + uses: crazy-max/ghaction-import-gpg@v6 + with: + gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} + passphrase: ${{ secrets.PASSPHRASE }} + + - name: Build + run: | + git config --global protocol.file.allow always + + flatpak-builder build-dir manifests/cn.wps.office/cn.wps.office.yaml --repo=repo --arch=x86_64 --default-branch=stable --force-clean --user --install-deps-from=flathub --gpg-sign=${{ secrets.GPG_KEY_FINGERPRINT }} --ccache --disable-rofiles-fuse + + flatpak-builder build-dir manifests/com.xiaoyaocz.dmzjx/com.xiaoyaocz.dmzjx.yaml --repo=repo --arch=x86_64 --default-branch=stable --force-clean --user --install-deps-from=flathub --gpg-sign=${{ secrets.GPG_KEY_FINGERPRINT }} --ccache --disable-rofiles-fuse + + flatpak-builder build-dir manifests/com.xiaoyaocz.simplelive/com.xiaoyaocz.simplelive.yaml --repo=repo --arch=x86_64 --default-branch=stable --force-clean --user --install-deps-from=flathub --gpg-sign=${{ secrets.GPG_KEY_FINGERPRINT }} --ccache --disable-rofiles-fuse + + flatpak-builder build-dir manifests/top.jtmonster.jhentai/top.jtmonster.jhentai.yaml --repo=repo --arch=x86_64 --default-branch=stable --force-clean --user --install-deps-from=flathub --gpg-sign=${{ secrets.GPG_KEY_FINGERPRINT }} --ccache --disable-rofiles-fuse + + flatpak-builder build-dir manifests/io.github.predidit.k azumi/io.github.predidit.kazumi.yaml --repo=repo --arch=x86_64 --default-branch=stable --force-clean --user --install-deps-from=flathub --gpg-sign=${{ secrets.GPG_KEY_FINGERPRINT }} --ccache --disable-rofiles-fuse + + flatpak-builder build-dir manifests/com.qq.docs/com.qq.docs.yaml --repo=repo --arch=x86_64 --default-branch=stable --force-clean --user --install-deps-from=flathub --gpg-sign=${{ secrets.GPG_KEY_FINGERPRINT }} --ccache --disable-rofiles-fuse + flatpak-builder build-dir manifests/com.qq.docs/com.qq.docs.yaml --repo=repo --arch=aarch64 --default-branch=stable --force-clean --user --install-deps-from=flathub --gpg-sign=${{ secrets.GPG_KEY_FINGERPRINT }} --ccache --disable-rofiles-fuse + + flatpak-builder build-dir manifests/com.qq.qqmusic/com.qq.qqmusic.yaml --repo=repo --arch=x86_64 --default-branch=stable --force-clean --user --install-deps-from=flathub --gpg-sign=${{ secrets.GPG_KEY_FINGERPRINT }} --ccache --disable-rofiles-fuse + flatpak-builder build-dir manifests/com.qq.qqmusic/com.qq.qqmusic.yaml --repo=repo --arch=aarch64 --default-branch=stable --force-clean --user --install-deps-from=flathub --gpg-sign=${{ secrets.GPG_KEY_FINGERPRINT }} --ccache --disable-rofiles-fuse + + flatpak-builder build-dir manifests/io.github.c0re100.qBittorrent-Enhanced-Edition/io.github.c0re100.qBittorrent-Enhanced-Edition.yaml --repo=repo --arch=x86_64 --default-branch=stable --force-clean --user --install-deps-from=flathub --gpg-sign=${{ secrets.GPG_KEY_FINGERPRINT }} --ccache --disable-rofiles-fuse + flatpak-builder build-dir manifests/io.github.c0re100.qBittorrent-Enhanced-Edition/io.github.c0re100.qBittorrent-Enhanced-Edition.yaml --repo=repo --arch=aarch64 --default-branch=stable --force-clean --user --install-deps-from=flathub --gpg-sign=${{ secrets.GPG_KEY_FINGERPRINT }} --ccache --disable-rofiles-fuse + + flatpak-builder build-dir manifests/io.github.msojocs.bilibili/io.github.msojocs.bilibili.yaml --repo=repo --arch=x86_64 --default-branch=stable --force-clean --user --install-deps-from=flathub --gpg-sign=${{ secrets.GPG_KEY_FINGERPRINT }} --ccache --disable-rofiles-fuse + flatpak-builder build-dir manifests/io.github.msojocs.bilibili/io.github.msojocs.bilibili.yaml --repo=repo --arch=aarch64 --default-branch=stable --force-clean --user --install-deps-from=flathub --gpg-sign=${{ secrets.GPG_KEY_FINGERPRINT }} --ccache --disable-rofiles-fuse + + flatpak-builder build-dir manifests/org.freedesktop.xorg.xeyes/org.freedesktop.xorg.xeyes.yaml --repo=repo --arch=x86_64 --default-branch=stable --force-clean --user --install-deps-from=flathub --gpg-sign=${{ secrets.GPG_KEY_FINGERPRINT }} --ccache --disable-rofiles-fuse + flatpak-builder build-dir manifests/org.freedesktop.xorg.xeyes/org.freedesktop.xorg.xeyes.yaml --repo=repo --arch=aarch64 --default-branch=stable --force-clean --user --install-deps-from=flathub --gpg-sign=${{ secrets.GPG_KEY_FINGERPRINT }} --ccache --disable-rofiles-fuse + + - name: Sign repo + run: | + flatpak build-sign repo --gpg-sign=${{ secrets.GPG_KEY_FINGERPRINT }} + flatpak build-update-repo repo --gpg-sign=${{ secrets.GPG_KEY_FINGERPRINT }} --generate-static-deltas + + - name: Upload to R2 + uses: ryand56/r2-upload-action@latest # Can be any release + with: + r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} + r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} + r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} + r2-bucket: ${{ secrets.R2_BUCKET }} + source-dir: repo + destination-dir: repo # Can be anything as long as it is an actual path + output-file-url: 'true' # defaults to true + multipart-size: 100 # If the file size is greater than the value provided here, then use multipart upload + max-retries: 5 # The maximum number of retries it takes to upload a multipart chunk until it moves on to the next part + multipart-concurrent: true # Whether to concurrently upload a multipart chunk + keep-file-fresh: 'true' # defaults to false diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml new file mode 100644 index 0000000..74896d7 --- /dev/null +++ b/.github/workflows/update.yaml @@ -0,0 +1,39 @@ +name: Update + +on: + push: + paths: + - .github/workflow/update.yaml + schedule: # for scheduling to work this file must be in the default branch + - cron: "0 12 * * *" # 每天中午12点运行一次 + workflow_dispatch: + +jobs: + flatpak-external-data-checker: + runs-on: ubuntu-latest + + strategy: + matrix: + appid: # list all flatpak application id to check + - cn.wps.office + - com.qq.docs + - com.qq.qqmusic + - com.xiaoyaocz.dmzjx + - com.xiaoyaocz.simplelive + - io.github.c0re100.qBittorrent-Enhanced-Edition + - io.github.msojocs.bilibili + - io.github.predidit.kazumi + - org.freedesktop.xorg.xeyes + - top.jtmonster.jhentai + steps: + - uses: actions/checkout@v4 + - uses: docker://ghcr.io/flathub/flatpak-external-data-checker:latest + env: + GIT_AUTHOR_NAME: Flatpak External Data Checker + GIT_COMMITTER_NAME: Flatpak External Data Checker + # email sets "github-actions[bot]" as commit author, see https://github.community/t/github-actions-bot-email-address/17204/6 + GIT_AUTHOR_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com + GIT_COMMITTER_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + args: --update --never-fork manifests/${{ matrix.appid }}/${{ matrix.appid }}.yaml # e.g. com.organization.myapp.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..da563ac --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +.flatpak-builder/ +build-dir/ +repo/ +manifests/cn.wps.Office/locales/cn.wps.Office.spellcheck.*.yml +manifests/cn.wps.Office/locales/cn.wps.Office.spellcheck.*.metainfo.xml diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..73c34cf --- /dev/null +++ b/.gitmodules @@ -0,0 +1,6 @@ +[submodule "manifests/cn.wps.office/shared-modules"] + path = manifests/cn.wps.office/shared-modules + url = https://github.com/flathub/shared-modules.git +[submodule "manifests/io.github.predidit.kazumi/shared-modules"] + path = manifests/io.github.predidit.kazumi/shared-modules + url = https://github.com/flathub/shared-modules.git diff --git a/README.md b/README.md index 49ceb5a..7b91599 100644 --- a/README.md +++ b/README.md @@ -1 +1,57 @@ -# flatpak \ No newline at end of file +# Pugaizai's Flatpaks + +## Use My Repo (X86_64 Only) + +### Add Repo + +`flatpak remote-add --if-not-exists pugai https://flatpak.pugai.life/pugai.flatpakrepo` + +### Install Something + +`flatpak install pugai -y` + +### Update + +`flatpak update -y` + +### Remove + +`flatpak remove -y` + +### Remove Repo + +`flatpak remote-delete pugai -y` + +## Or Build Your Own + +### Install Flatpak Builder + +`flatpak install org.flatpak.Builder` + +### Clone + +`git clone https://github.com/pugaizai/flatpak.git --recursive` + +### Build + +`flatpak run org.flatpak.Builder build-dir manifests//.yaml --repo=repo --force-clean --install-deps-from=flathub --ccache` + +### Add Repo + +`flatpak --user remote-add --no-gpg-verify local repo` + +### Install + +`flatpak --user install local ` + +### Update + +`flatpak update` + +### Remove + +`flatpak remove -y` + +### Remove Repo + +`flatpak remote-delete local -y` diff --git a/manifests/cn.wps.office/apply_extra b/manifests/cn.wps.office/apply_extra new file mode 100755 index 0000000..03bd691 --- /dev/null +++ b/manifests/cn.wps.office/apply_extra @@ -0,0 +1,55 @@ +#!/bin/bash +set -e +shopt -s failglob +FLATPAK_ID="${FLATPAK_ID:-cn.wps.office}" + +mkdir -p deb-package export/share + +bsdtar --to-stdout -xf wps-office.deb data.tar.xz | bsdtar -xf - -C deb-package + +mv deb-package/opt/kingsoft/wps-office . +mv deb-package/usr/bin/{wps,wpp,et,wpspdf} wps-office/ +mv deb-package/usr/share/{icons,applications,mime} export/share/ + +YEAR_SUFFIX=2019 + +rename --no-overwrite "wps-office-" "${FLATPAK_ID}." export/share/{icons/hicolor/*/*,applications,mime/packages}/wps-office-*.* +rename --no-overwrite "wps-office${YEAR_SUFFIX}-" "${FLATPAK_ID}." export/share/icons/hicolor/*/*/wps-office${YEAR_SUFFIX}-*.* + +for a in wps wpp et pdf prometheus; do + desktop_file="export/share/applications/${FLATPAK_ID}.$a.desktop" + appbin="$a" + appicon="${FLATPAK_ID}.${a}main" + case "$a" in + pdf) + appbin=wpspdf + ;; + prometheus) + appbin=wps + appicon="${FLATPAK_ID}.k${a}" + # Use this as the main .desktop file for the Flatpak + new_desktop_file="$(dirname $desktop_file)/${FLATPAK_ID}.desktop" + mv $desktop_file $new_desktop_file + desktop_file=$new_desktop_file + ;; + esac + desktop-file-edit \ + --set-key="Exec" --set-value="$appbin %f" \ + --set-key="Icon" --set-value="$appicon" \ + --set-key="X-Flatpak-RenamedFrom" --set-value="wps-office-$a.desktop;" \ + "$desktop_file" +done +sed -i "s/generic-icon name=\"wps-office-/icon name=\"${FLATPAK_ID}./g" "export/share/mime/packages/${FLATPAK_ID}".*.xml + +# Just use libstdc++.so.6 from the runtime; allows working with runtime 22.08+ +rm wps-office/office6/libstdc++.so.6 + +rm -r wps-office.deb deb-package + +# Remove plugin path so we can override the default path with based on QT_PLUGIN_PATH +sed -i 's|^Plugins=.*||g' wps-office/office6/qt.conf + +# Fix wps deprecated python2 command +# https://aur.archlinux.org/cgit/aur.git/tree/fix-wps-python-parse.patch?h=wps-office-cn +sed -i 's/python -c '\''import sys, urllib; print urllib.unquote(sys.argv\[1\])'\''/python -c '\''import sys, urllib.parse; print(urllib.parse.unquote(sys.argv[1]))'\''/' wps-office/wps + diff --git a/manifests/cn.wps.office/cn.wps.office.desktop b/manifests/cn.wps.office/cn.wps.office.desktop new file mode 100644 index 0000000..f37a8da --- /dev/null +++ b/manifests/cn.wps.office/cn.wps.office.desktop @@ -0,0 +1,21 @@ +[Desktop Entry] +Comment=Use WPS Writer to office work. +Comment[zh_CN]=使用 WPS 2019进行办公 +Exec=wps %f +GenericName=WPS +GenericName[zh_CN]=WPS 2019 +Name=WPS 2019 +Name[zh_CN]=WPS 2019 +StartupNotify=false +Terminal=false +Type=Application +Categories=Office;WordProcessor;Qt; +X-DBUS-ServiceName= +X-DBUS-StartupType= +X-KDE-SubstituteUID=false +X-KDE-Username= +Icon=cn.wps.office +InitialPreference=3 +StartupWMClass=wpsoffice +X-Desktop-File-Install-Version=0.26 +X-Flatpak-RenamedFrom=wps-office-prometheus.desktop; diff --git a/manifests/cn.wps.office/cn.wps.office.metainfo.xml b/manifests/cn.wps.office/cn.wps.office.metainfo.xml new file mode 100644 index 0000000..7f2aded --- /dev/null +++ b/manifests/cn.wps.office/cn.wps.office.metainfo.xml @@ -0,0 +1,102 @@ + + + cn.wps.office + CC0-1.0 + LicenseRef-proprietary=http://wps-community.org/license.md + WPS Office (Chinese Edition) + WPS Office Suite (Chinese Edition) + +

WPS Office including Writer, Presentation + and Spreadsheets, is a powerful office suite, which is able to process + word file, produce wonderful slides, and analyze data as well. It is + deeply compatible with all of the latest Microsoft Office file formats. + It can easily open and read the documents created with Microsoft Office.

+

NOTE: This wrapper is not verified by, affiliated with, or + supported by Kingsoft Office Corporation

+
+ https://www.wps.com/_content/images/about/logo.png + https://www.wps.com/linux + http://community.wps.cn/bug/login_page.php + http://wps-community.org/donate + http://wps-community.org/faq + http://community.wps.cn/wiki + https://github.com/wps-community/wps_i18n + Kingsoft Office Corporation + wps_linux_at_kingsoft.com + ​cn.wps.office.desktop + + Office + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
  • Support users' online feedback
  • +
  • Support Chinese and English language switching
  • +
  • WPS Writer and WPS Presentation, supporting editing of 15 SmartArt types
  • +
  • Support custom quick access toolbar
  • +
  • Support Manual directory function, which can be inserted without setting outline level
  • +
  • Support "text sort" and "table sort"
  • +
  • Support printing background color, pictures and setting Web format background
  • +
  • Support automatic text collection
  • +
  • Support artistic page borders
  • +
  • Support to accept/reject format revisions
  • +
  • Support to keep source format paste within process
  • +
  • The new pivot table kernel supports grouping, calculation items, calculation fields, table style, slicer and other functions
  • +
  • Support pivot chart
  • +
  • Support automatic filtering - color sorting
  • +
  • Monochrome printing is supported in page Settings
  • +
  • Support sharing workbook
  • +
  • Print the entire workbook under the print preview TAB
  • +
  • The digital format supports the locale
  • +
  • Support custom views
  • +
  • Support to read and play the animation of smartart child nodes
  • +
  • Support "font preview" function
  • +
  • Combine audio and background music entry, add audio tools TAB, and adjust media object toolbar synchronously
  • +
  • Support batch delete remarks function
  • +
  • In the comments pane of the speaker view, add the zoom button and adjust the text size
  • +
  • Support to insert media embedded into documents through the interface entrance
  • +
+
+
+ +
+ + + https://website-prod.cache.wpscdn.com/img/slider_3.c233a64.png + + + https://website-prod.cache.wpscdn.com/img/slider_1.3a423d4.png + + + https://website-prod.cache.wpscdn.com/img/slider_4.c704a50.png + + + +
diff --git a/manifests/cn.wps.office/cn.wps.office.yaml b/manifests/cn.wps.office/cn.wps.office.yaml new file mode 100644 index 0000000..8e89f83 --- /dev/null +++ b/manifests/cn.wps.office/cn.wps.office.yaml @@ -0,0 +1,104 @@ +id: cn.wps.office +runtime: org.freedesktop.Platform +runtime-version: "23.08" +sdk: org.freedesktop.Sdk +command: wps +separate-locales: false +finish-args: + - --share=ipc + - --socket=x11 + - --socket=pulseaudio + - --share=network + - --device=dri + - --persist=.kingsoft + - --env=TMPDIR=/var/tmp + - --filesystem=xdg-documents + - --filesystem=xdg-download + - --filesystem=xdg-pictures + - --filesystem=xdg-videos + - --filesystem=/run/media + - --filesystem=/media + - --env=QT_PLUGIN_PATH=/app/lib/qt/plugins:/app/extra/wps-office/office6/qt/plugins + +cleanup: + - "*.a" + - "*.la" + - /include + - /lib/cmake + - /lib/debug + - /lib/pkgconfig + - /man + - /share/man + - /share/gtk-doc +modules: + - shared-modules/SDL2/SDL2-with-libdecor.json + + - shared-modules/glu/glu-9.json + + # Needed by wpspdf + - name: libtiff5 + buildsystem: cmake + sources: + - type: archive + url: https://download.osgeo.org/libtiff/tiff-4.4.0.tar.gz + sha256: 917223b37538959aca3b790d2d73aa6e626b688e02dcda272aec24c2f498abed + + # https://github.com/flathub/cn.wps.office/issues/150 + - name: freetype + buildsystem: meson + sources: + - type: archive + url: https://download-mirror.savannah.gnu.org/releases/freetype/freetype-2.13.0.tar.xz + sha256: 5ee23abd047636c24b2d43c6625dcafc66661d1aca64dec9e0d05df29592624c + + - name: wps + buildsystem: simple + build-commands: + - install -Dm755 apply_extra /app/bin + - install -Dm755 wps.sh /app/bin/wps + - ln -s wps /app/bin/et + - ln -s wps /app/bin/wpp + - ln -s wps /app/bin/wpspdf + - install -Dm755 /usr/bin/desktop-file-edit -t /app/bin/ + - install -Dm644 ${FLATPAK_ID}.metainfo.xml -t /app/share/metainfo/ + - install -Dm644 cn.wps.office.desktop -t /app/share/applications + - for icon_size in 64 128 256 512; do install -Dm644 wps_office_${icon_size}.png + /app/share/icons/hicolor/${icon_size}x${icon_size}/apps/cn.wps.office.png; + done + sources: + - type: file + path: apply_extra + + - type: file + path: cn.wps.office.metainfo.xml + + - type: file + path: wps.sh + + - type: file + path: icons/wps_office_64.png + + - type: file + path: icons/wps_office_128.png + + - type: file + path: icons/wps_office_256.png + + - type: file + path: icons/wps_office_512.png + + - type: file + path: cn.wps.office.desktop + + - type: extra-data + filename: wps-office.deb + only-arches: [x86_64] + url: https://archive.ubuntukylin.com/software/pool/partner/wps-office_11.1.0.11723_amd64.deb + sha256: 53e0b0f37e7568f6e763aa13f14940e2ed97168e185fcb30095ab80119690623 + size: 411995048 + x-checker-data: + type: debian-repo + package-name: wps-office + root: https://archive.ubuntukylin.com/software + dist: jammy-partner + component: main diff --git a/manifests/cn.wps.office/icons/wps_office_128.png b/manifests/cn.wps.office/icons/wps_office_128.png new file mode 100644 index 0000000..67ca500 Binary files /dev/null and b/manifests/cn.wps.office/icons/wps_office_128.png differ diff --git a/manifests/cn.wps.office/icons/wps_office_256.png b/manifests/cn.wps.office/icons/wps_office_256.png new file mode 100644 index 0000000..bf0a35e Binary files /dev/null and b/manifests/cn.wps.office/icons/wps_office_256.png differ diff --git a/manifests/cn.wps.office/icons/wps_office_512.png b/manifests/cn.wps.office/icons/wps_office_512.png new file mode 100644 index 0000000..7b0c683 Binary files /dev/null and b/manifests/cn.wps.office/icons/wps_office_512.png differ diff --git a/manifests/cn.wps.office/icons/wps_office_64.png b/manifests/cn.wps.office/icons/wps_office_64.png new file mode 100644 index 0000000..9bd9e80 Binary files /dev/null and b/manifests/cn.wps.office/icons/wps_office_64.png differ diff --git a/manifests/cn.wps.office/shared-modules b/manifests/cn.wps.office/shared-modules new file mode 160000 index 0000000..1673277 --- /dev/null +++ b/manifests/cn.wps.office/shared-modules @@ -0,0 +1 @@ +Subproject commit 16732779e792bcc3f60b8db2c909a1ab540a93a6 diff --git a/manifests/cn.wps.office/wps.sh b/manifests/cn.wps.office/wps.sh new file mode 100755 index 0000000..698be89 --- /dev/null +++ b/manifests/cn.wps.office/wps.sh @@ -0,0 +1,37 @@ +#!/usr/bin/env bash + +function msg() { + echo "Wrapper: $*" >&2 +} + +DEFAULT_DATA_HOME="${HOME}/.local/share" + +CONF_FILE="${XDG_CONFIG_HOME}/Kingsoft/Office.conf" +BACKUPS_SUBDIR="Kingsoft/office6/data/backup" +OLD_BACKUP_PATH="${DEFAULT_DATA_HOME}/${BACKUPS_SUBDIR}" +NEW_BACKUP_PATH="${XDG_DATA_HOME}/${BACKUPS_SUBDIR}" + +# Set backup path to correct dir under XDG_DATA_HOME in the config +if [ ! -f "${CONF_FILE}" ]; then + msg "No config exists, creating one" + mkdir -p "${NEW_BACKUP_PATH}" + mkdir -p "$(dirname "${CONF_FILE}")" + cat < "${CONF_FILE}" +[6.0] +common\Backup\AutoRecoverFilePath=${NEW_BACKUP_PATH} +EOF +elif grep -q "${OLD_BACKUP_PATH}" "${CONF_FILE}"; then + msg "Config file contains old paths, updating" + mkdir -p "${NEW_BACKUP_PATH}" + sed "s|${OLD_BACKUP_PATH}|${NEW_BACKUP_PATH}|g" -i "${CONF_FILE}" +fi + +# Symlink hardcoded datadir to XDG_DATA_HOME +if [ ! -d "${DEFAULT_DATA_HOME}/Kingsoft" ]; then + test -d "${DEFAULT_DATA_HOME}" || mkdir -p "${DEFAULT_DATA_HOME}" + ln -s "${XDG_DATA_HOME}/Kingsoft" "${DEFAULT_DATA_HOME}/Kingsoft" +else + msg "Data dir exists, not touching it" +fi + +exec "/app/extra/wps-office/$(basename "$0")" "$@" diff --git a/manifests/com.qq.docs/com.qq.docs.desktop b/manifests/com.qq.docs/com.qq.docs.desktop new file mode 100644 index 0000000..c51bd3b --- /dev/null +++ b/manifests/com.qq.docs/com.qq.docs.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=腾讯文档 +Exec=tdappdesktop %U +Terminal=false +Type=Application +Icon=com.qq.docs +StartupWMClass=腾讯文档 +Comment=腾讯文档 +MimeType=application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/msword;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.ms-excel;application/pdf;application/x-xmind;text/csv; +Categories=Office; \ No newline at end of file diff --git a/manifests/com.qq.docs/com.qq.docs.metainfo.xml b/manifests/com.qq.docs/com.qq.docs.metainfo.xml new file mode 100644 index 0000000..d1b055f --- /dev/null +++ b/manifests/com.qq.docs/com.qq.docs.metainfo.xml @@ -0,0 +1,33 @@ + + + com.qq.docs + com.qq.docs.desktop + Tencent Docs + 腾讯文档 + Tencent + Online Office Suite + 在线办公套件 + CC0-1.0 + MIT + https://docs.qq.com/home + https://kf.qq.com/product/txwd.html#hid=hot_faq + +

Tencent Docs, Make collaboration more efficient and creation easier.

+

腾讯文档,让协作更高效,创作更轻松。

+
+ + + Docs + 文档 + https://docs.gtimg.com/home/_/node_modules/@tencent/docs-design-resources/cooperation/website/image/products/products_doc_800-f80e28.png + + + + + + + + + + valigarmanda55@gmail.com +
diff --git a/manifests/com.qq.docs/com.qq.docs.svg b/manifests/com.qq.docs/com.qq.docs.svg new file mode 100644 index 0000000..390b38c --- /dev/null +++ b/manifests/com.qq.docs/com.qq.docs.svg @@ -0,0 +1,17 @@ + + + logo_80 + + + + + + + + + + + + + + \ No newline at end of file diff --git a/manifests/com.qq.docs/com.qq.docs.yaml b/manifests/com.qq.docs/com.qq.docs.yaml new file mode 100644 index 0000000..cd0537b --- /dev/null +++ b/manifests/com.qq.docs/com.qq.docs.yaml @@ -0,0 +1,80 @@ +app-id: com.qq.docs +runtime: org.freedesktop.Platform +runtime-version: '23.08' +sdk: org.freedesktop.Sdk +base: org.electronjs.Electron2.BaseApp +base-version: '23.08' +separate-locales: false +command: tdappdesktop + +finish-args: + - --share=ipc + - --socket=x11 + - --device=dri + - --share=network + - --filesystem=xdg-download + - --talk-name=org.freedesktop.Notifications + - --talk-name=org.kde.StatusNotifierWatcher + +cleanup: + - '*.a' + - '*.la' + - /include + - /lib/cmake + - /lib/debug + - /lib/pkgconfig + - /man + - /share/man + - /share/gtk-doc + +modules: + - name: docs + buildsystem: simple + build-options: + no-debuginfo: true + build-commands: + - install -Dm755 apply_extra -t /app/bin + - install -Dm644 com.qq.docs.svg -t /app/share/icons/hicolor/scalable/apps + - install -Dm644 com.qq.docs.desktop -t /app/share/applications + - install -Dm644 com.qq.docs.metainfo.xml -t /app/share/metainfo + - install -Dm755 tdappdesktop.sh /app/bin/tdappdesktop + sources: + - type: extra-data + only-arches: [aarch64] + filename: docs.deb + url: https://desktop.docs.qq.com/Installer/30001/3.6.1/TencentDocs-arm64.deb + sha256: b6aada1cb0d6e310b85b1078b0a48e4297542de8d852f85d17ebc8eba8920e39 + size: 146233880 + x-checker-data: + type: json + url: https://docs.qq.com/api/package/update + version-query: .result.update_info | fromjson | .version + url-query: '"https://desktop.docs.qq.com/Installer/30001/\($version)/TencentDocs-arm64.deb"' + - type: extra-data + only-arches: [x86_64] + filename: docs.deb + url: https://desktop.docs.qq.com/Installer/30001/3.6.1/TencentDocs-x64.deb + sha256: a12572a7236244dbe4d5a3c07b5e6b32a711f83b92cc8aaeb2d55429d74d1daa + x-checker-data: + type: json + url: https://docs.qq.com/api/package/update + version-query: .result.update_info | fromjson | .version + url-query: '"https://desktop.docs.qq.com/Installer/30001/\($version)/TencentDocs-x64.deb"' + size: 151529852 + - type: file + path: com.qq.docs.metainfo.xml + - type: file + path: com.qq.docs.svg + - type: file + path: com.qq.docs.desktop + - type: script + dest-filename: tdappdesktop.sh + commands: + - export TMPDIR=$XDG_RUNTIME_DIR/app/$FLATPAK_ID + - exec zypak-wrapper.sh /app/extra/docs/tdappdesktop "$@" + - type: script + commands: + - bsdtar --to-stdout -xf *.deb data.* | bsdtar -xf - + - mv opt/腾讯文档 ./docs + - rm -rf *.deb usr opt + dest-filename: apply_extra diff --git a/manifests/com.qq.qqmusic/com.qq.qqmusic.desktop b/manifests/com.qq.qqmusic/com.qq.qqmusic.desktop new file mode 100644 index 0000000..3456757 --- /dev/null +++ b/manifests/com.qq.qqmusic/com.qq.qqmusic.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=QQMusic +Name[zh_CN]=QQ音乐 +Exec=qqmusic %U +Terminal=false +Type=Application +Icon=com.qq.qqmusic +StartupWMClass=QQMusic +Comment=QQMusic +Comment[zh_CN]=QQ音乐 +Categories=AudioVideo; \ No newline at end of file diff --git a/manifests/com.qq.qqmusic/com.qq.qqmusic.metainfo.xml b/manifests/com.qq.qqmusic/com.qq.qqmusic.metainfo.xml new file mode 100644 index 0000000..a2362d2 --- /dev/null +++ b/manifests/com.qq.qqmusic/com.qq.qqmusic.metainfo.xml @@ -0,0 +1,31 @@ + + + com.qq.qqmusic + com.qq.qqmusic.desktop + com.qq.qqmusic.desktop + QQMusic + QQ音乐 + Tencent + Online music streaming service + QQ音乐 + CC0-1.0 + LicenseRef-proprietary=http://y.qq.com/y/static/tips/service_tips.html + https://y.qq.com/ + https://y.qq.com/download/welcome_pc_v15/index.html?ADTAG=YQQ + +

QQMusic is an online music streaming service operating in China.

+

NOTE: This wrapper is not verified by, affiliated with, or supported by Tencent.

+

尽享海量高品质曲库。

+
+ + + The main QQmusic window + https://raw.githubusercontent.com/flathub/com.qq.QQmusic/master/screenshots/1.png + + + + + + + wsgalaxy@qq.com +
\ No newline at end of file diff --git a/manifests/com.qq.qqmusic/com.qq.qqmusic.png b/manifests/com.qq.qqmusic/com.qq.qqmusic.png new file mode 100644 index 0000000..b962de0 Binary files /dev/null and b/manifests/com.qq.qqmusic/com.qq.qqmusic.png differ diff --git a/manifests/com.qq.qqmusic/com.qq.qqmusic.yaml b/manifests/com.qq.qqmusic/com.qq.qqmusic.yaml new file mode 100644 index 0000000..a873838 --- /dev/null +++ b/manifests/com.qq.qqmusic/com.qq.qqmusic.yaml @@ -0,0 +1,68 @@ +app-id: com.qq.qqmusic +runtime: org.freedesktop.Platform +runtime-version: '23.08' +sdk: org.freedesktop.Sdk +base: org.electronjs.Electron2.BaseApp +base-version: '23.08' +separate-locales: false +command: qqmusic + +finish-args: + - --share=ipc + - --socket=x11 + - --socket=pulseaudio + - --device=dri + - --share=network + - --talk-name=org.freedesktop.Notifications + - --talk-name=org.kde.StatusNotifierWatcher + - --own-name=org.mpris.MediaPlayer2.chromium.* + +cleanup: + - '*.a' + - '*.la' + - /include + - /lib/cmake + - /lib/debug + - /lib/pkgconfig + - /man + - /share/man + - /share/gtk-doc + +modules: + - name: qqmusic + buildsystem: simple + build-options: + no-debuginfo: true + build-commands: + - unzip electron28.zip -d /app/qqmusic + - install -Dm644 app.asar -t /app/qqmusic + - install -Dm644 com.qq.qqmusic.metainfo.xml -t /app/share/metainfo + - install -Dm644 com.qq.qqmusic.desktop -t /app/share/applications + - install -Dm644 com.qq.qqmusic.png -t /app/share/icons/hicolor/256x256/apps/ + - install -Dm755 qqmusic.sh /app/bin/qqmusic + sources: + - type: file + dest-filename: electron28.zip + only-arches: [aarch64] + url: https://github.com/electron/electron/releases/download/v28.3.3/electron-v28.3.3-linux-arm64.zip + sha256: f77107266581a6b9880757876518df1c4bf6eeff5c193bb5de0a8f6c9902bd1f + - type: file + dest-filename: electron28.zip + only-arches: [x86_64] + url: https://github.com/electron/electron/releases/download/v28.3.3/electron-v28.3.3-linux-x64.zip + sha256: 20f6be493cbd6c9924206e744b1c490af1f97f4735451b9dc19f0d305366d546 + - type: file + path: com.qq.qqmusic.metainfo.xml + - type: file + path: com.qq.qqmusic.desktop + - type: file + path: com.qq.qqmusic.png + - type: file + dest-filename: app.asar + url: https://q.askk.cc/qqmusic_1.1.5-8.asar + sha256: cea6eca5c8df91d9e3276769558290f91b25885ba3a4bdad469e3187b09da3bd + - type: script + dest-filename: qqmusic.sh + commands: + - export TMPDIR=$XDG_RUNTIME_DIR/app/$FLATPAK_ID + - exec zypak-wrapper "/app/qqmusic/electron" "/app/qqmusic/app.asar" "$@" diff --git a/manifests/com.xiaoyaocz.dmzjx/com.xiaoyaocz.dmzjx.metainfo.xml b/manifests/com.xiaoyaocz.dmzjx/com.xiaoyaocz.dmzjx.metainfo.xml new file mode 100644 index 0000000..cdd8036 --- /dev/null +++ b/manifests/com.xiaoyaocz.dmzjx/com.xiaoyaocz.dmzjx.metainfo.xml @@ -0,0 +1,34 @@ + + + com.xiaoyaocz.dmzjx + com.xiaoyaocz.dmzjx.desktop + DMZJX + 动漫之家X + xiaoyaocz + A third-party cross platform client for dmzj.com + 跨平台的动漫之家第三方客户端 + CC0-1.0 + GPL-3.0 + https://github.com/xiaoyaocz/flutter_dmzj + https://github.com/xiaoyaocz/flutter_dmzj/issues + +

A third-party cross platform client for dmzj.com written in Flutter

+

使用Flutter编写的动漫之家跨平台第三方客户端

+
+ + + Light Mode + https://raw.githubusercontent.com/xiaoyaocz/flutter_dmzj/main/document/screenshot_light.jpg + + + Dark Mode + https://raw.githubusercontent.com/xiaoyaocz/flutter_dmzj/main/document/screenshot_dark.jpg + + + + + + + valigarmanda55@gmail.com +
+ diff --git a/manifests/com.xiaoyaocz.dmzjx/com.xiaoyaocz.dmzjx.yaml b/manifests/com.xiaoyaocz.dmzjx/com.xiaoyaocz.dmzjx.yaml new file mode 100644 index 0000000..2fcc390 --- /dev/null +++ b/manifests/com.xiaoyaocz.dmzjx/com.xiaoyaocz.dmzjx.yaml @@ -0,0 +1,57 @@ +app-id: com.xiaoyaocz.dmzjx +runtime: org.freedesktop.Platform +runtime-version: '23.08' +sdk: org.freedesktop.Sdk +rename-icon: flutter_dmzj +rename-desktop-file: flutter_dmzj.desktop +command: flutter_dmzj +finish-args: + - '--share=ipc' + - '--socket=fallback-x11' + - '--socket=wayland' + - '--share=network' + - '--device=dri' +cleanup: + - '*.a' + - '*.la' + - /include + - /lib/cmake + - /lib/debug + - /lib/pkgconfig + - /man + - /share/man + - /share/gtk-doc +modules: + - name: flutter_dmzj + buildsystem: simple + build-options: + no-debuginfo: true + build-commands: + - bsdtar --to-stdout -xf *.deb data.* | bsdtar -xf - + - mv usr/share/flutter_dmzj /app/ + - mv usr/share /app/ + - desktop-file-edit --set-key="Categories" --set-value="Graphics;Network;" --remove-key="Version" /app/share/applications/flutter_dmzj.desktop + - chmod +x /app/flutter_dmzj/flutter_dmzj + - install -Dm755 flutter_dmzj.sh /app/bin/flutter_dmzj + - install -Dm644 com.xiaoyaocz.dmzjx.metainfo.xml -t /app/share/metainfo + sources: + - type: file + url: https://github.com/xiaoyaocz/flutter_dmzj/releases/download/v2.1.1/flutter_dmzj-2.1.1%2B20101-linux.deb + only-arches: [x86_64] + sha256: 8a0aae64bfc5fc415da919c74c612a863a963f75ce8da7e4be8c355294c5f23b + x-checker-data: + type: json + url: https://api.github.com/repos/xiaoyaocz/flutter_dmzj/releases/latest + version-query: .tag_name | sub("^v"; "") + url-query: >- + .assets[] | select(.name | test("^flutter_dmzj-" + $version + "\\+\\d+-linux\\.deb$")) | + .browser_download_url + + - type: file + path: com.xiaoyaocz.dmzjx.metainfo.xml + + - type: script + commands: + - export TMPDIR="$XDG_RUNTIME_DIR/app/$FLATPAK_ID" + - /app/flutter_dmzj/flutter_dmzj "$@" + dest-filename: flutter_dmzj.sh diff --git a/manifests/com.xiaoyaocz.simplelive/com.xiaoyaocz.simplelive.metainfo.xml b/manifests/com.xiaoyaocz.simplelive/com.xiaoyaocz.simplelive.metainfo.xml new file mode 100644 index 0000000..cafc2d7 --- /dev/null +++ b/manifests/com.xiaoyaocz.simplelive/com.xiaoyaocz.simplelive.metainfo.xml @@ -0,0 +1,44 @@ + + + com.xiaoyaocz.simplelive + com.xiaoyaocz.simplelive.desktop + Simple Live + xiaoyaocz + Simply watch live streaming + 简简单单的看直播 + CC0-1.0 + GPL-3.0 + https://github.com/xiaoyaocz/dart_simple_live/ + https://github.com/xiaoyaocz/dart_simple_live/issues + +

Simple Live support platforms:

+

支持直播平台:

+
    +
  • Huya
  • +
  • 虎牙
  • +
  • Douyu
  • +
  • 斗鱼
  • +
  • Bilibili
  • +
  • 哔哩哔哩
  • +
  • Douyin
  • +
  • 抖音
  • +
+
+ + + Light Mode + https://raw.githubusercontent.com/xiaoyaocz/dart_simple_live/master/assets/screenshot_light.jpg + + + Dark Mode + https://raw.githubusercontent.com/xiaoyaocz/dart_simple_live/master/assets/screenshot_dark.jpg + + + + + + + + + valigarmanda55@gmail.com +
diff --git a/manifests/com.xiaoyaocz.simplelive/com.xiaoyaocz.simplelive.yaml b/manifests/com.xiaoyaocz.simplelive/com.xiaoyaocz.simplelive.yaml new file mode 100644 index 0000000..73a96a8 --- /dev/null +++ b/manifests/com.xiaoyaocz.simplelive/com.xiaoyaocz.simplelive.yaml @@ -0,0 +1,175 @@ +app-id: com.xiaoyaocz.simplelive +runtime: org.freedesktop.Platform +runtime-version: '23.08' +sdk: org.freedesktop.Sdk +rename-icon: simple_live_app +rename-desktop-file: simple_live_app.desktop +command: simple_live_app +finish-args: + - --share=ipc + - --socket=fallback-x11 + - --socket=wayland + - --socket=pulseaudio + - --share=network + - --device=dri + - --talk-name=org.freedesktop.ScreenSaver + - --env=LC_NUMERIC=C +cleanup: + - '*.a' + - '*.la' + - /include + - /lib/cmake + - /lib/debug + - /lib/pkgconfig + - /man + - /share/man + - /share/gtk-doc +add-extensions: + org.freedesktop.Platform.ffmpeg-full: + directory: lib/ffmpeg + version: '23.08' + add-ld-path: . +modules: + - name: libmpv + buildsystem: meson + config-opts: + - -Dlibmpv=true + - -Dlua=disabled + - -Ddebug=false + - -Dbuild-date=false + - -Dcplayer=false + - -Dmanpage-build=disabled + sources: + - type: git + url: https://github.com/mpv-player/mpv.git + tag: v0.38.0 + commit: 02254b92dd237f03aa0a151c2a68778c4ea848f9 + x-checker-data: + type: anitya + project-id: 5348 + stable-only: true + tag-template: v$version + modules: + - name: libXpresent + buildsystem: autotools + sources: + - type: git + url: https://gitlab.freedesktop.org/xorg/lib/libxpresent.git + sha256: 3ea271a49d798280fdceb746658b7d7b9f34340db15b993c827eebc0abc96285 + tag: libXpresent-1.0.1 + commit: 37507b5f44332accfb1064ee69a4f6a833994747 + x-checker-data: + type: anitya + project-id: 17166 + stable-only: true + tag-template: libXpresent-$version + + - name: nv-codec-headers + cleanup: + - '*' + no-autogen: true + make-install-args: + - PREFIX=/app + sources: + - type: git + url: https://github.com/FFmpeg/nv-codec-headers.git + tag: n12.2.72.0 + commit: c69278340ab1d5559c7d7bf0edf615dc33ddbba7 + x-checker-data: + type: anitya + project-id: 223796 + stable-only: true + tag-template: n$version + + - name: libass + config-opts: + - --disable-static + sources: + - type: git + url: https://github.com/libass/libass.git + tag: 0.17.3 + commit: e46aedea0a0d17da4c4ef49d84b94a7994664ab5 + x-checker-data: + type: anitya + project-id: 1560 + stable-only: true + tag-template: $version + + - name: uchardet + buildsystem: cmake-ninja + config-opts: + - -DCMAKE_BUILD_TYPE=Release + - -DBUILD_STATIC=0 + sources: + - type: git + url: https://gitlab.freedesktop.org/uchardet/uchardet.git + tag: v0.0.8 + commit: ae6302a016088ad07177f86d417b20010053632b + x-checker-data: + type: anitya + project-id: 9265 + stable-only: true + tag-template: v$version + + - name: libplacebo + buildsystem: meson + config-opts: + - -Dglslang=disabled + - -Dd3d11=disabled + - -Ddemos=false + sources: + - type: git + url: https://code.videolan.org/videolan/libplacebo.git + commit: 1fd3c7bde7b943fe8985c893310b5269a09b46c5 + tag: v7.349.0 + x-checker-data: + type: anitya + project-id: 20101 + stable-only: true + tag-template: v$version + + - name: simple_live + buildsystem: simple + build-options: + no-debuginfo: true + build-commands: + - bsdtar --to-stdout -xf *.deb data.* | bsdtar -xf - + - rm -r usr/share/icons + - mv usr/share/simple_live_app /app/ + - cp -a usr/share /app/ + - desktop-file-edit --set-name="Simple Live" --set-key="Categories" --set-value="AudioVideo;Audio;Video;Network;" + --remove-key="Version" /app/share/applications/simple_live_app.desktop + - chmod +x /app/simple_live_app/simple_live_app + - install -Dm755 simple_live_app.sh /app/bin/simple_live_app + - install -Dm644 simple_live_app.png -t /app/share/icons/hicolor/512x512/apps + - install -Dm644 com.xiaoyaocz.simplelive.metainfo.xml -t /app/share/metainfo + - ln -s libmpv.so.2 /app/lib/libmpv.so.1 + - mkdir -p /app/lib/ffmpeg + sources: + - type: file + url: https://github.com/xiaoyaocz/dart_simple_live/releases/download/v1.7.3/simple_live_app-1.7.3%2B10703-linux.deb + only-arches: [x86_64] + sha256: 54f98c5b43371ef4c517756022f0eca6493e14dcb1bf694f4bfe73f575331e97 + x-checker-data: + type: json + url: https://api.github.com/repos/xiaoyaocz/dart_simple_live/releases/latest + version-query: .tag_name | sub("^v"; "") + url-query: >- + .assets[] | select(.name | test("^simple_live_app-" + $version + "\\+\\d+-linux\\.deb$")) + | + .browser_download_url + + - type: file + url: https://raw.githubusercontent.com/xiaoyaocz/dart_simple_live/desktop/simple_live_app/assets/images/logo.png + dest-filename: simple_live_app.png + sha256: 9a748937746a91370d97386f194f6bc285e32637595a769c0c33ea213508a0cc + + - type: file + path: com.xiaoyaocz.simplelive.metainfo.xml + + - type: script + commands: + - export TMPDIR="$XDG_RUNTIME_DIR/app/$FLATPAK_ID" + - export LD_LIBRARY_PATH=/app/lib + - exec /app/simple_live_app/simple_live_app "$@" + dest-filename: simple_live_app.sh diff --git a/manifests/io.github.c0re100.qBittorrent-Enhanced-Edition/io.github.c0re100.qBittorrent-Enhanced-Edition.yaml b/manifests/io.github.c0re100.qBittorrent-Enhanced-Edition/io.github.c0re100.qBittorrent-Enhanced-Edition.yaml new file mode 100644 index 0000000..689ff84 --- /dev/null +++ b/manifests/io.github.c0re100.qBittorrent-Enhanced-Edition/io.github.c0re100.qBittorrent-Enhanced-Edition.yaml @@ -0,0 +1,87 @@ +app-id: org.qbittorrent.qBittorrent +default-branch: stable +runtime: org.kde.Platform +sdk: org.kde.Sdk +runtime-version: '6.7' +command: qbittorrent +rename-icon: qbittorrent +copy-icon: true +finish-args: + - --device=dri + - --filesystem=host + - --share=ipc + - --share=network + - --socket=fallback-x11 + - --socket=wayland + - --system-talk-name=org.freedesktop.login1 + - --system-talk-name=org.freedesktop.UPower + - --talk-name=org.freedesktop.Notifications + - --talk-name=org.freedesktop.PowerManagement + - --talk-name=org.gnome.SessionManager + - --talk-name=org.kde.StatusNotifierWatcher +cleanup: + - '*.a' + - '*.la' + - /include + - /lib/cmake + - /lib/debug + - /lib/pkgconfig + - /man + - /share/man + - /share/gtk-doc + +modules: + - name: boost + buildsystem: simple + build-commands: + - ./bootstrap.sh --prefix=/app --with-libraries=headers + - ./b2 install variant=release link=shared runtime-link=shared cxxflags="$CXXFLAGS" + linkflags="$LDFLAGS" -j $FLATPAK_BUILDER_N_JOBS + sources: + - type: git + url: https://github.com/boostorg/boost.git + tag: boost-1.86.0 + commit: 65c1319bb92fe7a9a4abd588eff5818d9c2bccf9 + x-checker-data: + type: anitya + project-id: 6845 + stable-only: true + tag-template: boost-$version + + - name: libtorrent + buildsystem: cmake-ninja + builddir: true + config-opts: + - -DBUILD_SHARED_LIBS=OFF + - -DCMAKE_BUILD_TYPE=RelWithDebInfo + - -DCMAKE_CXX_STANDARD=20 + - -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON + - -Ddeprecated-functions=OFF + sources: + - type: git + url: https://github.com/arvidn/libtorrent.git + tag: v2.0.10 + commit: 74bc93a37a5e31c78f0aa02037a68fb9ac5deb41 + x-checker-data: + type: anitya + project-id: 269917 + stable-only: true + tag-template: v$version + - name: qbittorrent + buildsystem: cmake-ninja + builddir: true + config-opts: + - -DCMAKE_BUILD_TYPE=RelWithDebInfo + - -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON + - -DQT6=ON + - -DGUI=ON + sources: + - type: git + url: https://github.com/c0re100/qBittorrent-Enhanced-Edition.git + tag: release-4.6.6.10 + commit: 64ad41127a3848c1bf4419fbb0078d7ef2fee8d5 + x-checker-data: + type: anitya + project-id: 199749 + stable-only: true + tag-template: release-$version diff --git a/manifests/io.github.msojocs.bilibili/io.github.msojocs.bilibili.metainfo.xml b/manifests/io.github.msojocs.bilibili/io.github.msojocs.bilibili.metainfo.xml new file mode 100644 index 0000000..dda6f6b --- /dev/null +++ b/manifests/io.github.msojocs.bilibili/io.github.msojocs.bilibili.metainfo.xml @@ -0,0 +1,29 @@ + + + io.github.msojocs.bilibili + io.github.msojocs.bilibili.desktop + Bilibili + Bilibili + HD Anime, Videos + CC0-1.0 + MIT + https://github.com/msojocs/bilibili-linux + https://github.com/msojocs/bilibili-linux/issues + +

Linux version ported based on Bilibili official client

+
+ + + Homepage + https://raw.githubusercontent.com/msojocs/bilibili-linux/v1.14.0-1/res/screenshots/1.png + + + + + + + + + + valigarmanda55@gmail.com +
diff --git a/manifests/io.github.msojocs.bilibili/io.github.msojocs.bilibili.yaml b/manifests/io.github.msojocs.bilibili/io.github.msojocs.bilibili.yaml new file mode 100644 index 0000000..9adb583 --- /dev/null +++ b/manifests/io.github.msojocs.bilibili/io.github.msojocs.bilibili.yaml @@ -0,0 +1,88 @@ +app-id: io.github.msojocs.bilibili +runtime: org.freedesktop.Platform +runtime-version: '23.08' +sdk: org.freedesktop.Sdk +base: org.electronjs.Electron2.BaseApp +base-version: '23.08' +separate-locales: false +command: bilibili + +finish-args: + - --share=ipc + - --socket=x11 + - --socket=pulseaudio + - --device=dri + - --share=network + - --filesystem=xdg-videos + - --talk-name=org.freedesktop.Notifications + - --talk-name=org.kde.StatusNotifierWatcher + - --talk-name=org.freedesktop.ScreenSaver + +cleanup: + - '*.a' + - '*.la' + - /include + - /lib/cmake + - /lib/debug + - /lib/pkgconfig + - /man + - /share/man + - /share/gtk-doc + +add-extensions: + org.freedesktop.Platform.ffmpeg-full: + directory: lib/ffmpeg + version: '23.08' + add-ld-path: . + +modules: + - name: bilibili + buildsystem: simple + build-options: + no-debuginfo: true + build-commands: + - bsdtar --to-stdout -xf *.deb data.* | bsdtar -xf - + - rm -r usr/share/doc + - mv opt/apps/io.github.msojocs.bilibili/files/bin $FLATPAK_DEST/bilibili + - cp -a usr/share $FLATPAK_DEST/ + - desktop-file-edit --set-key="Exec" --set-value="bilibili %U" $FLATPAK_DEST/share/applications/io.github.msojocs.bilibili.desktop + - install -Dm644 io.github.msojocs.bilibili.metainfo.xml -t /app/share/metainfo + - install -Dm755 bilibili.sh /app/bin/bilibili + - ln -svf /usr/bin/ffmpeg /app/bin/ + - mkdir -p /app/lib/ffmpeg + sources: + - type: file + only-arches: [aarch64] + url: https://github.com/msojocs/bilibili-linux/releases/download/v1.14.0-2/io.github.msojocs.bilibili_1.14.0-2_arm64.deb + sha256: 51a188e012e17e8625b99a4046c8fe2348849855d860d7e5e095a105638e8a9d + x-checker-data: + type: json + url: https://api.github.com/repos/msojocs/bilibili-linux/releases/latest + version-query: .tag_name | sub("^v"; "") + url-query: >- + .assets[] | select(.name=="io.github.msojocs.bilibili_" + $version + "_arm64.deb") + | + .browser_download_url + - type: file + only-arches: [x86_64] + url: https://github.com/msojocs/bilibili-linux/releases/download/v1.14.0-2/io.github.msojocs.bilibili_1.14.0-2_amd64.deb + sha256: 41031d129284eebfdf3cc697ff212869aeca8e296188f3182d1bc63e4bf58ddb + x-checker-data: + type: json + url: https://api.github.com/repos/msojocs/bilibili-linux/releases/latest + version-query: .tag_name | sub("^v"; "") + url-query: >- + .assets[] | select(.name=="io.github.msojocs.bilibili_" + $version + "_amd64.deb") + | + .browser_download_url + - type: file + path: io.github.msojocs.bilibili.metainfo.xml + - type: script + dest-filename: bilibili.sh + commands: + - export TMPDIR=$XDG_RUNTIME_DIR/app/$FLATPAK_ID + - export ELECTRON_IS_DEV=0 + - export ELECTRON_FORCE_IS_PACKAGED=true + - export NODE_ENV=production + - exec zypak-wrapper "/app/bilibili/electron/electron" "/app/bilibili/app/app.asar" + "$@" diff --git a/manifests/io.github.predidit.kazumi/io.github.predidit.kazumi.metainfo.xml b/manifests/io.github.predidit.kazumi/io.github.predidit.kazumi.metainfo.xml new file mode 100644 index 0000000..cc828eb --- /dev/null +++ b/manifests/io.github.predidit.kazumi/io.github.predidit.kazumi.metainfo.xml @@ -0,0 +1,43 @@ + + + io.github.predidit.kazumi + io.github.predidit.kazumi.desktop + Kazumi + Predidit + Watch Animes online with danmaku support. + 一款好用的追番软件 + CC0-1.0 + GPL-3.0 + https://github.com/Predidit/Kazumi + https://github.com/Predidit/Kazumi/issues + +

A anime collection APP based on custom rules that supports online viewing of streaming media and danmaku.

+

基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕。

+
+ + + ui + https://raw.githubusercontent.com/Predidit/Kazumi/main/static/screenshot/img_1.png + + + + + + + + + + + + + + + + + + + + + + valigarmanda55@gmail.com +
diff --git a/manifests/io.github.predidit.kazumi/io.github.predidit.kazumi.yaml b/manifests/io.github.predidit.kazumi/io.github.predidit.kazumi.yaml new file mode 100644 index 0000000..038a437 --- /dev/null +++ b/manifests/io.github.predidit.kazumi/io.github.predidit.kazumi.yaml @@ -0,0 +1,129 @@ +app-id: io.github.predidit.kazumi +runtime: org.gnome.Platform +runtime-version: '46' +sdk: org.gnome.Sdk +sdk-extensions: + - org.freedesktop.Sdk.Extension.vala +command: kazumi +finish-args: + - --share=ipc + - --socket=wayland + - --socket=fallback-x11 + - --socket=pulseaudio + - --share=network + - --device=dri + - --talk-name=org.kde.StatusNotifierWatcher + - --talk-name=org.freedesktop.Notifications +cleanup: + - '*.a' + - '*.la' + - /include + - /lib/cmake + - /lib/debug + - /lib/pkgconfig + - /man + - /share/man + - /share/gtk-doc +build-options: + append-path: /usr/lib/sdk/vala/bin + prepend-ld-library-path: /usr/lib/sdk/vala/lib + +add-extensions: + org.freedesktop.Platform.ffmpeg-full: + directory: lib/ffmpeg + version: '23.08' + add-ld-path: . + +modules: + - name: libayatana-appindicator + buildsystem: cmake-ninja + config-opts: + - -DENABLE_BINDINGS_MONO=NO + - -DENABLE_BINDINGS_VALA=NO + - -DENABLE_GTKDOC=NO + sources: + - type: git + url: https://github.com/AyatanaIndicators/libayatana-appindicator.git + tag: 0.5.93 + commit: 238c8b02718fa5b4af95ede72beeed762094f4cc + x-checker-data: + type: anitya + project-id: 18446 + tag-template: $version + + modules: + - shared-modules/intltool/intltool-0.51.json + + - name: ayatana-ido + buildsystem: cmake-ninja + sources: + - type: git + url: https://github.com/AyatanaIndicators/ayatana-ido.git + tag: 0.10.4 + commit: f968079b09e2310fefc3fc307359025f1c74b3eb + x-checker-data: + type: anitya + project-id: 18445 + tag-template: $version + + - name: libayatana-indicator + buildsystem: cmake-ninja + sources: + - type: git + url: https://github.com/AyatanaIndicators/libayatana-indicator.git + tag: 0.9.4 + commit: 611bb384b73fa6311777ba4c41381a06f5b99dad + x-checker-data: + type: anitya + project-id: 18447 + tag-template: $version + + - name: libdbusmenu-gtk3 + buildsystem: autotools + build-options: + cflags: -Wno-error + config-opts: + - --with-gtk=3 + - --disable-dumper + - --disable-static + - --enable-tests + - --disable-gtk-doc + - --enable-introspection=no + - --disable-vala + cleanup: + - /share/gtk-doc + - /share/libdbusmenu + sources: + - type: archive + url: https://launchpad.net/libdbusmenu/16.04/16.04.0/+download/libdbusmenu-16.04.0.tar.gz + sha256: b9cc4a2acd74509435892823607d966d424bd9ad5d0b00938f27240a1bfa878a + + - name: kazumi + buildsystem: simple + build-commands: + - bsdtar --to-stdout -xf *.deb data.* | bsdtar -xf - + - mv opt/Kazumi /app/ + - cp -a usr/share /app/ + - chmod +x /app/Kazumi/kazumi + - install -Dm755 kazumi.sh /app/bin/kazumi + - install -Dm644 io.github.predidit.kazumi.metainfo.xml -t /app/share/metainfo + - mkdir -p /app/lib/ffmpeg + sources: + - type: file + only-arches: [x86_64] + url: https://github.com/Predidit/Kazumi/releases/download/1.2.9/Kazumi_linux_1.2.9_amd64.deb + sha256: 1814aa80569ad660e3f54e4e1f1d2fd1c2baf2a939ce277c5d15162bd63b8930 + x-checker-data: + type: json + url: https://api.github.com/repos/Predidit/Kazumi/releases/latest + version-query: .tag_name + url-query: >- + .assets[] | select(.name=="Kazumi_linux_" + $version + "_amd64.deb") | + .browser_download_url + - type: file + path: io.github.predidit.kazumi.metainfo.xml + - type: script + commands: + - export TMPDIR="$XDG_RUNTIME_DIR/app/$FLATPAK_ID" + - /app/Kazumi/kazumi + dest-filename: kazumi.sh diff --git a/manifests/io.github.predidit.kazumi/shared-modules b/manifests/io.github.predidit.kazumi/shared-modules new file mode 160000 index 0000000..29a1c08 --- /dev/null +++ b/manifests/io.github.predidit.kazumi/shared-modules @@ -0,0 +1 @@ +Subproject commit 29a1c08976b5f7085448fadc57362f9ef8d07129 diff --git a/manifests/org.freedesktop.xorg.xeyes/org.freedesktop.xorg.xeyes.desktop b/manifests/org.freedesktop.xorg.xeyes/org.freedesktop.xorg.xeyes.desktop new file mode 100644 index 0000000..0449284 --- /dev/null +++ b/manifests/org.freedesktop.xorg.xeyes/org.freedesktop.xorg.xeyes.desktop @@ -0,0 +1,19 @@ +# Created with jdDesktopEntryEdit 1.3 +[Desktop Entry] +Type=Application +Name=xeyes +Comment=Shows a pair of eyes that follow the mouse cursor +Comment[de]=Zeigt ein Augenpaar, das dem Mauszeiger folgt +Icon=org.freedesktop.xorg.xeyes +TryExec=xeyes +Exec=xeyes +Categories=Utility; +Keywords=xorg;xserver; +StartupWMClass=XEyes +SingleMainWindow=true +Actions=BiblicallyAccurate; + +[Desktop Action BiblicallyAccurate] +Name=Biblically accurate +Name[de]=Biblisch korrekt +Exec=xeyes -biblicallyAccurate diff --git a/manifests/org.freedesktop.xorg.xeyes/org.freedesktop.xorg.xeyes.metainfo.xml b/manifests/org.freedesktop.xorg.xeyes/org.freedesktop.xorg.xeyes.metainfo.xml new file mode 100644 index 0000000..b4b97ba --- /dev/null +++ b/manifests/org.freedesktop.xorg.xeyes/org.freedesktop.xorg.xeyes.metainfo.xml @@ -0,0 +1,49 @@ + + + + org.freedesktop.xorg.xeyes + xeyes + Shows a pair of eyes that follow the mouse cursor + Zeigt ein Augenpaar, das dem Mauszeiger folgt + X.Org Foundation + org.freedesktop.xorg.xeyes.desktop + CC0-1.0 + X11 + +

xeyes is a simple utility used by X users to help them find lost cursors, +and by Wayland users to help see which windows are run via Xwayland vs. +natively.

+

xeyes ist ein einfaches Dienstprogramm, das von X-Benutzern verwendet wird, um ihnen bei der Suche nach verlorenen Cursors zu helfen, und von Wayland-Benutzern, um zu sehen, welche Fenster über Xwayland und welche nativ ausgeführt werden.

+
+ + + https://upload.wikimedia.org/wikipedia/commons/2/2e/Xeyes.png + + + + + +
    +
  • Adds a -biblicallyAccurate option for extra amusement
  • +
+
+
+
+ https://xorg.freedesktop.org + https://gitlab.freedesktop.org/xorg/app/xeyes/-/issues + https://gitlab.freedesktop.org/xorg/app/xeyes + + Utility + + + pointing + + + + xeyes + + + xorg + xserver + +
diff --git a/manifests/org.freedesktop.xorg.xeyes/org.freedesktop.xorg.xeyes.png b/manifests/org.freedesktop.xorg.xeyes/org.freedesktop.xorg.xeyes.png new file mode 100644 index 0000000..0890e63 Binary files /dev/null and b/manifests/org.freedesktop.xorg.xeyes/org.freedesktop.xorg.xeyes.png differ diff --git a/manifests/org.freedesktop.xorg.xeyes/org.freedesktop.xorg.xeyes.yaml b/manifests/org.freedesktop.xorg.xeyes/org.freedesktop.xorg.xeyes.yaml new file mode 100644 index 0000000..74a7911 --- /dev/null +++ b/manifests/org.freedesktop.xorg.xeyes/org.freedesktop.xorg.xeyes.yaml @@ -0,0 +1,53 @@ +id: org.freedesktop.xorg.xeyes +runtime: org.freedesktop.Platform +runtime-version: '23.08' +sdk: org.freedesktop.Sdk +command: xeyes +finish-args: + - --socket=x11 + - --device=dri + - --share=ipc + +cleanup: + - /lib/pkgconfig + - /share/man + - /share/doc + - /include + - /lib/*.a + +modules: + - name: libXmu + buildsystem: autotools + sources: + - type: git + url: https://gitlab.freedesktop.org/xorg/lib/libxmu.git + tag: libXmu-1.2.1 + commit: 792f80402ee06ce69bca3a8f2a84295999c3a170 + x-checker-data: + type: anitya + project-id: 1785 + stable-only: true + tag-template: libXmu-$version + + - name: xeyes + buildsystem: autotools + post-install: + - install -Dm644 $FLATPAK_ID.png -t $FLATPAK_DEST/share/icons/hicolor/512x512/apps + - install -Dm644 $FLATPAK_ID.desktop -t $FLATPAK_DEST/share/applications + - install -Dm644 $FLATPAK_ID.metainfo.xml -t $FLATPAK_DEST/share/metainfo + sources: + - type: git + url: https://gitlab.freedesktop.org/xorg/app/xeyes.git + tag: xeyes-1.3.0 + commit: 637b948ec83fd61a8ee59a9d8ea9f363f74af0df + x-checker-data: + type: anitya + project-id: 15025 + stable-only: true + tag-template: xeyes-$version + - type: file + path: org.freedesktop.xorg.xeyes.png + - type: file + path: org.freedesktop.xorg.xeyes.desktop + - type: file + path: org.freedesktop.xorg.xeyes.metainfo.xml diff --git a/manifests/top.jtmonster.jhentai/top.jtmonster.jhentai.metainfo.xml b/manifests/top.jtmonster.jhentai/top.jtmonster.jhentai.metainfo.xml new file mode 100644 index 0000000..8d75173 --- /dev/null +++ b/manifests/top.jtmonster.jhentai/top.jtmonster.jhentai.metainfo.xml @@ -0,0 +1,84 @@ + + + top.jtmonster.jhentai + top.jtmonster.jhentai.desktop + JHenTai + jiangtian616 + A cross-platform app made for e-hentai and exhentai + 为 e-hentai 和 exhentai 打造的跨平台客户端 + CC0-1.0 + Apache-2.0 + https://github.com/jiangtian616/JHenTai + https://github.com/jiangtian616/JHenTai/issues + https://github.com/jiangtian616/JHenTai/wiki/Common-Questions + +

An E-Hentai app for Android and iOS and Windows and MacOS and Linux.

+

E-hentai 的一个多端 app ,现支持 Android 、 iOS 、 Windows 、 MacOS 和 Linux 系统。

+

Still in development stage, welcome to submit issues or feature requests.

+

仍在发展阶段,十分欢迎提交各种 bug 反馈或 Feature Request。

+
+ + + Desktop Layout + https://raw.githubusercontent.com/jiangtian616/JHenTai/master/screenshot/desktop.png + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + intense + intense + intense + intense + intense + intense + intense + moderate + moderate + moderate + intense + intense + intense + intense + intense + intense + + + valigarmanda55@gmail.com +
diff --git a/manifests/top.jtmonster.jhentai/top.jtmonster.jhentai.yaml b/manifests/top.jtmonster.jhentai/top.jtmonster.jhentai.yaml new file mode 100644 index 0000000..a383ea7 --- /dev/null +++ b/manifests/top.jtmonster.jhentai/top.jtmonster.jhentai.yaml @@ -0,0 +1,52 @@ +app-id: top.jtmonster.jhentai +runtime: org.gnome.Platform +runtime-version: '46' +sdk: org.gnome.Sdk +command: jhentai +finish-args: + - --share=ipc + - --socket=fallback-x11 + - --socket=wayland + - --share=network + - --device=dri +cleanup: + - '*.a' + - '*.la' + - /include + - /lib/cmake + - /lib/debug + - /lib/pkgconfig + - /man + - /share/man + - /share/gtk-doc +modules: + - name: jhentai + buildsystem: simple + build-options: + no-debuginfo: true + build-commands: + - bsdtar --to-stdout -xf *.deb data.* | bsdtar -xf - + - cp -a usr/share /app/ + - mv opt/jhentai /app/ + - install -Dm755 jhentai.sh /app/bin/jhentai + - install -Dm644 top.jtmonster.jhentai.metainfo.xml -t /app/share/metainfo + sources: + - type: file + only-arches: [x86_64] + url: https://github.com/jiangtian616/JHenTai/releases/download/v8.0.1%2B257/JHenTai-8.0.1%2B257-Linux-amd64.deb + sha256: c60547abee48f7580e6175e9db98ca9cd184ca424648201bfa477b95bf2a20f4 + x-checker-data: + type: json + url: https://api.github.com/repos/jiangtian616/JHenTai/releases/latest + version-query: .tag_name | sub("^v"; "") + url-query: >- + .assets[] | select(.name | test("^JHenTai-.*-Linux-amd64\\.deb$")) + | + .browser_download_url + - type: file + path: top.jtmonster.jhentai.metainfo.xml + - type: script + commands: + - export TMPDIR="$XDG_RUNTIME_DIR/app/$FLATPAK_ID" + - exec /app/jhentai/jhentai "$@" + dest-filename: jhentai.sh diff --git a/pugai.flatpakrepo b/pugai.flatpakrepo new file mode 100644 index 0000000..3a5b5e9 --- /dev/null +++ b/pugai.flatpakrepo @@ -0,0 +1,8 @@ +[Flatpak Repo] +Title=Pugai +Url=https://flatpak.pugai.life/repo/ +Homepage=https://github.com/pugaizai/flatpak +Comment=Pugaizai's repository of Flatpak applications +Description=Pugaizai's repository of Flatpak applications +Icon=https://dl.flathub.org/repo/logo.svg +GPGKey=mDMEZrBYUxYJKwYBBAHaRw8BAQdAwWO8adzNr/yIWGjzMKwOwVYHchNb6zDs0L2o7JbzIbm0Lm1hZG9rYTc3MyAoZmxhdHBhaykgPHZhbGlnYXJtYW5kYTU1QGdtYWlsLmNvbT6IkwQTFgoAOxYhBKLAQPb5raJNG+fIaI8CV6mX6Zq1BQJmsFhTAhsDBQsJCAcCAiICBhUKCQgLAgQWAgMBAh4HAheAAAoJEI8CV6mX6Zq1UvIA+wWQlJo48i1J0rQNm3/e5Py+spy4jwylQ6xXgnfRz1/QAQCj5va71Ul+geAF1I93iIsbtY3c9STwQUNecndeyvVzCLg4BGawWFMSCisGAQQBl1UBBQEBB0AErxM9yYytymVKssfjbKbp57UDqiGo4Gylfz55CbrcZAMBCAeIeAQYFgoAIBYhBKLAQPb5raJNG+fIaI8CV6mX6Zq1BQJmsFhTAhsMAAoJEI8CV6mX6Zq11QoA/27oWPblz7KPWWroqSk3CfxqM+sZztbR/NUMhFlZUte+APwK9zdt9908iPHytIAlOUjJgQJKFgOaymWYoo/oK9qOCg== \ No newline at end of file