diff --git a/binaries/glib/static.ppkg.stable.yaml b/binaries/glib/static.ppkg.stable.yaml index b5eb0dc77..b4735ca28 100644 --- a/binaries/glib/static.ppkg.stable.yaml +++ b/binaries/glib/static.ppkg.stable.yaml @@ -10,25 +10,25 @@ category: - "Utility" description: _default: "A collection of tools for glib" - gapplication: "" - gdbus: "" - gdbus-codegen: "" - gi-compile-repository: "" - gi-decompile-typelib: "" - gi-inspect-typelib: "" - gio: "" - gio-launch-desktop: "" - gio-querymodules: "" - glib-compile-resources: "" - glib-compile-schemas: "" - glib-genmarshal: "" - glib-gettextize: "" - glib-mkenums: "" - gobject-query: "" - gresource: "" - gsettings: "" - gtester: "" - gtester-report: "" + gapplication: "D-Bus application launcher [glib]" + gdbus: "Tool for working with D-Bus objects [glib]" + gdbus-codegen: "D-Bus code and documentation generator [glib]" + gi-compile-repository: "Typelib compiler [glib]" + gi-decompile-typelib: "Typelib decompiler [glib]" + gi-inspect-typelib: "Typelib inspection tool [glib]" + gio: "GIO (Gnome Input/Output) commandline tool [glib]" + gio-launch-desktop: "GDesktopAppInfo helper to set GIO_LAUNCHED_DESKTOP_FILE_PID [glib]" + gio-querymodules: "GIO module cache creation [glib]" + glib-compile-resources: "GLib resource compiler [glib]" + glib-compile-schemas: "GSettings schema compiler [glib]" + glib-genmarshal: "C code marshaller generation utility for GLib closures [glib]" + glib-gettextize: "Gettext internationalization utility [glib]" + glib-mkenums: "C language enum description generation utility [glib]" + gobject-query: "Display a tree of types [glib]" + gresource: "GResource tool [glib]" + gsettings: "GSettings configuration tool [glib]" + gtester: "Test running utility [glib]" + gtester-report: "Test report formatting utility [glib]" distro_pkg: alpine: - "glib" @@ -77,7 +77,7 @@ repology: src_url: - "https://gitlab.gnome.org/GNOME/glib" tag: - - "downloader" + - "gnome" x_exec: host: - "aarch64-Linux" diff --git a/binaries/void/static.official.stable.yaml.disabled b/binaries/void/static.official.stable.yaml.disabled index 6e6010876..97a648b1c 100644 --- a/binaries/void/static.official.stable.yaml.disabled +++ b/binaries/void/static.official.stable.yaml.disabled @@ -57,7 +57,7 @@ export SKIP_BUILD="NO" #YES, in case of deleted repos, broken builds etc if [ "${SKIP_BUILD}" == "NO" ]; then #void: Portable Ephemeral Void Linux Docker Image (DockerC) export BIN="void" - export SOURCE_URL="hhttps://github.com/void-linux/void-containers" + export SOURCE_URL="https://github.com/void-linux/void-containers" echo -e "\n\n [+] (Building | Fetching) ${BIN} :: ${SOURCE_URL} [$(TZ='UTC' date +'%A, %Y-%m-%d (%I:%M:%S %p)') UTC]\n" #Build #glibc diff --git a/packages/0ad/appimage.0ad-matters.prerelease.yaml b/packages/0ad/appimage.0ad-matters.prerelease.yaml index 862848456..4510ff8c2 100644 --- a/packages/0ad/appimage.0ad-matters.prerelease.yaml +++ b/packages/0ad/appimage.0ad-matters.prerelease.yaml @@ -18,7 +18,7 @@ distro_pkg: extra: - "0ad" debian: - - "0ad" + - "0ad" nixpkgs: - "zeroad" homepage: diff --git a/packages/aisleriot/appimage.ivan-hc.stable.yaml b/packages/aisleriot/appimage.ivan-hc.stable.yaml index 29aed91d3..d40ffdba6 100644 --- a/packages/aisleriot/appimage.ivan-hc.stable.yaml +++ b/packages/aisleriot/appimage.ivan-hc.stable.yaml @@ -50,7 +50,7 @@ x_exec: - "x86_64-Linux" shell: "bash" pkgver: | - curl -qfsSL "https://api.gh.pkgforge.dev/repos/ivan-hc/Aisleriot-appimage/releases/latest?per_page=100" | jq -r '.. | objects | .browser_download_url? // empty' | sed -E 's/(x86_64|aarch64)//' | tr -d '[:alpha:]' | sed 's/^[^0-9]*//; s/[^0-9]*$//' | sort --version-sort | tail -n 1 | tr -d '[:space:]' + curl -qfsSL "https://api.gh.pkgforge.dev/repos/ivan-hc/Aisleriot-appimage/releases/latest?per_page=100" | jq -r '.. | objects | .browser_download_url? // empty' | sed -E 's/(x86_64|aarch64)//' | tr -d '[:alpha:]' | sed 's/^[^0-9]*//; s/[^0-9]*$//' | awk -F'[-]' '{print $1}' | sort --version-sort | tail -n 1 | tr -d '[:space:]' run: | #Download case "$(uname -m)" in diff --git a/packages/akregator/runimage.alpine.stable.yaml b/packages/akregator/runimage.alpine.stable.yaml index 84679b9de..6f8caa359 100644 --- a/packages/akregator/runimage.alpine.stable.yaml +++ b/packages/akregator/runimage.alpine.stable.yaml @@ -98,6 +98,7 @@ x_exec: #Build RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } #Extract Metadata "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "akregator.*" diff --git a/packages/amdgpu_top/appimage.official.stable.yaml b/packages/amdgpu_top/appimage.official.stable.yaml index 5c4659292..6343aa7ab 100644 --- a/packages/amdgpu_top/appimage.official.stable.yaml +++ b/packages/amdgpu_top/appimage.official.stable.yaml @@ -21,7 +21,7 @@ distro_pkg: - "amdgpu_top" homepage: - "https://github.com/Umio-Yasuno/amdgpu_top" -licensen: +license: - id: "MIT" url: "https://github.com/Umio-Yasuno/amdgpu_top/raw/7ceed7579fb994b7e9026526f0b8ec86756b701f/LICENSE" maintainer: diff --git a/packages/blender/runimage.cachyos.stable.yaml.disabled b/packages/blender/runimage.cachyos.stable.yaml.disabled index 95854d59e..ccab55c07 100644 --- a/packages/blender/runimage.cachyos.stable.yaml.disabled +++ b/packages/blender/runimage.cachyos.stable.yaml.disabled @@ -92,6 +92,7 @@ x_exec: #Build RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } #Extract Metadata "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "[Bb]lender.*" diff --git a/packages/blender/runimage.debian.stable.yaml b/packages/blender/runimage.debian.stable.yaml index 5274f4d2b..e005e709d 100644 --- a/packages/blender/runimage.debian.stable.yaml +++ b/packages/blender/runimage.debian.stable.yaml @@ -99,6 +99,7 @@ x_exec: #Build RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } #Extract Metadata "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "blender.*" diff --git a/packages/clamtk/runimage.debian.stable.yaml b/packages/clamtk/runimage.debian.stable.yaml index 397352fb4..803fda8ac 100644 --- a/packages/clamtk/runimage.debian.stable.yaml +++ b/packages/clamtk/runimage.debian.stable.yaml @@ -93,6 +93,7 @@ x_exec: #Build RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } #Extract Metadata "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "clamtk.*" diff --git a/packages/ddnet/runimage.cachyos.stable.yaml b/packages/ddnet/runimage.cachyos.stable.yaml index afbbe5757..6fa5c3562 100644 --- a/packages/ddnet/runimage.cachyos.stable.yaml +++ b/packages/ddnet/runimage.cachyos.stable.yaml @@ -91,6 +91,7 @@ x_exec: #Build RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } #Extract Metadata "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "ddnet.*" diff --git a/packages/deltapatcher/assets/default.png b/packages/deltapatcher/assets/default.png new file mode 100644 index 000000000..04c745bc8 Binary files /dev/null and b/packages/deltapatcher/assets/default.png differ diff --git a/packages/deltapatcher/runimage.debian.stable.yaml b/packages/deltapatcher/runimage.debian.stable.yaml new file mode 100644 index 000000000..efac06e0b --- /dev/null +++ b/packages/deltapatcher/runimage.debian.stable.yaml @@ -0,0 +1,112 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/deltapatcher/runimage.debian.stable.yaml +_disabled: false + +pkg: "deltapatcher" +pkg_id: "runimage.debian.deltapatcher" +pkg_type: "runimage" +app_id: "io.github.marco_calautti.DeltaPatcher" +category: + - "Game" +description: "GUI to create and apply xdelta patches" +desktop: + url: "https://raw.githubusercontent.com/marco-calautti/DeltaPatcher/refs/heads/master/app/linux_stuff/io.github.marco_calautti.DeltaPatcher.desktop" +homepage: + - "https://github.com/marco-calautti/DeltaPatcher" +icon: + url: "https://raw.githubusercontent.com/marco-calautti/DeltaPatcher/refs/heads/master/graphics/icon256.png" +license: + - id: "GPL-2.0" + url: "https://github.com/marco-calautti/DeltaPatcher/raw/5263b9486b4ab8081164ab3b192a031511a591a8/LICENSE.md" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "[DO NOT RUN] (Meant for pkgforge CI Only)" + - "Built Using RunImage [debian]. Check/Report @ https://github.com/VHSgunzo/runimage" + - "Learn more @ https://docs.pkgforge.dev/formats/packages/runimage" + - "[PORTABLE] (Works on AnyLinux)" +provides: + - "deltapatcher==DeltaPatcher" +#repology: +# - "deltapatcher" +src_url: + - "https://github.com/marco-calautti/DeltaPatcher" +tag: + - "patcher" +x_exec: + host: + # - "aarch64-Linux" + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://api.gh.pkgforge.dev/repos/marco-calautti/DeltaPatcher/releases?per_page=100" | jq -r '[.[] | select(.draft == false and .prerelease == false)] | .[0].tag_name | gsub("\\s+"; "")' | tr -d '[:space:]' + run: | + #Get BaseImage + curl -qfsSL "https://github.com/pkgforge-dev/runimage-base/releases/download/debian_$(uname -m)/runimage" -o "${SBUILD_TMPDIR}/runimage" + chmod -v 'a+x' "${SBUILD_TMPDIR}/runimage" + [[ -s "${SBUILD_TMPDIR}/runimage" ]] || exit 1 + #Deps + build_image() + { + #Requirements + export DEBIAN_FRONTEND="noninteractive" + echo 'root:*::' > "/etc/gshadow" + echo 'daemon:*::' >> "/etc/gshadow" + echo 'bin:*::' >> "/etc/gshadow" + echo 'sys:*::' >> "/etc/gshadow" + BASE_PKGS=(libgtk-3-0 libgtk-3-bin libgtk-3-common) + sudo apt clean -y + sudo apt update -y + #DEBIAN_FRONTEND="noninteractive" sudo apt install -f "${BASE_PKGS[@]}" -y --no-install-recommends --ignore-missing + for pkg in "${BASE_PKGS[@]}"; do DEBIAN_FRONTEND="noninteractive" sudo apt install -f "${pkg}" -y --no-install-recommends --ignore-missing 2>/dev/null; done + #Main Package + curl -kqfSL "https://bin.pkgforge.dev/$(uname -m)-$(uname -s)/7z" -o "./7z" && chmod -v 'a+x' "./7z" + curl -kqfSL "https://github.com/marco-calautti/DeltaPatcher/releases/download/${PKGVER}/linuxGTK3_bin_x86_64.zip" -o "./deltapatcher.zip" + "./7z" x -mmt="$(($(nproc)+1))" -bd -y -o"./deltapatcher" "./deltapatcher.zip" 2>/dev/null + chmod -v 'a+x' "./deltapatcher/DeltaPatcher" || chmod -v 'a+x' "./deltapatcher/deltapatcher" + [[ -s "./deltapatcher/DeltaPatcher" || -s "./deltapatcher/deltapatcher" ]] || exit 1 + mv -fv "./deltapatcher/DeltaPatcher" "/usr/local/bin/deltapatcher" || mv -fv "./deltapatcher/deltapatcher" "/usr/local/bin/deltapatcher" + chmod -v 'a+x' "/usr/local/bin/deltapatcher" + command -v "deltapatcher" >/dev/null 2>&1 || exit 1 + rm -rvf "./7z" "./deltapatcher" "./deltapatcher.zip" + #Debloat & Shrink + sudo apt purge locales perl -y ; sudo apt autoremove -y ; sudo apt autoclean -y + sudo apt list --installed + sudo apt clean -y + rim-shrink --all --verbose 2>/dev/null + #Config + echo 'RIM_AUTORUN="${RIM_AUTORUN:=deltapatcher}"' > "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_LVL="${RIM_CMPRS_LVL:=22}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_BSIZE="${RIM_CMPRS_BSIZE:=24}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_ICONS="${RIM_SHARE_ICONS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_FONTS="${RIM_SHARE_FONTS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_THEMES="${RIM_SHARE_THEMES:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_UPDATE_SHRINK="${RIM_UPDATE_SHRINK:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SYS_NVLIBS="${RIM_SYS_NVLIBS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + #Rebuild [Dwarfs ZSTD 22] + rim-build --bsize '24' --clvl '22' --dwfs "${SBUILD_OUTDIR}/${PKG}" + } + export -f build_image + #Build + RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ + "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } + #Desktop + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.desktop" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -name "*.desktop" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" sh -c 'cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.desktop"' + fi + sed '/.*DBusActivatable.*/I d' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed -E 's/\s+setup\s+/ /Ig' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed "s/Icon=[^ ]*/Icon=${PKG}/" -i "${SBUILD_OUTDIR}/${PKG}.desktop" + #Icon + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.png" && ! -s "${SBUILD_OUTDIR}/${PKG}.svg" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -type f,l -regex '.*\.\(png\|svg\)' \ + -not -regex '.*\(favicon\|/\(16x16\|22x22\|24x24\|32x32\|36x36\|48x48\|64x64\|72x72\|96x96\)/\).*' \ + | awk '{print length, $0}' | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + if [[ ! -f "${SBUILD_OUTDIR}/${PKG}.png" || $(stat -c%s "${SBUILD_OUTDIR}/${PKG}.png") -le 3 ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -regex ".*\(128x128/apps\|256x256\)/.*${PKG}.*\.\(png\|svg\)" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + fi + cp -fv "${SBUILD_OUTDIR}/${PKG}.png" "${SBUILD_OUTDIR}/.DirIcon" + fi + #Appstream + curl -qfsSL "https://raw.githubusercontent.com/marco-calautti/DeltaPatcher/refs/heads/master/app/linux_stuff/io.github.marco_calautti.DeltaPatcher.metainfo.xml" -o "${SBUILD_OUTDIR}/${PKG}.metainfo.xml" \ No newline at end of file diff --git a/packages/escrcpy/appimage.official.stable.yaml b/packages/escrcpy/appimage.official.stable.yaml new file mode 100644 index 000000000..825452f17 --- /dev/null +++ b/packages/escrcpy/appimage.official.stable.yaml @@ -0,0 +1,56 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/escrcpy/appimage.official.stable.yaml +_disabled: false + +pkg: "escrcpy" +pkg_id: "github.com.viarotel-org.escrcpy" +pkg_type: "appimage" +#build_util: +# - "curl#bin" +# - "jq#bin" +category: + - "Utility" +description: "Graphical Scrcpy to display and control Android, devices" +distro_pkg: + archlinux: + aur: + - "escrcpy" + - "escrcpy-bin" +homepage: + - "https://github.com/viarotel-org/escrcpy" +#icon: +# url: "https://raw.githubusercontent.com/pkgforge/soarpkgs/main/packages/escrcpy/assets/default.png" +license: + - id: "Apache-2.0" + url: "https://github.com/viarotel-org/escrcpy/raw/5a68e8371b08523dbeffe42e02520e0a0a03e43a/LICENSE" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "Pre Built AppImage Fetched from Upstream. Check/Report @ https://github.com/viarotel-org/escrcpy" +provides: + - "escrcpy" +repology: + - "escrcpy" +src_url: + - "https://github.com/viarotel-org/escrcpy" +tag: + - "adb" + - "gui-scrcpy" + - "scrcpy" +x_exec: + host: + - "aarch64-Linux" + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://api.gh.pkgforge.dev/repos/viarotel-org/escrcpy/releases?per_page=100" | jq -r '[.[] | select(.draft == false and .prerelease == false)] | .[0].tag_name | gsub("\\s+"; "")' | tr -d '[:space:]' + run: | + #Download + case "$(uname -m)" in + aarch64) + soar dl "https://github.com/viarotel-org/escrcpy@${PKGVER}" --match "appimage,arm64" --exclude "x64,x86,zsync" -o "./${PKG}" --yes + ;; + x86_64) + soar dl "https://github.com/viarotel-org/escrcpy@${PKGVER}" --match "appimage,x86_64" --exclude "aarch64,arm,zsync" -o "./${PKG}" --yes + ;; + esac \ No newline at end of file diff --git a/packages/escrcpy/appimage.stable.yaml.disabled b/packages/escrcpy/appimage.stable.yaml.disabled deleted file mode 100644 index a86691d9f..000000000 --- a/packages/escrcpy/appimage.stable.yaml.disabled +++ /dev/null @@ -1,43 +0,0 @@ -#!/SBUILD -_disabled: false - -pkg: "escrcpy" -pkg_id: "github.com.viarotel-org.escrcpy" -pkg_type: "appimage" -app_id: "github.com.viarotel-org.escrcpy" -#build_util: -# - "curl#bin" -# - "jq#bin" -category: - - "Utility" -description: "📱 Graphical Scrcpy to display and control Android, devices powered by Electron." -distro_pkg: - archlinux: - aur: - - "escrcpy" - - "escrcpy-bin" -homepage: - - "https://github.com/viarotel-org/escrcpy" -maintainer: - - "Azathothas (https://github.com/Azathothas)" -license: - - "Apache-2.0" - - "MIT" -src_url: - - "https://github.com/viarotel-org/escrcpy" -tag: - - "adb" -x_exec: - shell: "bash" - pkgver: | - curl -qfsSL "https://api.gh.pkgforge.dev/repos/viarotel-org/escrcpy/releases?per_page=100" | jq -r '[.[] | select(.draft == false and .prerelease == false)] | .[0].tag_name | gsub("\\s+"; "")' | tr -d '[:space:]' - run: | - #Download - case "$(uname -m)" in - aarch64) - soar dl "https://github.com/viarotel-org/escrcpy" --match "appimage" --exclude "x86,x64,arm,zsync" -o "./${PKG}" --yes - ;; - x86_64) - soar dl "https://github.com/viarotel-org/escrcpy" --match "appimage" --exclude "aarch64,arm,zsync" -o "./${PKG}" --yes - ;; - esac diff --git a/packages/escrcpy/assets/default.png b/packages/escrcpy/assets/default.png index d25bcad8b..c2ff030d2 100644 Binary files a/packages/escrcpy/assets/default.png and b/packages/escrcpy/assets/default.png differ diff --git a/packages/escrcpy/assets/escrcpy.png b/packages/escrcpy/assets/escrcpy.png deleted file mode 100644 index d25bcad8b..000000000 Binary files a/packages/escrcpy/assets/escrcpy.png and /dev/null differ diff --git a/packages/fdm/runimage.cachyos.stable.yaml b/packages/fdm/runimage.cachyos.stable.yaml new file mode 100644 index 000000000..4454f1f3e --- /dev/null +++ b/packages/fdm/runimage.cachyos.stable.yaml @@ -0,0 +1,110 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/fdm/runimage.cachyos.stable.yaml +_disabled: false + +pkg: "fdm" +pkg_id: "runimage.cachyos.fdm" +pkg_type: "runimage" +app_id: "org.freedownloadmanager.Manager" +category: + - "Utility" +description: "A powerful modern download accelerator and organizer" +desktop: + url: "https://raw.githubusercontent.com/pkgforge/soarpkgs/main/packages/fdm/assets/default.desktop" +distro_pkg: + archlinux: + aur: + - "freedownloadmanager" + homebrew: + - "free-download-manager" +homepage: + - "https://www.freedownloadmanager.org" +icon: + url: "https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/fdm/assets/default.png" +license: + - "freeware" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "[DO NOT RUN] (Meant for pkgforge CI Only)" + - "Built Using RunImage [cachyos]. Check/Report @ https://github.com/VHSgunzo/runimage" + - "Learn more @ https://docs.pkgforge.dev/formats/packages/runimage" + - "[PORTABLE] (Works on AnyLinux)" +provides: + - "fdm==freedownloadmanager" + - "fdm==free-download-manager" +repology: + - "freedownloadmanager" +src_url: + - "https://www.freedownloadmanager.org/download-fdm-for-linux.htm" +tag: + - "downloader" + - "download-manager" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=freedownloadmanager" | sed -n 's/^pkgver=//p' | tr -d '[:space:]' + run: | + #Get BaseImage + curl -qfsSL "https://github.com/pkgforge-dev/runimage-base/releases/download/cachyos_$(uname -m)/runimage" -o "${SBUILD_TMPDIR}/runimage" + chmod -v 'a+x' "${SBUILD_TMPDIR}/runimage" + [[ -s "${SBUILD_TMPDIR}/runimage" ]] || exit 1 + #Deps + build_image() + { + #Requirements + sudo pacman -y --sync --refresh --refresh --sysupgrade --noconfirm + #BASE_PKGS=() + #sudo pacman -S "${BASE_PKGS[@]}" --needed --noconfirm + #for pkg in "${BASE_PKGS[@]}"; do sudo pacman -S "${pkg}" --needed --noconfirm 2>/dev/null; done + #Main Package + yay -S "freedownloadmanager" --noconfirm + command -v "fdm" >/dev/null 2>&1 || exit 1 + #Debloat & Shrink + yay -Ql "freedownloadmanager" + sudo pacman -Rsn base-devel --noconfirm 2>/dev/null + sudo pacman -Rsn perl --noconfirm 2>/dev/null + sudo pacman -Rsn python --noconfirm 2>/dev/null + sudo pacman -Scc --noconfirm ; yay -Scc --noconfirm + sudo rim-shrink --all + #Config + echo 'RIM_AUTORUN="${RIM_AUTORUN:=fdm}"' > "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_LVL="${RIM_CMPRS_LVL:=22}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_BSIZE="${RIM_CMPRS_BSIZE:=24}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_ICONS="${RIM_SHARE_ICONS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_FONTS="${RIM_SHARE_FONTS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_THEMES="${RIM_SHARE_THEMES:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_UPDATE_SHRINK="${RIM_UPDATE_SHRINK:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SYS_NVLIBS="${RIM_SYS_NVLIBS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + #Rebuild [Dwarfs ZSTD 22] + rim-build --bsize '24' --clvl '22' --dwfs "${SBUILD_OUTDIR}/${PKG}" + } + export -f build_image + #Build + RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_UNSHARE_USERS="1" \ + "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } + #Extract Metadata + "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list + HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "free.*" + #Desktop + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.desktop" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -name "*.desktop" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" sh -c 'cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.desktop"' + fi + sed '/.*DBusActivatable.*/I d' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed -E 's/\s+setup\s+/ /Ig' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed "s/Icon=[^ ]*/Icon=${PKG}/" -i "${SBUILD_OUTDIR}/${PKG}.desktop" + #Icon + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.png" && ! -s "${SBUILD_OUTDIR}/${PKG}.svg" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -type f,l -regex '.*\.\(png\|svg\)' \ + -not -regex '.*\(favicon\|/\(16x16\|22x22\|24x24\|32x32\|36x36\|48x48\|64x64\|72x72\|96x96\)/\).*' \ + | awk '{print length, $0}' | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + if [[ ! -f "${SBUILD_OUTDIR}/${PKG}.png" || $(stat -c%s "${SBUILD_OUTDIR}/${PKG}.png") -le 3 ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -regex ".*\(128x128/apps\|256x256\)/.*${PKG}.*\.\(png\|svg\)" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + fi + cp -fv "${SBUILD_OUTDIR}/${PKG}.png" "${SBUILD_OUTDIR}/.DirIcon" + fi + #Appstream + curl -qfsSL "https://raw.githubusercontent.com/pkgforge/soarpkgs/main/packages/fdm/assets/default.appdata.xml" -o "${SBUILD_OUTDIR}/${PKG}.appdata.xml" \ No newline at end of file diff --git a/packages/fdm/runimage.debian.stable.yaml b/packages/fdm/runimage.debian.stable.yaml index bf75da3fd..d42f80f66 100644 --- a/packages/fdm/runimage.debian.stable.yaml +++ b/packages/fdm/runimage.debian.stable.yaml @@ -102,6 +102,7 @@ x_exec: #Build RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } #Desktop if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.desktop" ]]; then find -L "${SBUILD_TMPDIR}/integ_files" -name "*.desktop" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" sh -c 'cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.desktop"' diff --git a/packages/ffdec/runimage.cachyos.stable.yaml b/packages/ffdec/runimage.cachyos.stable.yaml index 3b624a892..aaa042cc8 100644 --- a/packages/ffdec/runimage.cachyos.stable.yaml +++ b/packages/ffdec/runimage.cachyos.stable.yaml @@ -84,6 +84,7 @@ x_exec: #Build RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_UNSHARE_USERS="1" \ "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } #Extract Metadata "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "ffdec.*" diff --git a/packages/funkin/runimage.debian.stable.yaml b/packages/funkin/runimage.debian.stable.yaml index 44dceea5f..e8c1faa74 100644 --- a/packages/funkin/runimage.debian.stable.yaml +++ b/packages/funkin/runimage.debian.stable.yaml @@ -102,6 +102,7 @@ x_exec: #Build RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } #Desktop if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.desktop" ]]; then find -L "${SBUILD_TMPDIR}/integ_files" -name "*.desktop" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" sh -c 'cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.desktop"' diff --git a/packages/ghex/runimage.alpine.stable.yaml b/packages/ghex/runimage.alpine.stable.yaml index 1ed39381c..eea9e42cc 100644 --- a/packages/ghex/runimage.alpine.stable.yaml +++ b/packages/ghex/runimage.alpine.stable.yaml @@ -101,6 +101,7 @@ x_exec: #Build RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } #Extract Metadata "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "ghex.*" diff --git a/packages/gimp-dev/appimage.stable.yaml.disabled b/packages/gimp-dev/appimage.stable.yaml.disabled deleted file mode 100644 index cc6fea661..000000000 --- a/packages/gimp-dev/appimage.stable.yaml.disabled +++ /dev/null @@ -1,34 +0,0 @@ -#!/SBUILD -_disabled: false - -pkg: "gimp-dev" -pkg_id: "github.com.ivan-hc.GIMP-appimage" -pkg_type: "appimage" -app_id: "github.com.ivan-hc.GIMP-appimage" -#build_util: -# - "curl#bin" -# - "jq#bin" -category: - - "Utility" -description: "GNU Image Manipulation Program Stable & Developer Edition." -homepage: - - "https://github.com/ivan-hc/GIMP-appimage" -maintainer: - - "Azathothas (https://github.com/Azathothas)" -src_url: - - "https://github.com/ivan-hc/GIMP-appimage" -x_exec: - shell: "bash" - pkgver: | - curl -qfsSL "https://api.gh.pkgforge.dev/repos/ivan-hc/GIMP-appimage/releases?per_page=100" | jq -r '[.[] | select(.draft == false and .prerelease == false)] | .[0].tag_name | gsub("\\s+"; "")' | tr -d '[:space:]' - run: | - #Download - case "$(uname -m)" in - aarch64) - echo -e "\n[✗] aarch64 is Not Yet Supported\n" - exit 1 - ;; - x86_64) - soar dl "https://github.com/ivan-hc/GIMP-appimage" --match "appimage" --exclude "aarch64,arm,zsync" -o "./${PKG}" --yes - ;; - esac diff --git a/packages/gimp-dev/assets/default.png b/packages/gimp-dev/assets/default.png deleted file mode 100644 index 6e56bf424..000000000 Binary files a/packages/gimp-dev/assets/default.png and /dev/null differ diff --git a/packages/gimp-dev/assets/gimp-dev.png b/packages/gimp-dev/assets/gimp-dev.png deleted file mode 100644 index 6e56bf424..000000000 Binary files a/packages/gimp-dev/assets/gimp-dev.png and /dev/null differ diff --git a/packages/gimp-hybrid/appimage.stable.yaml.disabled b/packages/gimp-hybrid/appimage.stable.yaml.disabled deleted file mode 100644 index 15dbfcea8..000000000 --- a/packages/gimp-hybrid/appimage.stable.yaml.disabled +++ /dev/null @@ -1,34 +0,0 @@ -#!/SBUILD -_disabled: false - -pkg: "gimp-hybrid" -pkg_id: "github.com.ivan-hc.GIMP-appimage" -pkg_type: "appimage" -app_id: "github.com.ivan-hc.GIMP-appimage" -#build_util: -# - "curl#bin" -# - "jq#bin" -category: - - "Utility" -description: "GNU Image Manipulation Program Stable & Developer Edition." -homepage: - - "https://github.com/ivan-hc/GIMP-appimage" -maintainer: - - "Azathothas (https://github.com/Azathothas)" -src_url: - - "https://github.com/ivan-hc/GIMP-appimage" -x_exec: - shell: "bash" - pkgver: | - curl -qfsSL "https://api.gh.pkgforge.dev/repos/ivan-hc/GIMP-appimage/releases?per_page=100" | jq -r '[.[] | select(.draft == false and .prerelease == false)] | .[0].tag_name | gsub("\\s+"; "")' | tr -d '[:space:]' - run: | - #Download - case "$(uname -m)" in - aarch64) - echo -e "\n[✗] aarch64 is Not Yet Supported\n" - exit 1 - ;; - x86_64) - soar dl "https://github.com/ivan-hc/GIMP-appimage" --match "appimage" --exclude "aarch64,arm,zsync" -o "./${PKG}" --yes - ;; - esac diff --git a/packages/gimp-hybrid/assets/default.png b/packages/gimp-hybrid/assets/default.png deleted file mode 100644 index 6e56bf424..000000000 Binary files a/packages/gimp-hybrid/assets/default.png and /dev/null differ diff --git a/packages/gimp-hybrid/assets/gimp-hybrid.png b/packages/gimp-hybrid/assets/gimp-hybrid.png deleted file mode 100644 index 6e56bf424..000000000 Binary files a/packages/gimp-hybrid/assets/gimp-hybrid.png and /dev/null differ diff --git a/packages/gimp/appimage.ivan-hc.dev.yaml b/packages/gimp/appimage.ivan-hc.dev.yaml new file mode 100644 index 000000000..f3a9e647a --- /dev/null +++ b/packages/gimp/appimage.ivan-hc.dev.yaml @@ -0,0 +1,66 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/gimp/appimage.ivan-hc.dev.yaml +_disabled: false + +pkg: "gimp" +pkg_id: "github.com.ivan-hc.GIMP-appimage.dev" +pkg_type: "appimage" +app_id: "org.gimp.GIMP" +#build_util: +# - "curl#bin" +# - "jq#bin" +category: + - "Graphics" + - "ImageProcessing" +description: "The GNU Image Manipulation Program (Dev)" +distro_pkg: + alpine: + - "gimp" + archlinux: + aur: + - "gimp-git" + extra: + - "gimp" + debian: + - "gimp" + nixpkgs: + - "gimp" +homepage: + - "https://www.gimp.org" + - "https://gitlab.gnome.org/GNOME/gimp" +license: + - id: "GPL-3.0" + url: "https://gitlab.gnome.org/GNOME/gimp/-/raw/master/LICENSE?ref_type=heads" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "Fetched from Pre Built Community Created AppImage. Check/Report @ https://github.com/ivan-hc/GIMP-appimage" +provides: + - "gimp" +repology: + - "gimp" +src_url: + - "https://github.com/ivan-hc/GIMP-appimage" +tag: + - "editor" + - "graphics" +x_exec: + shell: "bash" + pkgver: | + curl -qfsSL "https://api.gh.pkgforge.dev/repos/ivan-hc/GIMP-appimage/releases?per_page=100" | \ + jq -r '[.[] | select(.draft == false and (.tag_name | test("dev")))] | .[0].assets[].browser_download_url' | \ + sed -E 's/(x86_64|aarch64)//' | tr -d '[:alpha:]' | \ + sed 's/^[^0-9]*//; s/[^0-9]*$//' | \ + awk -F'[-]' '{print $1}' | \ + sort --version-sort | tail -n 1 | tr -d '[:space:]' + run: | + #Download + case "$(uname -m)" in + aarch64) + echo -e "\n[✗] aarch64 is Not Yet Supported\n" + exit 1 + ;; + x86_64) + soar dl "https://github.com/ivan-hc/GIMP-appimage@continuous-dev" --match "appimage" --exclude "aarch64,arm,zsync" -o "./${PKG}" --yes + ;; + esac \ No newline at end of file diff --git a/packages/gimp/appimage.ivan-hc.git.yaml b/packages/gimp/appimage.ivan-hc.git.yaml new file mode 100644 index 000000000..40cbdefcb --- /dev/null +++ b/packages/gimp/appimage.ivan-hc.git.yaml @@ -0,0 +1,67 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/gimp/appimage.ivan-hc.git.yaml +_disabled: false + +pkg: "gimp" +pkg_id: "github.com.ivan-hc.GIMP-appimage.git" +pkg_type: "appimage" +app_id: "org.gimp.GIMP" +#build_util: +# - "curl#bin" +# - "jq#bin" +category: + - "Graphics" + - "ImageProcessing" +description: "The GNU Image Manipulation Program (Git)" +distro_pkg: + alpine: + - "gimp" + archlinux: + aur: + - "gimp-git" + extra: + - "gimp" + debian: + - "gimp" + nixpkgs: + - "gimp" +homepage: + - "https://www.gimp.org" + - "https://gitlab.gnome.org/GNOME/gimp" +license: + - id: "GPL-3.0" + url: "https://gitlab.gnome.org/GNOME/gimp/-/raw/master/LICENSE?ref_type=heads" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "Fetched from Pre Built Community Created AppImage. Check/Report @ https://github.com/ivan-hc/GIMP-appimage" +provides: + - "gimp" +repology: + - "gimp" +src_url: + - "https://github.com/ivan-hc/GIMP-appimage" +tag: + - "editor" + - "graphics" +x_exec: + shell: "bash" + pkgver: | + curl -qfsSL "https://api.gh.pkgforge.dev/repos/ivan-hc/GIMP-appimage/releases?per_page=100" |\ + jq -r '[.[] | select(.draft == false and (.tag_name | test("git")))] | .[0].assets[].browser_download_url' |\ + sed -E 's/(x86_64|aarch64)//' |\ + sed -E 's/.*GIT_([0-9]+)\.([a-f0-9]+).*/\1.\2/' |\ + sed 's/^[^0-9]*//; s/[^0-9]*$//' |\ + awk -F'[-]' '{print $1}' |\ + sort --version-sort | tail -n 1 | tr -d '[:space:]' + run: | + #Download + case "$(uname -m)" in + aarch64) + echo -e "\n[✗] aarch64 is Not Yet Supported\n" + exit 1 + ;; + x86_64) + soar dl "https://github.com/ivan-hc/GIMP-appimage@continuous-git" --match "appimage" --exclude "aarch64,arm,zsync" -o "./${PKG}" --yes + ;; + esac \ No newline at end of file diff --git a/packages/gimp/appimage.ivan-hc.stable.yaml.disabled b/packages/gimp/appimage.ivan-hc.stable.yaml similarity index 50% rename from packages/gimp/appimage.ivan-hc.stable.yaml.disabled rename to packages/gimp/appimage.ivan-hc.stable.yaml index 401dfe77b..b374a726c 100644 --- a/packages/gimp/appimage.ivan-hc.stable.yaml.disabled +++ b/packages/gimp/appimage.ivan-hc.stable.yaml @@ -28,29 +28,32 @@ distro_pkg: homepage: - "https://www.gimp.org" - "https://gitlab.gnome.org/GNOME/gimp" - - "https://github.com/ivan-hc/GIMP-appimage" +license: + - id: "GPL-3.0" + url: "https://gitlab.gnome.org/GNOME/gimp/-/raw/master/LICENSE?ref_type=heads" maintainer: - "Azathothas (https://github.com/Azathothas)" note: - - "Pre Built AppImage Fetched from Upstream. Check/Report @ https://github.com/ivan-hc/GIMP-appimage" + - "Fetched from Pre Built Community Created AppImage. Check/Report @ https://github.com/ivan-hc/GIMP-appimage" +provides: + - "gimp" repology: - "gimp" src_url: - "https://github.com/ivan-hc/GIMP-appimage" tag: - - "Applications/Graphics" - "editor" - - "extra/multimedia" - - "Graphical" - - "Graphics" - - "Graphics/Editors" - - "media-gfx" - - "Photo" - - "Productivity/Graphics/Bitmap" + - "graphics" x_exec: shell: "bash" pkgver: | - curl -qfsSL "https://gitlab.archlinux.org/archlinux/packaging/packages/gimp/-/raw/main/PKGBUILD?ref_type=heads" | sed -n 's/^pkgver=//p' | tr -d '[:space:]' + #curl -qfsSL "https://gitlab.archlinux.org/archlinux/packaging/packages/gimp/-/raw/main/PKGBUILD?ref_type=heads" | sed -n 's/^pkgver=//p' | tr -d '[:space:]' + curl -qfsSL "https://api.gh.pkgforge.dev/repos/ivan-hc/GIMP-appimage/releases?per_page=100" | \ + jq -r '[.[] | select(.draft == false and (.tag_name | test("stable")))] | .[0].assets[].browser_download_url' | \ + sed -E 's/(x86_64|aarch64)//' | tr -d '[:alpha:]' | \ + sed 's/^[^0-9]*//; s/[^0-9]*$//' | \ + awk -F'[-]' '{print $1}' | \ + sort --version-sort | tail -n 1 | tr -d '[:space:]' run: | #Download case "$(uname -m)" in @@ -59,6 +62,6 @@ x_exec: exit 1 ;; x86_64) - soar dl "https://github.com/ivan-hc/GIMP-appimage" --match "appimage" --exclude "aarch64,arm,zsync" -o "./${PKG}" --yes + soar dl "https://github.com/ivan-hc/GIMP-appimage@continuous-stable" --match "appimage" --exclude "aarch64,arm,zsync" -o "./${PKG}" --yes ;; esac \ No newline at end of file diff --git a/packages/gimp/appimage.pkgforge-dev.stable.yaml b/packages/gimp/appimage.pkgforge-dev.stable.yaml new file mode 100644 index 000000000..7315710aa --- /dev/null +++ b/packages/gimp/appimage.pkgforge-dev.stable.yaml @@ -0,0 +1,76 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/gimp/appimage.pkgforge-dev.stable.yaml +_disabled: false + +pkg: "gimp" +pkg_id: "github.com.pkgforge-dev.GIMP-AppImage" +pkg_type: "appimage" +app_id: "org.gimp.GIMP" +#build_util: +# - "curl#bin" +# - "jq#bin" +category: + - "Graphics" + - "ImageProcessing" +description: "GNU Image Manipulation Program" +distro_pkg: + alpine: + - "gimp" + archlinux: + aur: + - "gimp-devel" + - "gimp-git" + extra: + - "gimp" + debian: + - "gimp" + gnuguix: + - "gimp" + homebrew: + - "gimp" + nixpkgs: + - "gimp" +homepage: + - "https://www.gimp.org" + - "https://gitlab.gnome.org/GNOME/gimp" +license: + - id: "GPL-3.0" + url: "https://gitlab.gnome.org/GNOME/gimp/-/raw/master/LICENSE?ref_type=heads" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "Fetched from Pre Built Community Created AppImage. Check/Report @ https://github.com/pkgforge-dev/GIMP-AppImage" + - "[PORTABLE] (Works on AnyLinux)" +provides: + - "gimp" +repology: + - "gimp" +src_url: + - "https://github.com/pkgforge-dev/GIMP-AppImage" +tag: + - "editor" + - "graphics" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://api.gh.pkgforge.dev/repos/pkgforge-dev/GIMP-appimage/releases?per_page=100" | \ + jq -r '[.[] | select(.draft == false and (.tag_name | test("continuous")))] | .[0].assets[].browser_download_url' | \ + sed -E 's/(x86_64|aarch64)//' | tr -d '[:alpha:]' | \ + sed 's/^[^0-9]*//; s/[^0-9]*$//' | \ + awk -F'[-]' '{print $1}' | \ + sort --version-sort | tail -n 1 | tr -d '[:space:]' + run: | + #Download + case "$(uname -m)" in + aarch64) + echo -e "\n[✗] aarch64 is Not Yet Supported\n" + exit 1 + ;; + x86_64) + soar dl "https://github.com/pkgforge-dev/GIMP-AppImage@continuous" --match "appimage" --exclude "aarch64,arm,zsync" -o "./${PKG}" --yes + ;; + esac + #Appstream + curl -qfsSL "https://gitlab.gnome.org/GNOME/gimp/-/raw/master/desktop/org.gimp.GIMP.appdata.xml.in.in" -o "./${PKG}.appdata.xml" \ No newline at end of file diff --git a/packages/gimp/appimage.stable.yaml.disabled b/packages/gimp/appimage.stable.yaml.disabled deleted file mode 100644 index 61e652d98..000000000 --- a/packages/gimp/appimage.stable.yaml.disabled +++ /dev/null @@ -1,102 +0,0 @@ -#!/SBUILD -_disabled: false - -pkg: "gimp" -pkg_id: "github.com.ivan-hc.32-bit-AppImage-packages-database" -pkg_type: "appimage" -app_id: "github.com.ivan-hc.32-bit-AppImage-packages-database" -#build_util: -# - "curl#bin" -# - "jq#bin" -category: - - "Utility" -description: "A place to create AppImage packages for 32-bit architecture." -distro_pkg: - alpine: - - "gimp" - archlinux: - aur: - - "gimp-devel" - - "gimp-develop-git" - - "gimp-git" - - "lib32-gimp" - - "python2-gimp" - extra: - - "gimp" - debian: - - "gimp" - nixpkgs: - - "gimp" - - "gimp-with-plugins" -homepage: - - "http://www.gimp.org" - - "https://gimp.org" - - "https://gitlab.gnome.org/GNOME/gimp" - - "https://www.gimp.org" - - "https://www.gimp.org/downloads/devel" -maintainer: - - "Azathothas (https://github.com/Azathothas)" -license: - - "GNU GPLv3" - - "GNU General Public License, version 3.0" - - "GNU Lesser General Public License, version 3.0" - - "GPL" - - "GPL-3" - - "GPL-3 and LGPL-3" - - "GPL-3+" - - "GPL-3.0+" - - "GPL-3.0-only" - - "GPL-3.0-only AND LGPL-3.0-only" - - "GPL-3.0-or-later" - - "GPL3" - - "GPLv2" - - "GPLv2+" - - "GPLv3" - - "GPLv3+ and GPLv3" - - "LGPL" - - "LGPL-3+" - - "LGPL-3.0-or-later AND GPL-2.0-or-later AND GPL-3.0-or-later AND BSD-3-Clause" - - "LGPL-3.0-or-later AND GPL-2.0-or-later AND GPL-3.0-or-later AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-SA-4.0 AND CC0-1.0" - - "LGPL3" - - "Permissive" - - "gpl3" - - "lgpl3" - - "spdx:GPL-3.0-or-later AND LGPL-3.0-or-later" -src_url: - - "https://github.com/ivan-hc/32-bit-AppImage-packages-database" -tag: - - "Applications/Graphics" - - "Applications/Multimedia" - - "Debug" - - "Graphical" - - "Graphics" - - "Graphics/Editors" - - "Photo" - - "Productivity/Graphics/Bitmap" - - "debug" - - "development" - - "editor" - - "extra/multimedia" - - "gnome" - - "graphics" - - "graphics/edit" - - "media-gfx" - - "multimedia.graphics" - - "programming.devel" - - "programming.docs" - - "universe/graphics" -x_exec: - shell: "bash" - pkgver: | - curl -qfsSL "https://api.gh.pkgforge.dev/repos/ivan-hc/32-bit-AppImage-packages-database/releases/latest?per_page=100" | jq -r '.. | objects | .browser_download_url? // empty' | sed -E 's/(x86_64|aarch64)//' | tr -d '[:alpha:]' | sed 's/^[^0-9]*//; s/[^0-9]*$//' | sort --version-sort | tail -n 1 | tr -d '[:space:]' - run: | - #Download - case "$(uname -m)" in - aarch64) - echo -e "\n[✗] aarch64 is Not Yet Supported\n" - exit 1 - ;; - x86_64) - soar dl "https://github.com/ivan-hc/32-bit-AppImage-packages-database@${PKGVER}" --match "appimage" --exclude "aarch64,arm,zsync" -o "./${PKG}" --yes - ;; - esac diff --git a/packages/gimp/assets/gimp.png b/packages/gimp/assets/gimp.png deleted file mode 100644 index 6e56bf424..000000000 Binary files a/packages/gimp/assets/gimp.png and /dev/null differ diff --git a/packages/gimp/runimage.cachyos.git.yaml b/packages/gimp/runimage.cachyos.git.yaml new file mode 100644 index 000000000..90c065e47 --- /dev/null +++ b/packages/gimp/runimage.cachyos.git.yaml @@ -0,0 +1,116 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/gimp/runimage.cachyos.git.yaml +_disabled: false + +pkg: "gimp" +pkg_id: "runimage.cachyos.gimp.git" +pkg_type: "runimage" +app_id: "org.gimp.GIMP" +category: + - "Graphics" + - "ImageProcessing" +description: "The GNU Image Manipulation Program (Git)" +desktop: + url: "https://gitlab.gnome.org/GNOME/gimp/-/raw/master/desktop/gimp.desktop.in.in" +distro_pkg: + alpine: + - "gimp" + archlinux: + aur: + - "gimp-git" + extra: + - "gimp" + debian: + - "gimp" + nixpkgs: + - "gimp" +homepage: + - "https://www.gimp.org" + - "https://gitlab.gnome.org/GNOME/gimp" +icon: + url: "https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/gimp/assets/default.png" +license: + - id: "GPL-3.0" + url: "https://gitlab.gnome.org/GNOME/gimp/-/raw/master/LICENSE?ref_type=heads" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "[DO NOT RUN] (Meant for pkgforge CI Only)" + - "Built Using RunImage [cachyos]. Check/Report @ https://github.com/VHSgunzo/runimage" + - "Learn more @ https://docs.pkgforge.dev/formats/packages/runimage" + - "[PORTABLE] (Works on AnyLinux)" +provides: + - "gimp" +repology: + - "gimp" +src_url: + - "https://aur.archlinux.org/packages/gimp-git" +tag: + - "editor" + - "graphics" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=gimp-git" | sed -n 's/^pkgver=//p' | tr -d '[:space:]' + run: | + #Get BaseImage + curl -qfsSL "https://github.com/pkgforge-dev/runimage-base/releases/download/cachyos_$(uname -m)/runimage" -o "${SBUILD_TMPDIR}/runimage" + chmod -v 'a+x' "${SBUILD_TMPDIR}/runimage" + [[ -s "${SBUILD_TMPDIR}/runimage" ]] || exit 1 + #Deps + build_image() + { + #Requirements + pacman -y --sync --refresh --refresh --sysupgrade --noconfirm + BASE_PKGS=(ffmpeg gdk-pixbuf2 gtk2 harfbuzz libgexiv2 libgudev libheif libjpeg-turbo libmng libmypaint libpng librsvg libtiff libunwind libwebp libwmf libxext libxmu sdl2-compat) + #pacman -S "${BASE_PKGS[@]}" --needed --noconfirm + for pkg in "${BASE_PKGS[@]}"; do pacman -S "${pkg}" --needed --noconfirm 2>/dev/null; done + #Main Package + pacman -Sy "chaotic-aur/gimp-git" --noconfirm + pacman -Ql "gimp-git" + command -v "gimp" >/dev/null 2>&1 || command -v "gimp-3" >/dev/null 2>&1 || exit 1 + [[ -s "/usr/local/bin/gimp" ]] || ln -sfv "$(which gimp-3)" "/usr/local/bin/gimp" + #Debloat & Shrink + pacman -Rsn base-devel --noconfirm 2>/dev/null + pacman -Rsn perl --noconfirm 2>/dev/null + pacman -Rsn python --noconfirm 2>/dev/null + pacman -Scc --noconfirm ; yay -Scc --noconfirm + rim-shrink --all + #Config + echo 'RIM_CMPRS_LVL="${RIM_CMPRS_LVL:=22}"' > "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_BSIZE="${RIM_CMPRS_BSIZE:=24}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_ICONS="${RIM_SHARE_ICONS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_FONTS="${RIM_SHARE_FONTS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_THEMES="${RIM_SHARE_THEMES:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_UPDATE_SHRINK="${RIM_UPDATE_SHRINK:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SYS_NVLIBS="${RIM_SYS_NVLIBS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + #Rebuild [Dwarfs ZSTD 22] + rim-build --bsize '24' --clvl '22' --dwfs "${SBUILD_OUTDIR}/${PKG}" + } + export -f build_image + #Build + RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ + "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } + #Extract Metadata + "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list + HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "gnu.*" + #Desktop + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.desktop" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -name "*.desktop" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" sh -c 'cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.desktop"' + fi + sed '/.*DBusActivatable.*/I d' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed -E 's/\s+setup\s+/ /Ig' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed "s/Icon=[^ ]*/Icon=${PKG}/" -i "${SBUILD_OUTDIR}/${PKG}.desktop" + #Icon + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.png" && ! -s "${SBUILD_OUTDIR}/${PKG}.svg" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -type f,l -regex '.*\.\(png\|svg\)' \ + -not -regex '.*\(favicon\|/\(16x16\|22x22\|24x24\|32x32\|36x36\|48x48\|64x64\|72x72\|96x96\)/\).*' \ + | awk '{print length, $0}' | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + if [[ ! -f "${SBUILD_OUTDIR}/${PKG}.png" || $(stat -c%s "${SBUILD_OUTDIR}/${PKG}.png") -le 3 ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -regex ".*\(128x128/apps\|256x256\)/.*${PKG}.*\.\(png\|svg\)" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + fi + cp -fv "${SBUILD_OUTDIR}/${PKG}.png" "${SBUILD_OUTDIR}/.DirIcon" + fi \ No newline at end of file diff --git a/packages/gimp/runimage.cachyos.stable.yaml b/packages/gimp/runimage.cachyos.stable.yaml new file mode 100644 index 000000000..25778e974 --- /dev/null +++ b/packages/gimp/runimage.cachyos.stable.yaml @@ -0,0 +1,116 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/gimp/runimage.cachyos.stable.yaml +_disabled: false + +pkg: "gimp" +pkg_id: "runimage.cachyos.gimp.stable" +pkg_type: "runimage" +app_id: "org.gimp.GIMP" +category: + - "Graphics" + - "ImageProcessing" +description: "The GNU Image Manipulation Program" +desktop: + url: "https://gitlab.gnome.org/GNOME/gimp/-/raw/master/desktop/gimp.desktop.in.in" +distro_pkg: + alpine: + - "gimp" + archlinux: + aur: + - "gimp-git" + extra: + - "gimp" + debian: + - "gimp" + nixpkgs: + - "gimp" +homepage: + - "https://www.gimp.org" + - "https://gitlab.gnome.org/GNOME/gimp" +icon: + url: "https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/gimp/assets/default.png" +license: + - id: "GPL-3.0" + url: "https://gitlab.gnome.org/GNOME/gimp/-/raw/master/LICENSE?ref_type=heads" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "[DO NOT RUN] (Meant for pkgforge CI Only)" + - "Built Using RunImage [cachyos]. Check/Report @ https://github.com/VHSgunzo/runimage" + - "Learn more @ https://docs.pkgforge.dev/formats/packages/runimage" + - "[PORTABLE] (Works on AnyLinux)" +provides: + - "gimp" +repology: + - "gimp" +src_url: + - "https://archlinux.org/packages/extra/x86_64/gimp/" +tag: + - "editor" + - "graphics" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://gitlab.archlinux.org/archlinux/packaging/packages/gimp/-/raw/main/PKGBUILD?ref_type=heads" | sed -n 's/^pkgver=//p' | tr -d '[:space:]' + run: | + #Get BaseImage + curl -qfsSL "https://github.com/pkgforge-dev/runimage-base/releases/download/cachyos_$(uname -m)/runimage" -o "${SBUILD_TMPDIR}/runimage" + chmod -v 'a+x' "${SBUILD_TMPDIR}/runimage" + [[ -s "${SBUILD_TMPDIR}/runimage" ]] || exit 1 + #Deps + build_image() + { + #Requirements + pacman -y --sync --refresh --refresh --sysupgrade --noconfirm + #BASE_PKGS=(libunwind) + #pacman -S "${BASE_PKGS[@]}" --needed --noconfirm + #for pkg in "${BASE_PKGS[@]}"; do pacman -S "${pkg}" --needed --noconfirm 2>/dev/null; done + #Main Package + pacman -Sy "gimp" --noconfirm + pacman -Ql "gimp" + command -v "gimp" >/dev/null 2>&1 || command -v "gimp-3" >/dev/null 2>&1 || exit 1 + [[ -s "/usr/local/bin/gimp" ]] || ln -sfv "$(which gimp-3)" "/usr/local/bin/gimp" + #Debloat & Shrink + pacman -Rsn base-devel --noconfirm 2>/dev/null + pacman -Rsn perl --noconfirm 2>/dev/null + pacman -Rsn python --noconfirm 2>/dev/null + pacman -Scc --noconfirm ; yay -Scc --noconfirm + rim-shrink --all + #Config + echo 'RIM_CMPRS_LVL="${RIM_CMPRS_LVL:=22}"' > "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_BSIZE="${RIM_CMPRS_BSIZE:=24}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_ICONS="${RIM_SHARE_ICONS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_FONTS="${RIM_SHARE_FONTS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_THEMES="${RIM_SHARE_THEMES:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_UPDATE_SHRINK="${RIM_UPDATE_SHRINK:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SYS_NVLIBS="${RIM_SYS_NVLIBS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + #Rebuild [Dwarfs ZSTD 22] + rim-build --bsize '24' --clvl '22' --dwfs "${SBUILD_OUTDIR}/${PKG}" + } + export -f build_image + #Build + RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ + "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } + #Extract Metadata + "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list + HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "gnu.*" + #Desktop + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.desktop" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -name "*.desktop" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" sh -c 'cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.desktop"' + fi + sed '/.*DBusActivatable.*/I d' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed -E 's/\s+setup\s+/ /Ig' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed "s/Icon=[^ ]*/Icon=${PKG}/" -i "${SBUILD_OUTDIR}/${PKG}.desktop" + #Icon + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.png" && ! -s "${SBUILD_OUTDIR}/${PKG}.svg" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -type f,l -regex '.*\.\(png\|svg\)' \ + -not -regex '.*\(favicon\|/\(16x16\|22x22\|24x24\|32x32\|36x36\|48x48\|64x64\|72x72\|96x96\)/\).*' \ + | awk '{print length, $0}' | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + if [[ ! -f "${SBUILD_OUTDIR}/${PKG}.png" || $(stat -c%s "${SBUILD_OUTDIR}/${PKG}.png") -le 3 ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -regex ".*\(128x128/apps\|256x256\)/.*${PKG}.*\.\(png\|svg\)" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + fi + cp -fv "${SBUILD_OUTDIR}/${PKG}.png" "${SBUILD_OUTDIR}/.DirIcon" + fi \ No newline at end of file diff --git a/packages/git/runimage.alpine.stable.yaml b/packages/git/runimage.alpine.stable.yaml index dae5363eb..f7bcc7163 100644 --- a/packages/git/runimage.alpine.stable.yaml +++ b/packages/git/runimage.alpine.stable.yaml @@ -253,4 +253,5 @@ x_exec: export -f build_image #Build RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ - "${SBUILD_TMPDIR}/runimage" bash -c "build_image" \ No newline at end of file + "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } \ No newline at end of file diff --git a/packages/gnome-boxes/appimage.ivan-hc.stable.yaml.disabled b/packages/gnome-boxes/appimage.ivan-hc.stable.yaml similarity index 51% rename from packages/gnome-boxes/appimage.ivan-hc.stable.yaml.disabled rename to packages/gnome-boxes/appimage.ivan-hc.stable.yaml index f7a6c2025..c0f1d2170 100644 --- a/packages/gnome-boxes/appimage.ivan-hc.stable.yaml.disabled +++ b/packages/gnome-boxes/appimage.ivan-hc.stable.yaml @@ -12,7 +12,7 @@ app_id: "org.gnome.Boxes" category: - "Emulator" - "Monitor" -description: "Simple GNOME application to access remote or virtual systems" +description: "View, access, and manage Remote/Virtual systems" distro_pkg: alpine: - "gnome-boxes" @@ -28,23 +28,29 @@ distro_pkg: homepage: - "https://apps.gnome.org/Boxes/" - "https://gitlab.gnome.org/GNOME/gnome-boxes" - - "https://github.com/ivan-hc/Boxes-appimage" maintainer: - "Azathothas (https://github.com/Azathothas)" note: - - "Pre Built AppImage Fetched from Upstream. Check/Report @ https://github.com/ivan-hc/Boxes-appimage" + - "Fetched from Pre Built Community Created AppImage. Check/Report @ https://github.com/ivan-hc/Boxes-appimage" +provides: + - "gnome-boxes" repology: - "gnome-boxes" src_url: - "https://github.com/ivan-hc/Boxes-appimage" tag: - - "Applications/Emulators" - - "Graphical" - - "System/GUI/GNOME" + - "editor" + - "graphics" x_exec: shell: "bash" pkgver: | - curl -qfsSL "https://gitlab.archlinux.org/archlinux/packaging/packages/gnome-boxes/-/raw/main/PKGBUILD" | sed -n 's/^pkgver=//p' | tr -d '[:space:]' + #curl -qfsSL "https://gitlab.archlinux.org/archlinux/packaging/packages/gnome-boxes/-/raw/main/PKGBUILD" | sed -n 's/^pkgver=//p' | tr -d '[:space:]' + curl -qfsSL "https://api.gh.pkgforge.dev/repos/ivan-hc/Boxes-appimage/releases?per_page=100" | \ + jq -r '[.[] | select(.draft == false and (.tag_name | test("continuous")))] | .[0].assets[].browser_download_url' | \ + sed -E 's/(x86_64|aarch64)//' | tr -d '[:alpha:]' | \ + sed 's/^[^0-9]*//; s/[^0-9]*$//' | \ + awk -F'[-]' '{print $1}' | \ + sort --version-sort | tail -n 1 | tr -d '[:space:]' run: | #Download case "$(uname -m)" in @@ -53,6 +59,6 @@ x_exec: exit 1 ;; x86_64) - soar dl "https://github.com/ivan-hc/Boxes-appimage" --match "appimage" --exclude "aarch64,arm,zsync" -o "./${PKG}" --yes + soar dl "https://github.com/ivan-hc/Boxes-appimage@continuous" --match "appimage" --exclude "aarch64,arm,zsync" -o "./${PKG}" --yes ;; esac \ No newline at end of file diff --git a/packages/gnome-boxes/appimage.stable.yaml.disabled b/packages/gnome-boxes/appimage.stable.yaml.disabled deleted file mode 100644 index cddcfa2b9..000000000 --- a/packages/gnome-boxes/appimage.stable.yaml.disabled +++ /dev/null @@ -1,84 +0,0 @@ -#!/SBUILD -_disabled: false - -pkg: "gnome-boxes" -pkg_id: "github.com.ivan-hc.Boxes-appimage" -pkg_type: "appimage" -app_id: "github.com.ivan-hc.Boxes-appimage" -#build_util: -# - "curl#bin" -# - "jq#bin" -category: - - "Utility" -description: "Unofficial GNOME Boxes AppImage built on top of Conty (Arch Linux)." -distro_pkg: - alpine: - - "gnome-boxes" - archlinux: - aur: - - "gnome-boxes-git" - extra: - - "gnome-boxes" - debian: - - "gnome-boxes" - nixpkgs: - - "gnome-boxes" - - "gnome.gnome-boxes" -homepage: - - "https://apps.gnome.org/Boxes" - - "https://apps.gnome.org/app/org.gnome.Boxes" - - "https://download.gnome.org/sources/gnome-boxes" - - "https://gitlab.gnome.org/GNOME/gnome-boxes" - - "https://gnomeboxes.org" - - "https://live.gnome.org/Boxes" - - "https://live.gnome.org/Design/Apps/Boxes" - - "https://wiki.gnome.org/Apps/Boxes" - - "https://wiki.gnome.org/Boxes" - - "https://wiki.gnome.org/Design/Apps/Boxes" - - "https://www.gnome.org" -maintainer: - - "Azathothas (https://github.com/Azathothas)" -license: - - "CC-BY-2.0" - - "GNU Library General Public License, version 2.0" - - "GPL-2.0-only" - - "GPLv2+" - - "LGPL" - - "LGPL-2+" - - "LGPL-2.0" - - "LGPL-2.0+" - - "LGPL-2.0-or-later" - - "LGPL-2.0-or-later AND CC0-1.0 AND CC-BY-SA-3.0" - - "LGPLv2+" - - "LGPLv3+" -src_url: - - "https://github.com/ivan-hc/Boxes-appimage" -tag: - - "Applications/Emulators" - - "Emulators" - - "Graphical" - - "System/GUI/GNOME" - - "app-virtualization" - - "debug" - - "desktop" - - "extra/shell" - - "gnome" - - "gnome-extra" - - "programming.devel" - - "universe/gnome" - - "virt" -x_exec: - shell: "bash" - pkgver: | - curl -qfsSL "https://api.gh.pkgforge.dev/repos/ivan-hc/Boxes-appimage/releases/latest?per_page=100" | jq -r '.. | objects | .browser_download_url? // empty' | sed -E 's/(x86_64|aarch64)//' | tr -d '[:alpha:]' | sed 's/^[^0-9]*//; s/[^0-9]*$//' | sort --version-sort | tail -n 1 | tr -d '[:space:]' - run: | - #Download - case "$(uname -m)" in - aarch64) - echo -e "\n[✗] aarch64 is Not Yet Supported\n" - exit 1 - ;; - x86_64) - soar dl "https://github.com/ivan-hc/Boxes-appimage@${PKGVER}" --match "appimage" --exclude "aarch64,arm,zsync" -o "./${PKG}" --yes - ;; - esac diff --git a/packages/gnome-boxes/assets/gnome-boxes.png b/packages/gnome-boxes/assets/gnome-boxes.png deleted file mode 100644 index efbcbcb8b..000000000 Binary files a/packages/gnome-boxes/assets/gnome-boxes.png and /dev/null differ diff --git a/packages/gnome-boxes/runimage.cachyos.stable.yaml b/packages/gnome-boxes/runimage.cachyos.stable.yaml new file mode 100644 index 000000000..96ba084d1 --- /dev/null +++ b/packages/gnome-boxes/runimage.cachyos.stable.yaml @@ -0,0 +1,118 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/gnome-boxes/runimage.cachyos.stable.yaml +_disabled: false + +pkg: "gnome-boxes" +pkg_id: "runimage.cachyos.gnome-boxes.stable" +pkg_type: "runimage" +app_id: "org.gnome.Boxes" +category: + - "Emulator" + - "Monitor" +description: "View, access, and manage Remote/Virtual systems" +desktop: + url: "https://gitlab.gnome.org/GNOME/gnome-boxes/-/raw/main/data/org.gnome.Boxes.desktop.in" +distro_pkg: + alpine: + - "gnome-boxes" + archlinux: + aur: + - "gnome-boxes-git" + extra: + - "gnome-boxes" + debian: + - "gnome-boxes" + gnuguix: + - "gnome-boxes" + nixpkgs: + - "gnome-boxes" + - "gnome.gnome-boxes" +homepage: + - "https://apps.gnome.org/Boxes" + - "https://gitlab.gnome.org/GNOME/gnome-boxes" +icon: + url: "https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/gnome-boxes/assets/default.png" +license: + - id: "GPL-2.0" + url: "https://gitlab.gnome.org/GNOME/gnome-boxes/-/raw/main/COPYING?ref_type=heads" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "[DO NOT RUN] (Meant for pkgforge CI Only)" + - "Built Using RunImage [cachyos]. Check/Report @ https://github.com/VHSgunzo/runimage" + - "Learn more @ https://docs.pkgforge.dev/formats/packages/runimage" + - "[PORTABLE] (Works on AnyLinux)" +provides: + - "gnome-boxes" +repology: + - "gnome-boxes" +src_url: + - "https://archlinux.org/packages/extra/x86_64/gnome-boxes/" +tag: + - "emulator" + - "virtual-machine" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://gitlab.archlinux.org/archlinux/packaging/packages/gnome-boxes/-/raw/main/PKGBUILD?ref_type=heads" | sed -n 's/^pkgver=//p' | tr -d '[:space:]' + run: | + #Get BaseImage + curl -qfsSL "https://github.com/pkgforge-dev/runimage-base/releases/download/cachyos_$(uname -m)/runimage" -o "${SBUILD_TMPDIR}/runimage" + chmod -v 'a+x' "${SBUILD_TMPDIR}/runimage" + [[ -s "${SBUILD_TMPDIR}/runimage" ]] || exit 1 + #Deps + build_image() + { + #Requirements + pacman -y --sync --refresh --refresh --sysupgrade --noconfirm + #BASE_PKGS=(libunwind) + #pacman -S "${BASE_PKGS[@]}" --needed --noconfirm + #for pkg in "${BASE_PKGS[@]}"; do pacman -S "${pkg}" --needed --noconfirm 2>/dev/null; done + #Main Package + pacman -Sy "gnome-boxes" --noconfirm + pacman -Ql "gnome-boxes" + command -v "gnome-boxes" >/dev/null 2>&1 || exit 1 + #Debloat & Shrink + pacman -Rsn base-devel --noconfirm 2>/dev/null + pacman -Rsn perl --noconfirm 2>/dev/null + pacman -Rsn python --noconfirm 2>/dev/null + pacman -Scc --noconfirm ; yay -Scc --noconfirm + rim-shrink --all + #Config + echo 'RIM_CMPRS_LVL="${RIM_CMPRS_LVL:=22}"' > "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_BSIZE="${RIM_CMPRS_BSIZE:=24}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_ICONS="${RIM_SHARE_ICONS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_FONTS="${RIM_SHARE_FONTS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_THEMES="${RIM_SHARE_THEMES:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_UPDATE_SHRINK="${RIM_UPDATE_SHRINK:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SYS_NVLIBS="${RIM_SYS_NVLIBS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + #Rebuild [Dwarfs ZSTD 22] + rim-build --bsize '24' --clvl '22' --dwfs "${SBUILD_OUTDIR}/${PKG}" + } + export -f build_image + #Build + RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ + "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } + #Extract Metadata + "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list + HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "box.*" + #Desktop + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.desktop" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -name "*.desktop" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" sh -c 'cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.desktop"' + fi + sed '/.*DBusActivatable.*/I d' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed -E 's/\s+setup\s+/ /Ig' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed "s/Icon=[^ ]*/Icon=${PKG}/" -i "${SBUILD_OUTDIR}/${PKG}.desktop" + #Icon + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.png" && ! -s "${SBUILD_OUTDIR}/${PKG}.svg" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -type f,l -regex '.*\.\(png\|svg\)' \ + -not -regex '.*\(favicon\|/\(16x16\|22x22\|24x24\|32x32\|36x36\|48x48\|64x64\|72x72\|96x96\)/\).*' \ + | awk '{print length, $0}' | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + if [[ ! -f "${SBUILD_OUTDIR}/${PKG}.png" || $(stat -c%s "${SBUILD_OUTDIR}/${PKG}.png") -le 3 ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -regex ".*\(128x128/apps\|256x256\)/.*${PKG}.*\.\(png\|svg\)" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + fi + cp -fv "${SBUILD_OUTDIR}/${PKG}.png" "${SBUILD_OUTDIR}/.DirIcon" + fi \ No newline at end of file diff --git a/packages/goverlay/appimage.official.beta.yaml b/packages/goverlay/appimage.official.beta.yaml new file mode 100644 index 000000000..f43601b3f --- /dev/null +++ b/packages/goverlay/appimage.official.beta.yaml @@ -0,0 +1,64 @@ +#!/SBUILD +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/goverlay/appimage.official.beta.yaml +_disabled: false + +pkg: "goverlay" +pkg_id: "github.com.benjamimgois.goverlay.beta" +pkg_type: "appimage" +app_id: "io.github.benjamimgois" +#build_util: +# - "curl#bin" +# - "jq#bin" +category: + - "Utility" +description: "GUI for configuring Vulkan/OpenGL overlays (beta)" +distro_pkg: + alpine: + - "goverlay" + archlinux: + aur: + - "goverlay-git" + extra: + - "goverlay" + debian: + - "goverlay" + nixpkgs: + - "goverlay" +homepage: + - "https://github.com/benjamimgois/goverlay" +license: + - id: "GPL-3.0" + url: "https://gitlab.gnome.org/GNOME/goverlay/-/raw/master/LICENSE?ref_type=heads" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "Pre Built AppImage Fetched from Upstream. Check/Report @ https://github.com/benjamimgois/goverlay" +provides: + - "goverlay" +repology: + - "goverlay" +src_url: + - "https://github.com/benjamimgois/goverlay" +tag: + - "mangohud" + - "overlay" + - "replaysorcery" + - "replay-sorcery" + - "vkbasalt" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://api.gh.pkgforge.dev/repos/benjamimgois/goverlay/releases?per_page=100" | jq -r '[.[] | select(.draft == false and .prerelease == false)] | .[0].tag_name | gsub("\\s+"; "")' | tr -d '[:space:]' + run: | + #Download + case "$(uname -m)" in + aarch64) + echo -e "\n[✗] aarch64 is Not Yet Supported\n" + exit 1 + ;; + x86_64) + soar dl "https://github.com/benjamimgois/goverlay@${PKGVER}" --match "appimage,beta" --exclude "aarch64,arm,zsync,beta2" -o "./${PKG}" --yes + ;; + esac \ No newline at end of file diff --git a/packages/goverlay/appimage.stable.yaml.disabled b/packages/goverlay/appimage.official.beta2.yaml similarity index 51% rename from packages/goverlay/appimage.stable.yaml.disabled rename to packages/goverlay/appimage.official.beta2.yaml index 293308619..9bbb75416 100644 --- a/packages/goverlay/appimage.stable.yaml.disabled +++ b/packages/goverlay/appimage.official.beta2.yaml @@ -1,17 +1,20 @@ #!/SBUILD +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/goverlay/appimage.official.beta2.yaml _disabled: false pkg: "goverlay" -pkg_id: "github.com.benjamimgois.goverlay" +pkg_id: "github.com.benjamimgois.goverlay.beta2" pkg_type: "appimage" -app_id: "github.com.benjamimgois.goverlay" +app_id: "io.github.benjamimgois" #build_util: # - "curl#bin" # - "jq#bin" category: - "Utility" -description: "GOverlay is an opensource project that aims to create a Graphical UI to help manage Linux overlays." +description: "GUI for configuring Vulkan/OpenGL overlays (beta2)" distro_pkg: + alpine: + - "goverlay" archlinux: aur: - "goverlay-git" @@ -23,24 +26,28 @@ distro_pkg: - "goverlay" homepage: - "https://github.com/benjamimgois/goverlay" +license: + - id: "GPL-3.0" + url: "https://gitlab.gnome.org/GNOME/goverlay/-/raw/master/LICENSE?ref_type=heads" maintainer: - "Azathothas (https://github.com/Azathothas)" -license: - - "GPL-3.0-only" - - "GPL-3.0-or-later" - - "GPLv3" - - "GPLv3+" +note: + - "Pre Built AppImage Fetched from Upstream. Check/Report @ https://github.com/benjamimgois/goverlay" +provides: + - "goverlay" +repology: + - "goverlay" src_url: - "https://github.com/benjamimgois/goverlay" tag: - - "Graphics" - - "Graphics/Utilities" - - "System/Configuration/Hardware" - - "debug" - - "games" - - "system.utils" - - "utils" + - "mangohud" + - "overlay" + - "replaysorcery" + - "replay-sorcery" + - "vkbasalt" x_exec: + host: + - "x86_64-Linux" shell: "bash" pkgver: | curl -qfsSL "https://api.gh.pkgforge.dev/repos/benjamimgois/goverlay/releases?per_page=100" | jq -r '[.[] | select(.draft == false and .prerelease == false)] | .[0].tag_name | gsub("\\s+"; "")' | tr -d '[:space:]' @@ -52,6 +59,6 @@ x_exec: exit 1 ;; x86_64) - soar dl "https://github.com/benjamimgois/goverlay" --match "appimage" --exclude "aarch64,arm,zsync" -o "./${PKG}" --yes + soar dl "https://github.com/benjamimgois/goverlay@${PKGVER}" --match "appimage,beta2" --exclude "aarch64,arm,zsync" -o "./${PKG}" --yes ;; - esac + esac \ No newline at end of file diff --git a/packages/goverlay/assets/default.png b/packages/goverlay/assets/default.png new file mode 100644 index 000000000..0bfa51603 Binary files /dev/null and b/packages/goverlay/assets/default.png differ diff --git a/packages/goverlay/runimage.cachyos.git.yaml b/packages/goverlay/runimage.cachyos.git.yaml new file mode 100644 index 000000000..ecdcc5a19 --- /dev/null +++ b/packages/goverlay/runimage.cachyos.git.yaml @@ -0,0 +1,117 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/goverlay/runimage.cachyos.git.yaml +_disabled: false + +pkg: "goverlay" +pkg_id: "runimage.cachyos.goverlay.git" +pkg_type: "runimage" +app_id: "io.github.benjamimgois" +category: + - "Utility" +description: "GUI for configuring Vulkan/OpenGL overlays (Git)" +desktop: + url: "https://raw.githubusercontent.com/benjamimgois/goverlay/refs/heads/main/data/io.github.benjamimgois.goverlay.desktop" +distro_pkg: + archlinux: + aur: + - "goverlay-git" + extra: + - "goverlay" + debian: + - "goverlay" + nixpkgs: + - "goverlay" +homepage: + - "https://www.goverlay.org" + - "https://gitlab.gnome.org/GNOME/goverlay" +icon: + url: "https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/goverlay/assets/default.png" +license: + - id: "GPL-3.0" + url: "https://github.com/benjamimgois/goverlay/raw/514d63db928c985934578cac1cfa5840c7a26494/LICENSE" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "[DO NOT RUN] (Meant for pkgforge CI Only)" + - "Built Using RunImage [cachyos]. Check/Report @ https://github.com/VHSgunzo/runimage" + - "Learn more @ https://docs.pkgforge.dev/formats/packages/runimage" + - "[PORTABLE] (Works on AnyLinux)" +provides: + - "goverlay" +repology: + - "goverlay" +src_url: + - "https://aur.archlinux.org/packages/goverlay-git" +tag: + - "mangohud" + - "overlay" + - "replaysorcery" + - "replay-sorcery" + - "vkbasalt" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=goverlay-git" | sed -n 's/^pkgver=//p' | tr -d '[:space:]' + run: | + #Get BaseImage + curl -qfsSL "https://github.com/pkgforge-dev/runimage-base/releases/download/cachyos_$(uname -m)/runimage" -o "${SBUILD_TMPDIR}/runimage" + chmod -v 'a+x' "${SBUILD_TMPDIR}/runimage" + [[ -s "${SBUILD_TMPDIR}/runimage" ]] || exit 1 + #Deps + build_image() + { + #Requirements + pacman -y --sync --refresh --refresh --sysupgrade --noconfirm + BASE_PKGS=(glu mangohud mesa-utils qt6pas vkbasalt vulkan-tools) + #pacman -S "${BASE_PKGS[@]}" --needed --noconfirm + for pkg in "${BASE_PKGS[@]}"; do pacman -S "${pkg}" --needed --noconfirm 2>/dev/null; done + #Main Package + pacman -Sy "chaotic-aur/goverlay-git" --noconfirm + pacman -Ql "goverlay-git" + command -v "goverlay" >/dev/null 2>&1 || exit 1 + #Debloat & Shrink + pacman -Rsn base-devel --noconfirm 2>/dev/null + pacman -Rsn perl --noconfirm 2>/dev/null + pacman -Rsn python --noconfirm 2>/dev/null + pacman -Scc --noconfirm ; yay -Scc --noconfirm + rim-shrink --all + #Config + echo 'RIM_CMPRS_LVL="${RIM_CMPRS_LVL:=22}"' > "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_BSIZE="${RIM_CMPRS_BSIZE:=24}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_ICONS="${RIM_SHARE_ICONS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_FONTS="${RIM_SHARE_FONTS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_THEMES="${RIM_SHARE_THEMES:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_UPDATE_SHRINK="${RIM_UPDATE_SHRINK:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SYS_NVLIBS="${RIM_SYS_NVLIBS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + #Rebuild [Dwarfs ZSTD 22] + rim-build --bsize '24' --clvl '22' --dwfs "${SBUILD_OUTDIR}/${PKG}" + } + export -f build_image + #Build + RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ + "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } + #Extract Metadata + "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list + HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "goverlay.*" + #Desktop + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.desktop" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -name "*.desktop" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" sh -c 'cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.desktop"' + fi + sed '/.*DBusActivatable.*/I d' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed -E 's/\s+setup\s+/ /Ig' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed "s/Icon=[^ ]*/Icon=${PKG}/" -i "${SBUILD_OUTDIR}/${PKG}.desktop" + #Icon + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.png" && ! -s "${SBUILD_OUTDIR}/${PKG}.svg" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -type f,l -regex '.*\.\(png\|svg\)' \ + -not -regex '.*\(favicon\|/\(16x16\|22x22\|24x24\|32x32\|36x36\|48x48\|64x64\|72x72\|96x96\)/\).*' \ + | awk '{print length, $0}' | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + if [[ ! -f "${SBUILD_OUTDIR}/${PKG}.png" || $(stat -c%s "${SBUILD_OUTDIR}/${PKG}.png") -le 3 ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -regex ".*\(128x128/apps\|256x256\)/.*${PKG}.*\.\(png\|svg\)" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + fi + cp -fv "${SBUILD_OUTDIR}/${PKG}.png" "${SBUILD_OUTDIR}/.DirIcon" + fi + #Appstream + curl -qfsSL "https://raw.githubusercontent.com/benjamimgois/goverlay/refs/heads/main/data/io.github.benjamimgois.goverlay.metainfo.xml" -o "${SBUILD_OUTDIR}/${PKG}.metainfo.xml" \ No newline at end of file diff --git a/packages/goverlay/runimage.cachyos.stable.yaml b/packages/goverlay/runimage.cachyos.stable.yaml new file mode 100644 index 000000000..65a7b293c --- /dev/null +++ b/packages/goverlay/runimage.cachyos.stable.yaml @@ -0,0 +1,119 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/goverlay/runimage.cachyos.stable.yaml +_disabled: false + +pkg: "goverlay" +pkg_id: "runimage.cachyos.goverlay.stable" +pkg_type: "runimage" +app_id: "io.github.benjamimgois" +category: + - "Utility" +description: "GUI for configuring Vulkan/OpenGL overlays" +desktop: + url: "https://gitlab.gnome.org/GNOME/goverlay/-/raw/master/desktop/goverlay.desktop.in.in" +distro_pkg: + alpine: + - "goverlay" + archlinux: + aur: + - "goverlay-git" + extra: + - "goverlay" + debian: + - "goverlay" + nixpkgs: + - "goverlay" +homepage: + - "https://www.goverlay.org" + - "https://gitlab.gnome.org/GNOME/goverlay" +icon: + url: "https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/goverlay/assets/default.png" +license: + - id: "GPL-3.0" + url: "https://gitlab.gnome.org/GNOME/goverlay/-/raw/master/LICENSE?ref_type=heads" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "[DO NOT RUN] (Meant for pkgforge CI Only)" + - "Built Using RunImage [cachyos]. Check/Report @ https://github.com/VHSgunzo/runimage" + - "Learn more @ https://docs.pkgforge.dev/formats/packages/runimage" + - "[PORTABLE] (Works on AnyLinux)" +provides: + - "goverlay" +repology: + - "goverlay" +src_url: + - "https://archlinux.org/packages/extra/x86_64/goverlay/" +tag: + - "mangohud" + - "overlay" + - "replaysorcery" + - "replay-sorcery" + - "vkbasalt" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://gitlab.archlinux.org/archlinux/packaging/packages/goverlay/-/raw/main/PKGBUILD?ref_type=heads" | sed -n 's/^pkgver=//p' | tr -d '[:space:]' + run: | + #Get BaseImage + curl -qfsSL "https://github.com/pkgforge-dev/runimage-base/releases/download/cachyos_$(uname -m)/runimage" -o "${SBUILD_TMPDIR}/runimage" + chmod -v 'a+x' "${SBUILD_TMPDIR}/runimage" + [[ -s "${SBUILD_TMPDIR}/runimage" ]] || exit 1 + #Deps + build_image() + { + #Requirements + pacman -y --sync --refresh --refresh --sysupgrade --noconfirm + #BASE_PKGS=(libunwind) + #pacman -S "${BASE_PKGS[@]}" --needed --noconfirm + #for pkg in "${BASE_PKGS[@]}"; do pacman -S "${pkg}" --needed --noconfirm 2>/dev/null; done + #Main Package + pacman -Sy "goverlay" --noconfirm + pacman -Ql "goverlay" + command -v "goverlay" >/dev/null 2>&1 || exit 1 + #Debloat & Shrink + pacman -Rsn base-devel --noconfirm 2>/dev/null + pacman -Rsn perl --noconfirm 2>/dev/null + pacman -Rsn python --noconfirm 2>/dev/null + pacman -Scc --noconfirm ; yay -Scc --noconfirm + rim-shrink --all + #Config + echo 'RIM_CMPRS_LVL="${RIM_CMPRS_LVL:=22}"' > "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_BSIZE="${RIM_CMPRS_BSIZE:=24}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_ICONS="${RIM_SHARE_ICONS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_FONTS="${RIM_SHARE_FONTS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_THEMES="${RIM_SHARE_THEMES:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_UPDATE_SHRINK="${RIM_UPDATE_SHRINK:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SYS_NVLIBS="${RIM_SYS_NVLIBS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + #Rebuild [Dwarfs ZSTD 22] + rim-build --bsize '24' --clvl '22' --dwfs "${SBUILD_OUTDIR}/${PKG}" + } + export -f build_image + #Build + RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ + "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } + #Extract Metadata + "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list + HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "gnu.*" + #Desktop + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.desktop" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -name "*.desktop" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" sh -c 'cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.desktop"' + fi + sed '/.*DBusActivatable.*/I d' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed -E 's/\s+setup\s+/ /Ig' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed "s/Icon=[^ ]*/Icon=${PKG}/" -i "${SBUILD_OUTDIR}/${PKG}.desktop" + #Icon + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.png" && ! -s "${SBUILD_OUTDIR}/${PKG}.svg" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -type f,l -regex '.*\.\(png\|svg\)' \ + -not -regex '.*\(favicon\|/\(16x16\|22x22\|24x24\|32x32\|36x36\|48x48\|64x64\|72x72\|96x96\)/\).*' \ + | awk '{print length, $0}' | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + if [[ ! -f "${SBUILD_OUTDIR}/${PKG}.png" || $(stat -c%s "${SBUILD_OUTDIR}/${PKG}.png") -le 3 ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -regex ".*\(128x128/apps\|256x256\)/.*${PKG}.*\.\(png\|svg\)" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + fi + cp -fv "${SBUILD_OUTDIR}/${PKG}.png" "${SBUILD_OUTDIR}/.DirIcon" + fi + #Appstream + curl -qfsSL "https://raw.githubusercontent.com/benjamimgois/goverlay/refs/heads/main/data/io.github.benjamimgois.goverlay.metainfo.xml" -o "${SBUILD_OUTDIR}/${PKG}.metainfo.xml" \ No newline at end of file diff --git a/packages/gpt4all/assets/default.png b/packages/gpt4all/assets/default.png new file mode 100644 index 000000000..26ae73dcc Binary files /dev/null and b/packages/gpt4all/assets/default.png differ diff --git a/packages/gpt4all/assets/default.svg b/packages/gpt4all/assets/default.svg new file mode 100644 index 000000000..e0e77485c --- /dev/null +++ b/packages/gpt4all/assets/default.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/gpt4all/runimage.cachyos.git.yaml b/packages/gpt4all/runimage.cachyos.git.yaml new file mode 100644 index 000000000..5d70a35d6 --- /dev/null +++ b/packages/gpt4all/runimage.cachyos.git.yaml @@ -0,0 +1,117 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/gpt4all/runimage.cachyos.git.yaml +_disabled: false + +pkg: "gpt4all" +pkg_id: "runimage.cachyos.gpt4all.git" +pkg_type: "runimage" +app_id: "io.gpt4all.gpt4all" +category: + - "Utility" +description: "Free-to-use, locally running, privacy-aware chatbot (Git)" +desktop: + url: "https://raw.githubusercontent.com/nomic-ai/gpt4all/refs/heads/main/gpt4all-chat/flatpak-manifest/io.gpt4all.gpt4all.desktop" +distro_pkg: + archlinux: + aur: + - "gpt4all-chat" + - "gpt4all-chat-git" + homebrew: + - "gpt4all" + nixpkgs: + - "gpt4all" + - "gpt4all-cuda" +homepage: + - "https://nomic.ai/gpt4all" + - "https://github.com/nomic-ai/gpt4all" +icon: + url: "https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/gpt4all/assets/default.png" + #url: "https://github.com/nomic-ai/gpt4all/raw/refs/heads/main/gpt4all-chat/icons/gpt4all.svg" +license: + - id: "MIT" + url: "https://github.com/nomic-ai/gpt4all/raw/6bfa0145940d04090299e997ade51594f87d8d46/LICENSE.txt" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "[DO NOT RUN] (Meant for pkgforge CI Only)" + - "Built Using RunImage [cachyos]. Check/Report @ https://github.com/VHSgunzo/runimage" + - "Learn more @ https://docs.pkgforge.dev/formats/packages/runimage" + - "[PORTABLE] (Works on AnyLinux)" +provides: + - "gpt4all" +repology: + - "gpt4all" + - "gpt4all-chat" +src_url: + - "https://aur.archlinux.org/packages/gpt4all-chat-git" +tag: + - "chat" + - "llm" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=gpt4all-chat-git" | sed -n 's/^pkgver=//p' | tr -d '[:space:]' + run: | + #Get BaseImage + curl -qfsSL "https://github.com/pkgforge-dev/runimage-base/releases/download/cachyos_$(uname -m)/runimage" -o "${SBUILD_TMPDIR}/runimage" + chmod -v 'a+x' "${SBUILD_TMPDIR}/runimage" + [[ -s "${SBUILD_TMPDIR}/runimage" ]] || exit 1 + #Deps + build_image() + { + #Requirements + pacman -y --sync --refresh --refresh --sysupgrade --noconfirm + BASE_PKGS=(glibc qt6-base qt6-5compat qt6-declarative qt6-httpserver qt6-shadertools qt6-svg qt6-wayland qt6-webengine) + #pacman -S "${BASE_PKGS[@]}" --needed --noconfirm + for pkg in "${BASE_PKGS[@]}"; do pacman -S "${pkg}" --needed --noconfirm 2>/dev/null; done + #Main Package + pacman -Sy "chaotic-aur/gpt4all-chat-git" --noconfirm + pacman -Ql "gpt4all-chat-git" + command -v "gpt4all" >/dev/null 2>&1 || command -v "gpt4all-chat" >/dev/null 2>&1 || exit 1 + [[ -s "/usr/local/bin/gpt4all" ]] || ln -sfv "$(which gpt4all-chat)" "/usr/local/bin/gpt4all" + #Debloat & Shrink + pacman -Rsn base-devel --noconfirm 2>/dev/null + pacman -Rsn perl --noconfirm 2>/dev/null + pacman -Rsn python --noconfirm 2>/dev/null + pacman -Scc --noconfirm ; yay -Scc --noconfirm + rim-shrink --all + #Config + echo 'RIM_CMPRS_LVL="${RIM_CMPRS_LVL:=22}"' > "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_BSIZE="${RIM_CMPRS_BSIZE:=24}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_ICONS="${RIM_SHARE_ICONS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_FONTS="${RIM_SHARE_FONTS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_THEMES="${RIM_SHARE_THEMES:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_UPDATE_SHRINK="${RIM_UPDATE_SHRINK:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SYS_NVLIBS="${RIM_SYS_NVLIBS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + #Rebuild [Dwarfs ZSTD 22] + rim-build --bsize '24' --clvl '22' --dwfs "${SBUILD_OUTDIR}/${PKG}" + } + export -f build_image + #Build + RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ + "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } + #Extract Metadata + "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list + HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "gpt4all.*" + #Desktop + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.desktop" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -name "*.desktop" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" sh -c 'cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.desktop"' + fi + sed '/.*DBusActivatable.*/I d' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed -E 's/\s+setup\s+/ /Ig' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed "s/Icon=[^ ]*/Icon=${PKG}/" -i "${SBUILD_OUTDIR}/${PKG}.desktop" + #Icon + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.png" && ! -s "${SBUILD_OUTDIR}/${PKG}.svg" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -type f,l -regex '.*\.\(png\|svg\)' \ + -not -regex '.*\(favicon\|/\(16x16\|22x22\|24x24\|32x32\|36x36\|48x48\|64x64\|72x72\|96x96\)/\).*' \ + | awk '{print length, $0}' | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + if [[ ! -f "${SBUILD_OUTDIR}/${PKG}.png" || $(stat -c%s "${SBUILD_OUTDIR}/${PKG}.png") -le 3 ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -regex ".*\(128x128/apps\|256x256\)/.*${PKG}.*\.\(png\|svg\)" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + fi + cp -fv "${SBUILD_OUTDIR}/${PKG}.png" "${SBUILD_OUTDIR}/.DirIcon" + fi + #Appstream + curl -qfsSL "https://raw.githubusercontent.com/nomic-ai/gpt4all/refs/heads/main/gpt4all-chat/flatpak-manifest/io.gpt4all.gpt4all.appdata.xml" -o "${SBUILD_OUTDIR}/${PKG}.appdata.xml" \ No newline at end of file diff --git a/packages/gzdoom/assets/default.desktop b/packages/gzdoom/assets/default.desktop new file mode 100644 index 000000000..43548293b --- /dev/null +++ b/packages/gzdoom/assets/default.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=GZDoom +Comment=Advanced Doom source port. +Exec=gzdoom %F +Icon=/usr/share/pixmaps/gzdoom.png +Terminal=false +Categories=Game \ No newline at end of file diff --git a/packages/gzdoom/assets/default.png b/packages/gzdoom/assets/default.png new file mode 100644 index 000000000..abfe86bae Binary files /dev/null and b/packages/gzdoom/assets/default.png differ diff --git a/packages/gzdoom/assets/default.svg b/packages/gzdoom/assets/default.svg new file mode 100644 index 000000000..39c871a78 --- /dev/null +++ b/packages/gzdoom/assets/default.svg @@ -0,0 +1,1346 @@ + + + + diff --git a/packages/gzdoom/runimage.cachyos.stable.yaml b/packages/gzdoom/runimage.cachyos.stable.yaml new file mode 100644 index 000000000..f42f2b9ac --- /dev/null +++ b/packages/gzdoom/runimage.cachyos.stable.yaml @@ -0,0 +1,117 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/gzdoom/runimage.cachyos.stable.yaml +_disabled: false + +pkg: "gzdoom" +pkg_id: "runimage.cachyos.gzdoom" +pkg_type: "runimage" +app_id: "org.zdoom.GZDoom" +category: + - "Utility" +description: "Feature centric port for all Doom engine games" +desktop: + url: "https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/gzdoom/assets/default.desktop" +distro_pkg: + alpine: + - "gzdoom" + archlinux: + aur: + - "gzdoom" + - "gzdoom-bin" + - "gzdoom-git" + gnuguix: + - "gzdoom" + homebrew: + - "gzdoom" + nixpkgs: + - "gzdoom" +homepage: + - "http://zdoom.org/" + - "https://zdoom.org/wiki/" + - "https://github.com/ZDoom/gzdoom" +icon: + url: "https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/gzdoom/assets/default.png" +license: + - id: "GPL-3.0" + url: "https://github.com/ZDoom/gzdoom/raw/9ac523e63a280fe04fbf373a777a6d64489273ad/LICENSE" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "[DO NOT RUN] (Meant for pkgforge CI Only)" + - "Built Using RunImage [cachyos]. Check/Report @ https://github.com/VHSgunzo/runimage" + - "Learn more @ https://docs.pkgforge.dev/formats/packages/runimage" + - "[PORTABLE] (Works on AnyLinux)" +provides: + - "gzdoom" +repology: + - "gzdoom" +src_url: + - "https://aur.archlinux.org/packages/gzdoom" +tag: + - "editor" + - "graphics" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=gzdoom" | sed -n 's/^pkgver=//p' | tr -d '[:space:]' + run: | + #Get BaseImage + curl -qfsSL "https://github.com/pkgforge-dev/runimage-base/releases/download/cachyos_$(uname -m)/runimage" -o "${SBUILD_TMPDIR}/runimage" + chmod -v 'a+x' "${SBUILD_TMPDIR}/runimage" + [[ -s "${SBUILD_TMPDIR}/runimage" ]] || exit 1 + #Deps + build_image() + { + #Requirements + pacman -y --sync --refresh --refresh --sysupgrade --noconfirm + BASE_PKGS=(gtk3 hicolor-icon-theme kdialog libgl libvpx openal sdl2 vulkan-driver vulkan-icd-loader xorg-xmessage zmusic) + #pacman -S "${BASE_PKGS[@]}" --needed --noconfirm + for pkg in "${BASE_PKGS[@]}"; do pacman -S "${pkg}" --needed --noconfirm 2>/dev/null; done + #Main Package + pacman -Sy "chaotic-aur/gzdoom" --noconfirm + pacman -Ql "gzdoom" + command -v "gzdoom" >/dev/null 2>&1 || exit 1 + #Debloat & Shrink + pacman -Rsn base-devel --noconfirm 2>/dev/null + pacman -Rsn perl --noconfirm 2>/dev/null + pacman -Rsn python --noconfirm 2>/dev/null + pacman -Scc --noconfirm ; yay -Scc --noconfirm + rim-shrink --all + #Config + echo 'RIM_CMPRS_LVL="${RIM_CMPRS_LVL:=22}"' > "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_BSIZE="${RIM_CMPRS_BSIZE:=24}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_ICONS="${RIM_SHARE_ICONS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_FONTS="${RIM_SHARE_FONTS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_THEMES="${RIM_SHARE_THEMES:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_UPDATE_SHRINK="${RIM_UPDATE_SHRINK:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SYS_NVLIBS="${RIM_SYS_NVLIBS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + #Rebuild [Dwarfs ZSTD 22] + rim-build --bsize '24' --clvl '22' --dwfs "${SBUILD_OUTDIR}/${PKG}" + } + export -f build_image + #Build + RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ + "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } + #Extract Metadata + "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list + HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "gzdoom.*" + #Desktop + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.desktop" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -name "*.desktop" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" sh -c 'cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.desktop"' + fi + sed '/.*DBusActivatable.*/I d' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed -E 's/\s+setup\s+/ /Ig' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed "s/Icon=[^ ]*/Icon=${PKG}/" -i "${SBUILD_OUTDIR}/${PKG}.desktop" + #Icon + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.png" && ! -s "${SBUILD_OUTDIR}/${PKG}.svg" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -type f,l -regex '.*\.\(png\|svg\)' \ + -not -regex '.*\(favicon\|/\(16x16\|22x22\|24x24\|32x32\|36x36\|48x48\|64x64\|72x72\|96x96\)/\).*' \ + | awk '{print length, $0}' | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + if [[ ! -f "${SBUILD_OUTDIR}/${PKG}.png" || $(stat -c%s "${SBUILD_OUTDIR}/${PKG}.png") -le 3 ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -regex ".*\(128x128/apps\|256x256\)/.*${PKG}.*\.\(png\|svg\)" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + fi + cp -fv "${SBUILD_OUTDIR}/${PKG}.png" "${SBUILD_OUTDIR}/.DirIcon" + fi \ No newline at end of file diff --git a/packages/haguichi/assets/default.png b/packages/haguichi/assets/default.png new file mode 100644 index 000000000..8d62b7e8b Binary files /dev/null and b/packages/haguichi/assets/default.png differ diff --git a/packages/haguichi/assets/default.svg b/packages/haguichi/assets/default.svg new file mode 100644 index 000000000..db29f59a5 --- /dev/null +++ b/packages/haguichi/assets/default.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/packages/haguichi/runimage.cachyos.stable.yaml b/packages/haguichi/runimage.cachyos.stable.yaml new file mode 100644 index 000000000..ec6403c1d --- /dev/null +++ b/packages/haguichi/runimage.cachyos.stable.yaml @@ -0,0 +1,111 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/haguichi/runimage.cachyos.stable.yaml +_disabled: false + +pkg: "haguichi" +pkg_id: "runimage.cachyos.haguichi" +pkg_type: "runimage" +app_id: "com.github.ztefn.haguichi" +category: + - "Utility" +description: "Graphical frontend for Hamachi" +desktop: + url: "https://raw.githubusercontent.com/ztefn/haguichi/refs/heads/master/data/com.github.ztefn.haguichi.desktop.in.in" +distro_pkg: + archlinux: + aur: + - "haguichi" + - "haguichi-git" + nixpkgs: + - "haguichi" +homepage: + - "https://www.haguichi.net" + - "https://github.com/ztefn/haguichi" +icon: + url: "https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/haguichi/assets/default.png" +license: + - id: "GPL-3.0" + url: "https://github.com/ztefn/haguichi/raw/c92a6f88a6396e444296c4570f8aed6d2670d6a8/LICENSE" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "[DO NOT RUN] (Meant for pkgforge CI Only)" + - "Built Using RunImage [cachyos]. Check/Report @ https://github.com/VHSgunzo/runimage" + - "Learn more @ https://docs.pkgforge.dev/formats/packages/runimage" + - "[PORTABLE] (Works on AnyLinux)" +provides: + - "haguichi" +repology: + - "haguichi" +src_url: + - "https://aur.archlinux.org/packages/haguichi" +tag: + - "editor" + - "graphics" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=haguichi" | sed -n 's/^pkgver=//p' | tr -d '[:space:]' + run: | + #Get BaseImage + curl -qfsSL "https://github.com/pkgforge-dev/runimage-base/releases/download/cachyos_$(uname -m)/runimage" -o "${SBUILD_TMPDIR}/runimage" + chmod -v 'a+x' "${SBUILD_TMPDIR}/runimage" + [[ -s "${SBUILD_TMPDIR}/runimage" ]] || exit 1 + #Deps + build_image() + { + #Requirements + pacman -y --sync --refresh --refresh --sysupgrade --noconfirm + BASE_PKGS=(gtk4 libadwaita libgee libportal libportal-gtk4 logmein-hamachi) + #pacman -S "${BASE_PKGS[@]}" --needed --noconfirm + for pkg in "${BASE_PKGS[@]}"; do pacman -S "${pkg}" --needed --noconfirm 2>/dev/null; done + #Main Package + pacman -Sy "chaotic-aur/haguichi" --noconfirm + pacman -Ql "haguichi" + command -v "haguichi" >/dev/null 2>&1 || exit 1 + #Debloat & Shrink + pacman -Rsn base-devel --noconfirm 2>/dev/null + pacman -Rsn perl --noconfirm 2>/dev/null + pacman -Rsn python --noconfirm 2>/dev/null + pacman -Scc --noconfirm ; yay -Scc --noconfirm + rim-shrink --all + #Config + echo 'RIM_CMPRS_LVL="${RIM_CMPRS_LVL:=22}"' > "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_BSIZE="${RIM_CMPRS_BSIZE:=24}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_ICONS="${RIM_SHARE_ICONS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_FONTS="${RIM_SHARE_FONTS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_THEMES="${RIM_SHARE_THEMES:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_UPDATE_SHRINK="${RIM_UPDATE_SHRINK:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SYS_NVLIBS="${RIM_SYS_NVLIBS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + #Rebuild [Dwarfs ZSTD 22] + rim-build --bsize '24' --clvl '22' --dwfs "${SBUILD_OUTDIR}/${PKG}" + } + export -f build_image + #Build + RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ + "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } + #Extract Metadata + "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list + HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "haguichi.*" + #Desktop + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.desktop" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -name "*.desktop" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" sh -c 'cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.desktop"' + fi + sed '/.*DBusActivatable.*/I d' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed -E 's/\s+setup\s+/ /Ig' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed "s/Icon=[^ ]*/Icon=${PKG}/" -i "${SBUILD_OUTDIR}/${PKG}.desktop" + #Icon + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.png" && ! -s "${SBUILD_OUTDIR}/${PKG}.svg" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -type f,l -regex '.*\.\(png\|svg\)' \ + -not -regex '.*\(favicon\|/\(16x16\|22x22\|24x24\|32x32\|36x36\|48x48\|64x64\|72x72\|96x96\)/\).*' \ + | awk '{print length, $0}' | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + if [[ ! -f "${SBUILD_OUTDIR}/${PKG}.png" || $(stat -c%s "${SBUILD_OUTDIR}/${PKG}.png") -le 3 ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -regex ".*\(128x128/apps\|256x256\)/.*${PKG}.*\.\(png\|svg\)" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + fi + cp -fv "${SBUILD_OUTDIR}/${PKG}.png" "${SBUILD_OUTDIR}/.DirIcon" + fi + #Appstream + curl -qfsSL "https://raw.githubusercontent.com/ztefn/haguichi/refs/heads/master/data/com.github.ztefn.haguichi.metainfo.xml.in.in" -o "${SBUILD_OUTDIR}/${PKG}.metainfo.xml" \ No newline at end of file diff --git a/packages/inkscape/appimage.official.stable.yaml b/packages/inkscape/appimage.official.stable.yaml new file mode 100644 index 000000000..6740086ca --- /dev/null +++ b/packages/inkscape/appimage.official.stable.yaml @@ -0,0 +1,77 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/inkscape/appimage.official.stable.yaml +_disabled: false + +pkg: "inkscape" +pkg_id: "gitlab.com.inkscape.inkscape" +pkg_type: "appimage" +app_id: "org.inkscape.Inkscape" +#build_util: +# - "curl#bin" +# - "jq#bin" +category: + - "Graphics" + - "Office" +description: "FOSS Vector Graphics Editor" +#desktop: +# url: "https://gitlab.com/inkscape/inkscape/-/raw/master/org.inkscape.Inkscape.desktop.template" +distro_pkg: + alpine: + - "inkscape" + archlinux: + aur: + - "inkscape-git" + extra: + - "inkscape" + debian: + - "inkscape" + gnuguix: + - "inkscape" + homebrew: + - "inkscape" + nixpkgs: + - "inkscape" + - "inkscape-with-extensions" +homepage: + - "https://inkscape.org" +#icon: +# url: "https://gitlab.com/inkscape/inkscape/-/raw/master/share/icons/application/256x256/org.inkscape.Inkscape.png" +# url: "https://gitlab.com/inkscape/inkscape/-/raw/master/share/icons/application/scalable/org.inkscape.Inkscape.svg" +license: + - id: "GPL-2.0" + url: "https://gitlab.com/inkscape/inkscape/-/raw/master/COPYING?ref_type=heads" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "Pre Built AppImage Fetched from Upstream. Check/Report @ https://gitlab.com/inkscape/inkscape" +provides: + - "inkscape" +repology: + - "inkscape" +src_url: + - "https://inkscape.org/release" +tag: + - "editor" + - "graphics" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSI "https://inkscape.org/release/" | awk -F'[-/]' '/[Ll]ocation/ {print $(NF-1)}' | tr -d '[:space:]' + run: | + #Download + case "$(uname -m)" in + aarch64) + echo -e "\n[✗] aarch64 is Not Yet Supported\n" + exit 1 + ;; + x86_64) + DOWNLOAD_URL="$(curl -A "${USER_AGENT}" -qfsSL "https://inkscape.org/gallery/item/44616/" |\ + grep -o 'href="[^"]*"' | sed 's/href="//' | sed 's/"$//' | grep -iE '\.appimage$' |\ + sort --version-sort -u | head -n 1 | grep -iE "$(uname -m)" | tr -d '[:space:]')" + soar dl "https://inkscape.org/${DOWNLOAD_URL}" -o "./${PKG}" --yes + ;; + esac + #Appstream + curl -qfsSL "https://gitlab.com/inkscape/inkscape/-/raw/master/org.inkscape.Inkscape.appdata.xml.in" -o "./${PKG}.appdata.xml" \ No newline at end of file diff --git a/packages/inkscape/assets/default.png b/packages/inkscape/assets/default.png new file mode 100644 index 000000000..76e07fb3d Binary files /dev/null and b/packages/inkscape/assets/default.png differ diff --git a/packages/inkscape/assets/default.svg b/packages/inkscape/assets/default.svg new file mode 100644 index 000000000..04277e874 --- /dev/null +++ b/packages/inkscape/assets/default.svg @@ -0,0 +1,843 @@ + + + Inkscape Logo + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + Andy Fitzsimon + + + + + Andrew Michael Fitzsimon + + + + + Fitzsimon IT Consulting Pty Ltd + + + http://andy.fitzsimon.com.au + 2006 + + Inkscape Logo + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/inkscape/runimage.alpine.stable.yaml b/packages/inkscape/runimage.alpine.stable.yaml new file mode 100644 index 000000000..68d47b3aa --- /dev/null +++ b/packages/inkscape/runimage.alpine.stable.yaml @@ -0,0 +1,129 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/inkscape/runimage.alpine.stable.yaml +_disabled: false + +pkg: "inkscape" +pkg_id: "runimage.alpine.inkscape" +pkg_type: "runimage" +app_id: "org.inkscape.Inkscape" +category: + - "Graphics" + - "Office" +description: "FOSS Vector Graphics Editor" +desktop: + url: "https://gitlab.com/inkscape/inkscape/-/raw/master/org.inkscape.Inkscape.desktop.template" +distro_pkg: + alpine: + - "inkscape" + archlinux: + aur: + - "inkscape-git" + extra: + - "inkscape" + debian: + - "inkscape" + gnuguix: + - "inkscape" + homebrew: + - "inkscape" + nixpkgs: + - "inkscape" + - "inkscape-with-extensions" +homepage: + - "https://inkscape.org" +icon: + url: "https://gitlab.com/inkscape/inkscape/-/raw/master/share/icons/application/256x256/org.inkscape.Inkscape.png" +# url: "https://gitlab.com/inkscape/inkscape/-/raw/master/share/icons/application/scalable/org.inkscape.Inkscape.svg" +license: + - id: "GPL-2.0" + url: "https://gitlab.com/inkscape/inkscape/-/raw/master/COPYING?ref_type=heads" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "[DO NOT RUN] (Meant for pkgforge CI Only)" + - "Built Using RunImage [alpine]. Check/Report @ https://github.com/VHSgunzo/runimage" + - "Learn more @ https://docs.pkgforge.dev/formats/packages/runimage" + - "[PORTABLE] (Works on AnyLinux)" +provides: + - "inkscape" +repology: + - "inkscape" +src_url: + - "https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/community/inkscape" +tag: + - "editor" + - "graphics" +x_exec: + host: + - "aarch64-Linux" + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://gitlab.alpinelinux.org/alpine/aports/-/raw/master/community/inkscape/APKBUILD" | sed -n 's/^pkgver=//p' | tr -d '[:space:]' + run: | + #Get BaseImage + curl -qfsSL "https://github.com/pkgforge-dev/runimage-base/releases/download/alpine_$(uname -m)/runimage" -o "${SBUILD_TMPDIR}/runimage" + chmod -v 'a+x' "${SBUILD_TMPDIR}/runimage" + [[ -s "${SBUILD_TMPDIR}/runimage" ]] || exit 1 + #Deps + build_image() + { + #BASE_PKGS=() + apk update --force-missing-repositories --no-cache --no-interactive + apk upgrade --force-missing-repositories --no-cache --no-interactive + #apt install -f "${BASE_PKGS[@]}" --latest --upgrade --no-interactive + #for pkg in "${BASE_PKGS[@]}"; do apk add "${pkg}" --latest --upgrade --no-interactive 2>/dev/null; done + #Main Package + apk add "inkscape" --force-missing-repositories --latest --upgrade --no-cache --no-interactive + command -v "inkscape" >/dev/null 2>&1 || exit 1 + #Debloat & Shrink + apk info -L "inkscape" + rm -rvf "/etc/apk/repositories" 2>/dev/null + rm -rfv "/var/cache/apk/"* 2>/dev/null + rm -rfv "/usr/share/doc/"* 2>/dev/null + rm -rfv "/usr/share/help/"* 2>/dev/null + rm -rfv "/usr/share/kde4/help"* 2>/dev/null + rm -rfv "/usr/share/fonts/"* 2>/dev/null + rm -rfv "/usr/share/licenses/"* 2>/dev/null + rm -rfv "/usr/share/man/"* 2>/dev/null + apk cache clean + ln -sf "/dev/null" "/etc/apk/cache" + rim-shrink --all --verbose 2>/dev/null + #Config + #echo 'RIM_AUTORUN="${RIM_AUTORUN:=inkscape}"' > "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_LVL="${RIM_CMPRS_LVL:=22}"' > "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_BSIZE="${RIM_CMPRS_BSIZE:=24}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_ICONS="${RIM_SHARE_ICONS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_FONTS="${RIM_SHARE_FONTS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_THEMES="${RIM_SHARE_THEMES:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SYS_NVLIBS="${RIM_SYS_NVLIBS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + #Rebuild [Dwarfs ZSTD 22] + rim-build --bsize '24' --clvl '22' --dwfs "${SBUILD_OUTDIR}/${PKG}" + } + export -f build_image + #Build + RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ + "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } + #Extract Metadata + "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list + HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "inkscape.*" + #Desktop + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.desktop" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -name "*.desktop" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" sh -c 'cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.desktop"' + fi + sed '/.*DBusActivatable.*/I d' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed -E 's/\s+setup\s+/ /Ig' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed "s/Icon=[^ ]*/Icon=${PKG}/" -i "${SBUILD_OUTDIR}/${PKG}.desktop" + #Icon + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.png" && ! -s "${SBUILD_OUTDIR}/${PKG}.svg" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -type f,l -regex '.*\.\(png\|svg\)' \ + -not -regex '.*\(favicon\|/\(16x16\|22x22\|24x24\|32x32\|36x36\|48x48\|64x64\|72x72\|96x96\)/\).*' \ + | awk '{print length, $0}' | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + if [[ ! -f "${SBUILD_OUTDIR}/${PKG}.png" || $(stat -c%s "${SBUILD_OUTDIR}/${PKG}.png") -le 3 ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -regex ".*\(128x128/apps\|256x256\)/.*${PKG}.*\.\(png\|svg\)" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + fi + cp -fv "${SBUILD_OUTDIR}/${PKG}.png" "${SBUILD_OUTDIR}/.DirIcon" + fi + #Appstream + curl -qfsSL "https://gitlab.com/inkscape/inkscape/-/raw/master/org.inkscape.Inkscape.appdata.xml.in" -o "${SBUILD_OUTDIR}/${PKG}.appdata.xml" \ No newline at end of file diff --git a/packages/kdenlive/appimage.official.nightly.yaml b/packages/kdenlive/appimage.official.nightly.yaml new file mode 100644 index 000000000..b486c9402 --- /dev/null +++ b/packages/kdenlive/appimage.official.nightly.yaml @@ -0,0 +1,76 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/kdenlive/appimage.official.nightly.yaml +_disabled: false + +pkg: "kdenlive" +pkg_id: "gitlab.com.kdenlive.kdenlive.nightly" +pkg_type: "appimage" +app_id: "org.kde.kdenlive" +#build_util: +# - "curl#bin" +# - "jq#bin" +category: + - "AudioVideoEditing" +description: "FOSS video editor, based on MLT Framework and KDE Frameworks (Nightly)" +#desktop: +# url: "https://invent.kde.org/multimedia/kdenlive/-/raw/master/data/org.kde.kdenlive.desktop" +distro_pkg: + alpine: + - "kdenlive" + archlinux: + aur: + - "kdenlive-appimage" + - "kdenlive-git" + extra: + - "kdenlive" + debian: + - "kdenlive" + gnuguix: + - "kdenlive" + homebrew: + - "kdenlive" + nixpkgs: + - "kdePackages.kdenlive" +homepage: + - "https://apps.kde.org/kdenlive" + - "https://invent.kde.org/multimedia/kdenlive" +#icon: +# url: "https://invent.kde.org/multimedia/kdenlive/-/raw/master/data/icons/128-apps-kdenlive.png?ref_type=heads" +# url: "https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/kdenlive/assets/default.png" +license: + - id: "GPL-3.0" + url: "https://invent.kde.org/multimedia/kdenlive/-/raw/master/COPYING?ref_type=heads" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "Pre Built AppImage Fetched from Upstream. Check/Report @ https://invent.kde.org/multimedia/kdenlive" +provides: + - "kdenlive" +repology: + - "kdenlive" +src_url: + - "https://kdenlive.org/en/download/" +tag: + - "editor" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://cdn.kde.org/ci-builds/multimedia/kdenlive/master/linux/" | grep -oP '\d{4}-\d{2}-\d{2}' | sort --version-sort | tail -n 1 | tr -d '[:space:]' + run: | + #Download + case "$(uname -m)" in + aarch64) + echo -e "\n[✗] aarch64 is Not Yet Supported\n" + exit 1 + ;; + x86_64) + DOWNLOAD_URL="$(curl -qfsSL "https://cdn.kde.org/ci-builds/multimedia/kdenlive/master/linux/" |\ + grep -o 'href="[^"]*"' | sed 's/href="//' | sed 's/"$//' | grep -Ei "AppImage" |\ + grep -Eiv 'aarch|arm|zsync' | sort --version-sort | tail -n 1 | tr -d '[:space:]')" + soar dl "https://cdn.kde.org/ci-builds/multimedia/kdenlive/master/linux/${DOWNLOAD_URL}" -o "./${PKG}" --yes + ;; + esac + #Appstream + curl -qfsSL "https://invent.kde.org/multimedia/kdenlive/-/raw/master/data/org.kde.kdenlive.appdata.xml?ref_type=heads" -o "./${PKG}.appdata.xml" \ No newline at end of file diff --git a/packages/kdenlive/appimage.official.stable.yaml b/packages/kdenlive/appimage.official.stable.yaml new file mode 100644 index 000000000..f2e2f828d --- /dev/null +++ b/packages/kdenlive/appimage.official.stable.yaml @@ -0,0 +1,80 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/kdenlive/appimage.official.stable.yaml +_disabled: false + +pkg: "kdenlive" +pkg_id: "gitlab.com.kdenlive.kdenlive.stable" +pkg_type: "appimage" +app_id: "org.kde.kdenlive" +#build_util: +# - "curl#bin" +# - "jq#bin" +category: + - "AudioVideoEditing" +description: "FOSS video editor, based on MLT Framework and KDE Frameworks" +#desktop: +# url: "https://invent.kde.org/multimedia/kdenlive/-/raw/master/data/org.kde.kdenlive.desktop" +distro_pkg: + alpine: + - "kdenlive" + archlinux: + aur: + - "kdenlive-appimage" + - "kdenlive-git" + extra: + - "kdenlive" + debian: + - "kdenlive" + gnuguix: + - "kdenlive" + homebrew: + - "kdenlive" + nixpkgs: + - "kdePackages.kdenlive" +homepage: + - "https://apps.kde.org/kdenlive" + - "https://invent.kde.org/multimedia/kdenlive" +#icon: +# url: "https://invent.kde.org/multimedia/kdenlive/-/raw/master/data/icons/128-apps-kdenlive.png?ref_type=heads" +# url: "https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/kdenlive/assets/default.png" +license: + - id: "GPL-3.0" + url: "https://invent.kde.org/multimedia/kdenlive/-/raw/master/COPYING?ref_type=heads" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "Pre Built AppImage Fetched from Upstream. Check/Report @ https://invent.kde.org/multimedia/kdenlive" +provides: + - "kdenlive" +repology: + - "kdenlive" +src_url: + - "https://kdenlive.org/en/download/" +tag: + - "editor" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://kdenlive.org/en/download/" |\ + grep -o 'href="[^"]*"' | sed 's/href="//' | sed 's/"$//' | grep -Ei "AppImage" | grep -Eiv 'aarch|arm|zsync' |\ + sort --version-sort | tail -n 1 | grep -o '[0-9]\+\(\.[0-9]\+\)\+' | tr -d "[:alpha:]" |\ + awk -F'[-]' '{print $1}' | sort --version-sort | tail -n 1 | tr -d '[:space:]' + run: | + #Download + case "$(uname -m)" in + aarch64) + echo -e "\n[✗] aarch64 is Not Yet Supported\n" + exit 1 + ;; + x86_64) + #https://cdn.kde.org/ci-builds/multimedia/kdenlive/ + DOWNLOAD_URL="$(curl -qfsSL "https://kdenlive.org/en/download/" | grep -o 'href="[^"]*"' |\ + sed 's/href="//' | sed 's/"$//' | grep -Ei "AppImage" | grep -Eiv 'aarch|arm|zsync' |\ + grep -i "${PKGVER}" | sort --version-sort | tail -n 1 | tr -d '[:space:]')" + soar dl "https://kdenlive.org/${DOWNLOAD_URL}" -o "./${PKG}" --yes + ;; + esac + #Appstream + curl -qfsSL "https://invent.kde.org/multimedia/kdenlive/-/raw/master/data/org.kde.kdenlive.appdata.xml?ref_type=heads" -o "./${PKG}.appdata.xml" \ No newline at end of file diff --git a/packages/kdenlive/appimage.official.stable.yaml.disabled b/packages/kdenlive/appimage.official.stable.yaml.disabled deleted file mode 100644 index ecd07d024..000000000 --- a/packages/kdenlive/appimage.official.stable.yaml.disabled +++ /dev/null @@ -1,79 +0,0 @@ -#!/SBUILD ver @v1.0.0 -#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/kdenlive/appimage.official.stable.yaml -_disabled: false - -pkg: "kdenlive" -pkg_id: "apps.kde.org.kdenlive.stable" -pkg_type: "appimage" -app_id: "org.kde.kdenlive" -#build_util: -# - "curl#bin" -# - "jq#bin" -category: - - "AudioVideoEditing" -description: "FOSS video editor, based on MLT Framework and KDE Frameworks" -distro_pkg: - alpine: - - "kdenlive" - archlinux: - aur: - - "kdenlive-appimage" - - "kdenlive-git" - extra: - - "kdenlive" - debian: - - "kdenlive" - nixpkgs: - - "kdePackages.kdenlive" -homepage: - - "https://kdenlive.org/en" - - "https://apps.kde.org/kdenlive" - - "https://invent.kde.org/multimedia/kdenlive" -maintainer: - - "Azathothas (https://github.com/Azathothas)" -note: - - "Officially Created AppImage. Check/Report @ https://invent.kde.org/multimedia/kdenlive" -repology: - - "kdenlive" -src_url: - - "https://kdenlive.org/en/download/" -tag: - - "Graphical" - - "Graphical" - - "Graphical" - - "Productivity/Multimedia/Video/Editors" - - "Video" - - "Video/Editors" - - "clip" - - "debug" - - "editor" - - "extra/office" - - "kde" - - "kde-apps" - - "kdePackages" - - "libsForQt5" - - "libsForQt512" - - "libsForQt514" - - "media-video" - - "multimedia" - - "multimedia.video" - - "programming.devel" - - "universe/graphics" - - "video" -x_exec: - shell: "bash" - pkgver: | - curl -qfsSL "https://kdenlive.org/en/download/" | grep -o 'href="[^"]*"' | sed 's/href="//' | sed 's/"$//' | grep -Ei "AppImage" | grep -Eiv 'aarch|arm|zsync' | sort --version-sort | tail -n 1 | tr -d '[:space:]' | grep -o '[0-9]\+\(\.[0-9]\+\)\+' | tr -d "[:alpha:]" | sed 's/^[^0-9]*//; s/[^0-9]*$//' | sort --version-sort | tail -n 1 | tr -d '[:space:]' - run: | - #Download - case "$(uname -m)" in - aarch64) - echo -e "\n[✗] aarch64 is Not Yet Supported: https://kdenlive.org/en/download/\n" - exit 1 - ;; - x86_64) - DOWNLOAD_URL="$(curl -qfsSL "https://kdenlive.org/en/download/" | grep -o 'href="[^"]*"' | sed 's/href="//' | sed 's/"$//' | grep -Ei "AppImage" | grep -Eiv 'aarch|arm|zsync' | sort --version-sort | tail -n 1 | tr -d '[:space:]')" - export DOWNLOAD_URL - curl -qfSL "${DOWNLOAD_URL}" -o "./${PKG}" && chmod +x "./${PKG}" - ;; - esac \ No newline at end of file diff --git a/packages/kdenlive/assets/default.png b/packages/kdenlive/assets/default.png index 0635eda16..c20f6438b 100644 Binary files a/packages/kdenlive/assets/default.png and b/packages/kdenlive/assets/default.png differ diff --git a/packages/kdenlive/assets/default.svg b/packages/kdenlive/assets/default.svg new file mode 100644 index 000000000..b3b1a812f --- /dev/null +++ b/packages/kdenlive/assets/default.svg @@ -0,0 +1,87 @@ + + + + diff --git a/packages/kdenlive/assets/kdenlive.png b/packages/kdenlive/assets/kdenlive.png deleted file mode 100644 index 0635eda16..000000000 Binary files a/packages/kdenlive/assets/kdenlive.png and /dev/null differ diff --git a/packages/kdenlive/runimage.alpine.stable.yaml b/packages/kdenlive/runimage.alpine.stable.yaml new file mode 100644 index 000000000..d90aa8989 --- /dev/null +++ b/packages/kdenlive/runimage.alpine.stable.yaml @@ -0,0 +1,128 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/kdenlive/runimage.alpine.stable.yaml +_disabled: false + +pkg: "kdenlive" +pkg_id: "runimage.alpine.kdenlive" +pkg_type: "runimage" +app_id: "org.kde.kdenlive" +category: + - "AudioVideoEditing" +description: "FOSS video editor, based on MLT Framework and KDE Frameworks" +desktop: + url: "https://invent.kde.org/multimedia/kdenlive/-/raw/master/data/org.kde.kdenlive.desktop" +distro_pkg: + alpine: + - "kdenlive" + archlinux: + aur: + - "kdenlive-appimage" + - "kdenlive-git" + extra: + - "kdenlive" + debian: + - "kdenlive" + gnuguix: + - "kdenlive" + homebrew: + - "kdenlive" + nixpkgs: + - "kdePackages.kdenlive" +homepage: + - "https://apps.kde.org/kdenlive" + - "https://invent.kde.org/multimedia/kdenlive" +icon: +# url: "https://invent.kde.org/multimedia/kdenlive/-/raw/master/data/icons/128-apps-kdenlive.png?ref_type=heads" + url: "https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/kdenlive/assets/default.png" +license: + - id: "GPL-3.0" + url: "https://invent.kde.org/multimedia/kdenlive/-/raw/master/COPYING?ref_type=heads" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "[DO NOT RUN] (Meant for pkgforge CI Only)" + - "Built Using RunImage [alpine]. Check/Report @ https://github.com/VHSgunzo/runimage" + - "Learn more @ https://docs.pkgforge.dev/formats/packages/runimage" + - "[PORTABLE] (Works on AnyLinux)" +provides: + - "kdenlive" +repology: + - "kdenlive" +src_url: + - "https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/community/kdenlive" +tag: + - "editor" +x_exec: + host: + - "aarch64-Linux" + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://gitlab.alpinelinux.org/alpine/aports/-/raw/master/community/kdenlive/APKBUILD" | sed -n 's/^pkgver=//p' | tr -d '[:space:]' + run: | + #Get BaseImage + curl -qfsSL "https://github.com/pkgforge-dev/runimage-base/releases/download/alpine_$(uname -m)/runimage" -o "${SBUILD_TMPDIR}/runimage" + chmod -v 'a+x' "${SBUILD_TMPDIR}/runimage" + [[ -s "${SBUILD_TMPDIR}/runimage" ]] || exit 1 + #Deps + build_image() + { + #BASE_PKGS=() + apk update --force-missing-repositories --no-cache --no-interactive + apk upgrade --force-missing-repositories --no-cache --no-interactive + #apt install -f "${BASE_PKGS[@]}" --latest --upgrade --no-interactive + #for pkg in "${BASE_PKGS[@]}"; do apk add "${pkg}" --latest --upgrade --no-interactive 2>/dev/null; done + #Main Package + apk add "kdenlive" --force-missing-repositories --latest --upgrade --no-cache --no-interactive + command -v "kdenlive" >/dev/null 2>&1 || exit 1 + #Debloat & Shrink + apk info -L "kdenlive" + rm -rvf "/etc/apk/repositories" 2>/dev/null + rm -rfv "/var/cache/apk/"* 2>/dev/null + rm -rfv "/usr/share/doc/"* 2>/dev/null + rm -rfv "/usr/share/help/"* 2>/dev/null + rm -rfv "/usr/share/kde4/help"* 2>/dev/null + rm -rfv "/usr/share/fonts/"* 2>/dev/null + rm -rfv "/usr/share/licenses/"* 2>/dev/null + rm -rfv "/usr/share/man/"* 2>/dev/null + apk cache clean + ln -sf "/dev/null" "/etc/apk/cache" + rim-shrink --all --verbose 2>/dev/null + #Config + #echo 'RIM_AUTORUN="${RIM_AUTORUN:=kdenlive}"' > "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_LVL="${RIM_CMPRS_LVL:=22}"' > "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_BSIZE="${RIM_CMPRS_BSIZE:=24}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_ICONS="${RIM_SHARE_ICONS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_FONTS="${RIM_SHARE_FONTS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_THEMES="${RIM_SHARE_THEMES:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SYS_NVLIBS="${RIM_SYS_NVLIBS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + #Rebuild [Dwarfs ZSTD 22] + rim-build --bsize '24' --clvl '22' --dwfs "${SBUILD_OUTDIR}/${PKG}" + } + export -f build_image + #Build + RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ + "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } + #Extract Metadata + "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list + HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "kdenlive.*" + #Desktop + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.desktop" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -name "*.desktop" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" sh -c 'cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.desktop"' + fi + sed '/.*DBusActivatable.*/I d' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed -E 's/\s+setup\s+/ /Ig' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed "s/Icon=[^ ]*/Icon=${PKG}/" -i "${SBUILD_OUTDIR}/${PKG}.desktop" + #Icon + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.png" && ! -s "${SBUILD_OUTDIR}/${PKG}.svg" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -type f,l -regex '.*\.\(png\|svg\)' \ + -not -regex '.*\(favicon\|/\(16x16\|22x22\|24x24\|32x32\|36x36\|48x48\|64x64\|72x72\|96x96\)/\).*' \ + | awk '{print length, $0}' | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + if [[ ! -f "${SBUILD_OUTDIR}/${PKG}.png" || $(stat -c%s "${SBUILD_OUTDIR}/${PKG}.png") -le 3 ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -regex ".*\(128x128/apps\|256x256\)/.*${PKG}.*\.\(png\|svg\)" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + fi + cp -fv "${SBUILD_OUTDIR}/${PKG}.png" "${SBUILD_OUTDIR}/.DirIcon" + fi + #Appstream + curl -qfsSL "https://invent.kde.org/multimedia/kdenlive/-/raw/master/data/org.kde.kdenlive.appdata.xml?ref_type=heads" -o "${SBUILD_OUTDIR}/${PKG}.appdata.xml" \ No newline at end of file diff --git a/packages/kdeutils/runimage.cachyos.stable.yaml b/packages/kdeutils/runimage.cachyos.stable.yaml index 74849fd36..4f31a5fbb 100644 --- a/packages/kdeutils/runimage.cachyos.stable.yaml +++ b/packages/kdeutils/runimage.cachyos.stable.yaml @@ -139,6 +139,7 @@ x_exec: #Build RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } #Extract Metadata #"${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list #HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "kdeutils.*" diff --git a/packages/krita/appimage.official.next.yaml b/packages/krita/appimage.official.next.yaml new file mode 100644 index 000000000..e10438768 --- /dev/null +++ b/packages/krita/appimage.official.next.yaml @@ -0,0 +1,76 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/krita/appimage.official.next.yaml +_disabled: false + +pkg: "krita" +pkg_id: "gitlab.com.krita.krita.next" +pkg_type: "appimage" +app_id: "org.kde.krita" +#build_util: +# - "curl#bin" +# - "jq#bin" +category: + - "Graphics" + - "ImageProcessing" +description: "A free and open source painting application (Alpha/Next)" +#desktop: +# url: "https://invent.kde.org/graphics/krita/-/raw/master/krita/org.kde.krita.desktop" +distro_pkg: + alpine: + - "krita" + archlinux: + aur: + - "krita-git" + extra: + - "krita" + debian: + - "krita" + gnuguix: + - "krita" + homebrew: + - "krita" + nixpkgs: + - "krita" + - "krita-beta" +homepage: + - "https://krita.org" + - "https://invent.kde.org/graphics/krita" +#icon: +# url: "https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/krita/assets/default.png" +license: + - id: "GPL-3.0" + url: "https://invent.kde.org/graphics/krita/-/raw/master/COPYING?ref_type=heads" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "Pre Built AppImage Fetched from Upstream. Check/Report @ https://invent.kde.org/graphics/krita" +provides: + - "krita" +repology: + - "krita" +src_url: + - "https://krita.org/en/download/" +tag: + - "editor" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://cdn.kde.org/ci-builds/graphics/krita/master/linux/" | grep -oP '\d{4}-\d{2}-\d{2}' | sort --version-sort | tail -n 1 | tr -d '[:space:]' + run: | + #Download + case "$(uname -m)" in + aarch64) + echo -e "\n[✗] aarch64 is Not Yet Supported\n" + exit 1 + ;; + x86_64) + DOWNLOAD_URL="$(curl -qfsSL "https://cdn.kde.org/ci-builds/graphics/krita/master/linux/" |\ + grep -o 'href="[^"]*"' | sed 's/href="//' | sed 's/"$//' | grep -Ei "AppImage" |\ + grep -Eiv 'aarch|arm|zsync' | sort --version-sort | tail -n 1 | tr -d '[:space:]')" + soar dl "https://cdn.kde.org/ci-builds/graphics/krita/master/linux/${DOWNLOAD_URL}" -o "./${PKG}" --yes + ;; + esac + #Appstream + curl -qfsSL "https://invent.kde.org/graphics/krita/-/raw/master/krita/org.kde.krita.appdata.xml" -o "./${PKG}.appdata.xml" \ No newline at end of file diff --git a/packages/krita/appimage.official.stable.yaml b/packages/krita/appimage.official.stable.yaml new file mode 100644 index 000000000..3e86ad796 --- /dev/null +++ b/packages/krita/appimage.official.stable.yaml @@ -0,0 +1,79 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/krita/appimage.official.stable.yaml +_disabled: false + +pkg: "krita" +pkg_id: "gitlab.com.krita.krita.stable" +pkg_type: "appimage" +app_id: "org.kde.krita" +#build_util: +# - "curl#bin" +# - "jq#bin" +category: + - "Graphics" + - "ImageProcessing" +description: "A free and open source painting application" +#desktop: +# url: "https://invent.kde.org/graphics/krita/-/raw/master/krita/org.kde.krita.desktop" +distro_pkg: + alpine: + - "krita" + archlinux: + aur: + - "krita-git" + extra: + - "krita" + debian: + - "krita" + gnuguix: + - "krita" + homebrew: + - "krita" + nixpkgs: + - "krita" + - "krita-beta" +homepage: + - "https://krita.org" + - "https://invent.kde.org/graphics/krita" +#icon: +# url: "https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/krita/assets/default.png" +license: + - id: "GPL-3.0" + url: "https://invent.kde.org/graphics/krita/-/raw/master/COPYING?ref_type=heads" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "Pre Built AppImage Fetched from Upstream. Check/Report @ https://invent.kde.org/graphics/krita" +provides: + - "krita" +repology: + - "krita" +src_url: + - "https://krita.org/en/download/" +tag: + - "editor" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://krita.org/en/download/" | grep -Eoi 'https://[^"]+\.AppImage' |\ + grep -Eiv 'aarch|arm|zsync' | sed 's/href="//' | sed 's/"$//' |\ + sort --version-sort | tail -n 1 | grep -o '[0-9]\+\(\.[0-9]\+\)\+' | tr -d "[:alpha:]" |\ + awk -F'[-]' '{print $1}' | sort --version-sort | tail -n 1 | tr -d '[:space:]' + run: | + #Download + case "$(uname -m)" in + aarch64) + echo -e "\n[✗] aarch64 is Not Yet Supported\n" + exit 1 + ;; + x86_64) + DOWNLOAD_URL="$(curl -qfsSL "https://krita.org/en/download/" | grep -Eoi 'https://[^"]+\.AppImage' |\ + grep -Eiv 'aarch|arm|zsync' | sed 's/href="//' | sed 's/"$//' |\ + grep -i "${PKGVER}" | sort --version-sort | tail -n 1 | tr -d '[:space:]')" + soar dl "${DOWNLOAD_URL}" -o "./${PKG}" --yes + ;; + esac + #Appstream + curl -qfsSL "https://invent.kde.org/graphics/krita/-/raw/master/krita/org.kde.krita.appdata.xml" -o "./${PKG}.appdata.xml" \ No newline at end of file diff --git a/packages/krita/assets/default.png b/packages/krita/assets/default.png new file mode 100644 index 000000000..e34992b3c Binary files /dev/null and b/packages/krita/assets/default.png differ diff --git a/packages/krita/assets/default.svg b/packages/krita/assets/default.svg new file mode 100644 index 000000000..a51a23110 --- /dev/null +++ b/packages/krita/assets/default.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/krita/runimage.alpine.stable.yaml b/packages/krita/runimage.alpine.stable.yaml new file mode 100644 index 000000000..f78739110 --- /dev/null +++ b/packages/krita/runimage.alpine.stable.yaml @@ -0,0 +1,128 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/krita/runimage.alpine.stable.yaml +_disabled: false + +pkg: "krita" +pkg_id: "runimage.alpine.krita" +pkg_type: "runimage" +app_id: "org.kde.krita" +category: + - "Graphics" + - "ImageProcessing" +description: "A free and open source painting application" +desktop: + url: "https://invent.kde.org/graphics/krita/-/raw/master/krita/org.kde.krita.desktop" +distro_pkg: + alpine: + - "krita" + archlinux: + aur: + - "krita-git" + extra: + - "krita" + debian: + - "krita" + gnuguix: + - "krita" + homebrew: + - "krita" + nixpkgs: + - "krita" + - "krita-beta" +homepage: + - "https://krita.org" + - "https://invent.kde.org/graphics/krita" +icon: + url: "https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/krita/assets/default.png" +license: + - id: "GPL-3.0" + url: "https://invent.kde.org/graphics/krita/-/raw/master/COPYING?ref_type=heads" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "[DO NOT RUN] (Meant for pkgforge CI Only)" + - "Built Using RunImage [alpine]. Check/Report @ https://github.com/VHSgunzo/runimage" + - "Learn more @ https://docs.pkgforge.dev/formats/packages/runimage" + - "[PORTABLE] (Works on AnyLinux)" +provides: + - "krita" +repology: + - "krita" +src_url: + - "https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/community/krita" +tag: + - "editor" +x_exec: + host: + - "aarch64-Linux" + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://gitlab.alpinelinux.org/alpine/aports/-/raw/master/community/krita/APKBUILD" | sed -n 's/^pkgver=//p' | tr -d '[:space:]' + run: | + #Get BaseImage + curl -qfsSL "https://github.com/pkgforge-dev/runimage-base/releases/download/alpine_$(uname -m)/runimage" -o "${SBUILD_TMPDIR}/runimage" + chmod -v 'a+x' "${SBUILD_TMPDIR}/runimage" + [[ -s "${SBUILD_TMPDIR}/runimage" ]] || exit 1 + #Deps + build_image() + { + #BASE_PKGS=() + apk update --force-missing-repositories --no-cache --no-interactive + apk upgrade --force-missing-repositories --no-cache --no-interactive + #apt install -f "${BASE_PKGS[@]}" --latest --upgrade --no-interactive + #for pkg in "${BASE_PKGS[@]}"; do apk add "${pkg}" --latest --upgrade --no-interactive 2>/dev/null; done + #Main Package + apk add "krita" --force-missing-repositories --latest --upgrade --no-cache --no-interactive + command -v "krita" >/dev/null 2>&1 || exit 1 + #Debloat & Shrink + apk info -L "krita" + rm -rvf "/etc/apk/repositories" 2>/dev/null + rm -rfv "/var/cache/apk/"* 2>/dev/null + rm -rfv "/usr/share/doc/"* 2>/dev/null + rm -rfv "/usr/share/help/"* 2>/dev/null + rm -rfv "/usr/share/kde4/help"* 2>/dev/null + rm -rfv "/usr/share/fonts/"* 2>/dev/null + rm -rfv "/usr/share/licenses/"* 2>/dev/null + rm -rfv "/usr/share/man/"* 2>/dev/null + apk cache clean + ln -sf "/dev/null" "/etc/apk/cache" + rim-shrink --all --verbose 2>/dev/null + #Config + #echo 'RIM_AUTORUN="${RIM_AUTORUN:=krita}"' > "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_LVL="${RIM_CMPRS_LVL:=22}"' > "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_BSIZE="${RIM_CMPRS_BSIZE:=24}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_ICONS="${RIM_SHARE_ICONS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_FONTS="${RIM_SHARE_FONTS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_THEMES="${RIM_SHARE_THEMES:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SYS_NVLIBS="${RIM_SYS_NVLIBS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + #Rebuild [Dwarfs ZSTD 22] + rim-build --bsize '24' --clvl '22' --dwfs "${SBUILD_OUTDIR}/${PKG}" + } + export -f build_image + #Build + RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ + "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } + #Extract Metadata + "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list + HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "krita.*" + #Desktop + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.desktop" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -name "*.desktop" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" sh -c 'cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.desktop"' + fi + sed '/.*DBusActivatable.*/I d' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed -E 's/\s+setup\s+/ /Ig' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed "s/Icon=[^ ]*/Icon=${PKG}/" -i "${SBUILD_OUTDIR}/${PKG}.desktop" + #Icon + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.png" && ! -s "${SBUILD_OUTDIR}/${PKG}.svg" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -type f,l -regex '.*\.\(png\|svg\)' \ + -not -regex '.*\(favicon\|/\(16x16\|22x22\|24x24\|32x32\|36x36\|48x48\|64x64\|72x72\|96x96\)/\).*' \ + | awk '{print length, $0}' | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + if [[ ! -f "${SBUILD_OUTDIR}/${PKG}.png" || $(stat -c%s "${SBUILD_OUTDIR}/${PKG}.png") -le 3 ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -regex ".*\(128x128/apps\|256x256\)/.*${PKG}.*\.\(png\|svg\)" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + fi + cp -fv "${SBUILD_OUTDIR}/${PKG}.png" "${SBUILD_OUTDIR}/.DirIcon" + fi + #Appstream + curl -qfsSL "https://invent.kde.org/graphics/krita/-/raw/master/krita/org.kde.krita.appdata.xml" -o "${SBUILD_OUTDIR}/${PKG}.appdata.xml" \ No newline at end of file diff --git a/packages/lact/assets/default.png b/packages/lact/assets/default.png new file mode 100644 index 000000000..fdec827aa Binary files /dev/null and b/packages/lact/assets/default.png differ diff --git a/packages/lact/assets/default.svg b/packages/lact/assets/default.svg new file mode 100644 index 000000000..45dca1e40 --- /dev/null +++ b/packages/lact/assets/default.svg @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/lact/runimage.cachyos.stable.yaml b/packages/lact/runimage.cachyos.stable.yaml new file mode 100644 index 000000000..df08d2524 --- /dev/null +++ b/packages/lact/runimage.cachyos.stable.yaml @@ -0,0 +1,112 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/lact/runimage.cachyos.stable.yaml +_disabled: false + +pkg: "lact" +pkg_id: "runimage.cachyos.lact" +pkg_type: "runimage" +app_id: "io.github.lact-linux" +category: + - "Utility" +description: "Linux GPU Control Application" +desktop: + url: "https://raw.githubusercontent.com/ilya-zlobintsev/LACT/refs/heads/master/res/io.github.lact-linux.desktop" +distro_pkg: + archlinux: + aur: + - "lact" + - "lact-bin" + - "lact-git" + extra: + - "lact" + nixpkgs: + - "lact" +homepage: + - "https://github.com/ilya-zlobintsev/LACT" +icon: + url: "https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/lact/assets/default.png" +license: + - id: "MIT" + url: "https://github.com/ilya-zlobintsev/LACT/raw/2ed9e1fb34aea533b1b7d05aad53a8b3e82fd817/LICENSE" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "[DO NOT RUN] (Meant for pkgforge CI Only)" + - "Built Using RunImage [cachyos]. Check/Report @ https://github.com/VHSgunzo/runimage" + - "Learn more @ https://docs.pkgforge.dev/formats/packages/runimage" + - "[PORTABLE] (Works on AnyLinux)" +provides: + - "lact" +repology: + - "lact" +src_url: + - "https://archlinux.org/packages/extra/x86_64/lact/" +tag: + - "gpu" + - "Utility" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://gitlab.archlinux.org/archlinux/packaging/packages/lact/-/raw/main/PKGBUILD" | sed -n 's/^pkgver=//p' | tr -d '[:space:]' + run: | + #Get BaseImage + curl -qfsSL "https://github.com/pkgforge-dev/runimage-base/releases/download/cachyos_$(uname -m)/runimage" -o "${SBUILD_TMPDIR}/runimage" + chmod -v 'a+x' "${SBUILD_TMPDIR}/runimage" + [[ -s "${SBUILD_TMPDIR}/runimage" ]] || exit 1 + #Deps + build_image() + { + #Requirements + pacman -y --sync --refresh --refresh --sysupgrade --noconfirm + BASE_PKGS=(glibc gtk4 hwdata vulkan-radeon) + #pacman -S "${BASE_PKGS[@]}" --needed --noconfirm + for pkg in "${BASE_PKGS[@]}"; do pacman -S "${pkg}" --needed --noconfirm 2>/dev/null; done + #Main Package + pacman -S "lact" --noconfirm + command -v "lact" >/dev/null 2>&1 || exit 1 + #Debloat & Shrink + pacman -Ql "lact" + pacman -Rsn base-devel --noconfirm 2>/dev/null + pacman -Rsn perl --noconfirm 2>/dev/null + pacman -Rsn python --noconfirm 2>/dev/null + pacman -Scc --noconfirm ; yay -Scc --noconfirm + rim-shrink --all + #Config + #echo 'RIM_AUTORUN="${RIM_AUTORUN:=lact}"' > "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_LVL="${RIM_CMPRS_LVL:=22}"' > "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_BSIZE="${RIM_CMPRS_BSIZE:=24}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_ICONS="${RIM_SHARE_ICONS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_FONTS="${RIM_SHARE_FONTS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_THEMES="${RIM_SHARE_THEMES:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_UPDATE_SHRINK="${RIM_UPDATE_SHRINK:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SYS_NVLIBS="${RIM_SYS_NVLIBS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + #Rebuild [Dwarfs ZSTD 22] + rim-build --bsize '24' --clvl '22' --dwfs "${SBUILD_OUTDIR}/${PKG}" + } + export -f build_image + #Build + RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ + "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } + #Extract Metadata + "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list + HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "lact.*" + #Desktop + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.desktop" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -name "*.desktop" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" sh -c 'cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.desktop"' + fi + sed '/.*DBusActivatable.*/I d' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed -E 's/\s+setup\s+/ /Ig' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed "s/Icon=[^ ]*/Icon=${PKG}/" -i "${SBUILD_OUTDIR}/${PKG}.desktop" + #Icon + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.png" && ! -s "${SBUILD_OUTDIR}/${PKG}.svg" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -type f,l -regex '.*\.\(png\|svg\)' \ + -not -regex '.*\(favicon\|/\(16x16\|22x22\|24x24\|32x32\|36x36\|48x48\|64x64\|72x72\|96x96\)/\).*' \ + | awk '{print length, $0}' | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + if [[ ! -f "${SBUILD_OUTDIR}/${PKG}.png" || $(stat -c%s "${SBUILD_OUTDIR}/${PKG}.png") -le 3 ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -regex ".*\(128x128/apps\|256x256\)/.*${PKG}.*\.\(png\|svg\)" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + fi + cp -fv "${SBUILD_OUTDIR}/${PKG}.png" "${SBUILD_OUTDIR}/.DirIcon" + fi \ No newline at end of file diff --git a/packages/lazarus/runimage.cachyos.stable.yaml b/packages/lazarus/runimage.cachyos.stable.yaml index 7448ab8d3..7650a19b3 100644 --- a/packages/lazarus/runimage.cachyos.stable.yaml +++ b/packages/lazarus/runimage.cachyos.stable.yaml @@ -93,6 +93,7 @@ x_exec: #Build RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } #Extract Metadata "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "lazarus.*" diff --git a/packages/lazarus/runimage.debian.stable.yaml b/packages/lazarus/runimage.debian.stable.yaml index 9fc143c49..0fe137441 100644 --- a/packages/lazarus/runimage.debian.stable.yaml +++ b/packages/lazarus/runimage.debian.stable.yaml @@ -99,6 +99,7 @@ x_exec: #Build RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } #Extract Metadata "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "lazarus.*" diff --git a/packages/libreoffice/appimage.official.fresh-basic.yaml b/packages/libreoffice/appimage.official.fresh-basic.yaml new file mode 100644 index 000000000..4ed314053 --- /dev/null +++ b/packages/libreoffice/appimage.official.fresh-basic.yaml @@ -0,0 +1,72 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/libreoffice/appimage.official.fresh-basic.yaml +_disabled: false + +pkg: "libreoffice" +pkg_id: "gitlab.com.libreoffice.libreoffice.fresh-basic" +pkg_type: "appimage" +app_id: "org.libreoffice.LibreOffice" +#build_util: +# - "curl#bin" +# - "jq#bin" +category: + - "Office" +description: "A free and open source painting application (fresh-basic)" +distro_pkg: + alpine: + - "libreoffice" + archlinux: + aur: + - "libreoffice-git" + extra: + - "libreoffice" + debian: + - "libreoffice" + gnuguix: + - "libreoffice" + homebrew: + - "libreoffice" + nixpkgs: + - "libreoffice" + - "libreoffice-beta" +homepage: + - "https://libreoffice.org" + - "https://cgit.freedesktop.org/libreoffice/core/tree/" + - "https://github.com/LibreOffice/core" +license: + - id: "GPL-3.0" + url: "https://cgit.freedesktop.org/libreoffice/core/plain/COPYING" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "Pre Built AppImage Fetched from Upstream. Check/Report @ https://libreoffice.org" + - "This version is the latest LibreOffice major release" + - "This version includes support only for the default language i.e English (US)" +provides: + - "libreoffice" +repology: + - "libreoffice" +src_url: + - "https://www.libreoffice.org/download/appimage/" +tag: + - "office" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://downloadarchive.documentfoundation.org/libreoffice/old/latest/src/" |\ + grep -i 'tar.xz' | grep -o '[0-9]\+\(\.[0-9]\+\)\+' | sed 's/href="//' | sed 's/"$//' |\ + sort --version-sort | tr -d "[:alpha:]" | awk -F'[-]' '{print $1}' |\ + sort --version-sort | tail -n 1 | tr -d '[:space:]' + run: | + #Download + case "$(uname -m)" in + aarch64) + echo -e "\n[✗] aarch64 is Not Yet Supported\n" + exit 1 + ;; + x86_64) + soar dl "https://appimages.libreitalia.org/LibreOffice-fresh.basic-$(uname -m).AppImage" -o "./${PKG}" --yes + ;; + esac \ No newline at end of file diff --git a/packages/libreoffice/appimage.official.fresh-full.yaml b/packages/libreoffice/appimage.official.fresh-full.yaml new file mode 100644 index 000000000..677697d6c --- /dev/null +++ b/packages/libreoffice/appimage.official.fresh-full.yaml @@ -0,0 +1,72 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/libreoffice/appimage.official.fresh-full.yaml +_disabled: false + +pkg: "libreoffice" +pkg_id: "gitlab.com.libreoffice.libreoffice.fresh-full" +pkg_type: "appimage" +app_id: "org.libreoffice.LibreOffice" +#build_util: +# - "curl#bin" +# - "jq#bin" +category: + - "Office" +description: "A free and open source painting application (fresh-full)" +distro_pkg: + alpine: + - "libreoffice" + archlinux: + aur: + - "libreoffice-git" + extra: + - "libreoffice" + debian: + - "libreoffice" + gnuguix: + - "libreoffice" + homebrew: + - "libreoffice" + nixpkgs: + - "libreoffice" + - "libreoffice-beta" +homepage: + - "https://libreoffice.org" + - "https://cgit.freedesktop.org/libreoffice/core/tree/" + - "https://github.com/LibreOffice/core" +license: + - id: "GPL-3.0" + url: "https://cgit.freedesktop.org/libreoffice/core/plain/COPYING" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "Pre Built AppImage Fetched from Upstream. Check/Report @ https://libreoffice.org" + - "This version is the latest LibreOffice major release" + - "This version includes support for all languages supported by LibreOffice" +provides: + - "libreoffice" +repology: + - "libreoffice" +src_url: + - "https://www.libreoffice.org/download/appimage/" +tag: + - "office" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://downloadarchive.documentfoundation.org/libreoffice/old/latest/src/" |\ + grep -i 'tar.xz' | grep -o '[0-9]\+\(\.[0-9]\+\)\+' | sed 's/href="//' | sed 's/"$//' |\ + sort --version-sort | tr -d "[:alpha:]" | awk -F'[-]' '{print $1}' |\ + sort --version-sort | tail -n 1 | tr -d '[:space:]' + run: | + #Download + case "$(uname -m)" in + aarch64) + echo -e "\n[✗] aarch64 is Not Yet Supported\n" + exit 1 + ;; + x86_64) + soar dl "https://appimages.libreitalia.org/LibreOffice-fresh.full-$(uname -m).AppImage" -o "./${PKG}" --yes + ;; + esac \ No newline at end of file diff --git a/packages/libreoffice/appimage.official.fresh-standard.yaml b/packages/libreoffice/appimage.official.fresh-standard.yaml new file mode 100644 index 000000000..800ae7437 --- /dev/null +++ b/packages/libreoffice/appimage.official.fresh-standard.yaml @@ -0,0 +1,72 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/libreoffice/appimage.official.fresh-standard.yaml +_disabled: false + +pkg: "libreoffice" +pkg_id: "gitlab.com.libreoffice.libreoffice.fresh-standard" +pkg_type: "appimage" +app_id: "org.libreoffice.LibreOffice" +#build_util: +# - "curl#bin" +# - "jq#bin" +category: + - "Office" +description: "A free and open source painting application (fresh-standard)" +distro_pkg: + alpine: + - "libreoffice" + archlinux: + aur: + - "libreoffice-git" + extra: + - "libreoffice" + debian: + - "libreoffice" + gnuguix: + - "libreoffice" + homebrew: + - "libreoffice" + nixpkgs: + - "libreoffice" + - "libreoffice-beta" +homepage: + - "https://libreoffice.org" + - "https://cgit.freedesktop.org/libreoffice/core/tree/" + - "https://github.com/LibreOffice/core" +license: + - id: "GPL-3.0" + url: "https://cgit.freedesktop.org/libreoffice/core/plain/COPYING" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "Pre Built AppImage Fetched from Upstream. Check/Report @ https://libreoffice.org" + - "This version is the latest LibreOffice major release" + - "This version includes support for: English (US and GB), Arabic, Chinese (Simplified and Traditional), French, German, Italian, Japanese, Korean, Portuguese (Brazilian and Portugal), Russian, and Spanish" +provides: + - "libreoffice" +repology: + - "libreoffice" +src_url: + - "https://www.libreoffice.org/download/appimage/" +tag: + - "office" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://downloadarchive.documentfoundation.org/libreoffice/old/latest/src/" |\ + grep -i 'tar.xz' | grep -o '[0-9]\+\(\.[0-9]\+\)\+' | sed 's/href="//' | sed 's/"$//' |\ + sort --version-sort | tr -d "[:alpha:]" | awk -F'[-]' '{print $1}' |\ + sort --version-sort | tail -n 1 | tr -d '[:space:]' + run: | + #Download + case "$(uname -m)" in + aarch64) + echo -e "\n[✗] aarch64 is Not Yet Supported\n" + exit 1 + ;; + x86_64) + soar dl "https://appimages.libreitalia.org/LibreOffice-fresh.standard-$(uname -m).AppImage" -o "./${PKG}" --yes + ;; + esac \ No newline at end of file diff --git a/packages/libreoffice/appimage.official.still-basic.yaml b/packages/libreoffice/appimage.official.still-basic.yaml new file mode 100644 index 000000000..11c04d86f --- /dev/null +++ b/packages/libreoffice/appimage.official.still-basic.yaml @@ -0,0 +1,72 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/libreoffice/appimage.official.still-basic.yaml +_disabled: false + +pkg: "libreoffice" +pkg_id: "gitlab.com.libreoffice.libreoffice.still-basic" +pkg_type: "appimage" +app_id: "org.libreoffice.LibreOffice" +#build_util: +# - "curl#bin" +# - "jq#bin" +category: + - "Office" +description: "A free and open source painting application (still-basic)" +distro_pkg: + alpine: + - "libreoffice" + archlinux: + aur: + - "libreoffice-git" + extra: + - "libreoffice" + debian: + - "libreoffice" + gnuguix: + - "libreoffice" + homebrew: + - "libreoffice" + nixpkgs: + - "libreoffice" + - "libreoffice-beta" +homepage: + - "https://libreoffice.org" + - "https://cgit.freedesktop.org/libreoffice/core/tree/" + - "https://github.com/LibreOffice/core" +license: + - id: "GPL-3.0" + url: "https://cgit.freedesktop.org/libreoffice/core/plain/COPYING" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "Pre Built AppImage Fetched from Upstream. Check/Report @ https://libreoffice.org" + - "This version is the previous LibreOffice major release" + - "This version includes support only for the default language i.e English (US)" +provides: + - "libreoffice" +repology: + - "libreoffice" +src_url: + - "https://www.libreoffice.org/download/appimage/" +tag: + - "office" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://downloadarchive.documentfoundation.org/libreoffice/old/latest/src/" |\ + grep -i 'tar.xz' | grep -o '[0-9]\+\(\.[0-9]\+\)\+' | sed 's/href="//' | sed 's/"$//' |\ + sort --version-sort | tr -d "[:alpha:]" | awk -F'[-]' '{print $1}' |\ + sort --version-sort | tail -n 1 | tr -d '[:space:]' + run: | + #Download + case "$(uname -m)" in + aarch64) + echo -e "\n[✗] aarch64 is Not Yet Supported\n" + exit 1 + ;; + x86_64) + soar dl "https://appimages.libreitalia.org/LibreOffice-still.basic-$(uname -m).AppImage" -o "./${PKG}" --yes + ;; + esac \ No newline at end of file diff --git a/packages/libreoffice/appimage.official.still-full.yaml b/packages/libreoffice/appimage.official.still-full.yaml new file mode 100644 index 000000000..a8d55f5a1 --- /dev/null +++ b/packages/libreoffice/appimage.official.still-full.yaml @@ -0,0 +1,72 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/libreoffice/appimage.official.still-full.yaml +_disabled: false + +pkg: "libreoffice" +pkg_id: "gitlab.com.libreoffice.libreoffice.still-full" +pkg_type: "appimage" +app_id: "org.libreoffice.LibreOffice" +#build_util: +# - "curl#bin" +# - "jq#bin" +category: + - "Office" +description: "A free and open source painting application (still-full)" +distro_pkg: + alpine: + - "libreoffice" + archlinux: + aur: + - "libreoffice-git" + extra: + - "libreoffice" + debian: + - "libreoffice" + gnuguix: + - "libreoffice" + homebrew: + - "libreoffice" + nixpkgs: + - "libreoffice" + - "libreoffice-beta" +homepage: + - "https://libreoffice.org" + - "https://cgit.freedesktop.org/libreoffice/core/tree/" + - "https://github.com/LibreOffice/core" +license: + - id: "GPL-3.0" + url: "https://cgit.freedesktop.org/libreoffice/core/plain/COPYING" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "Pre Built AppImage Fetched from Upstream. Check/Report @ https://libreoffice.org" + - "This version is the previous LibreOffice major release" + - "This version includes support for all languages supported by LibreOffice" +provides: + - "libreoffice" +repology: + - "libreoffice" +src_url: + - "https://www.libreoffice.org/download/appimage/" +tag: + - "office" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://downloadarchive.documentfoundation.org/libreoffice/old/latest/src/" |\ + grep -i 'tar.xz' | grep -o '[0-9]\+\(\.[0-9]\+\)\+' | sed 's/href="//' | sed 's/"$//' |\ + sort --version-sort | tr -d "[:alpha:]" | awk -F'[-]' '{print $1}' |\ + sort --version-sort | tail -n 1 | tr -d '[:space:]' + run: | + #Download + case "$(uname -m)" in + aarch64) + echo -e "\n[✗] aarch64 is Not Yet Supported\n" + exit 1 + ;; + x86_64) + soar dl "https://appimages.libreitalia.org/LibreOffice-still.full-$(uname -m).AppImage" -o "./${PKG}" --yes + ;; + esac \ No newline at end of file diff --git a/packages/libreoffice/appimage.official.still-standard.yaml b/packages/libreoffice/appimage.official.still-standard.yaml new file mode 100644 index 000000000..a37eba977 --- /dev/null +++ b/packages/libreoffice/appimage.official.still-standard.yaml @@ -0,0 +1,72 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/libreoffice/appimage.official.still-standard.yaml +_disabled: false + +pkg: "libreoffice" +pkg_id: "gitlab.com.libreoffice.libreoffice.still-standard" +pkg_type: "appimage" +app_id: "org.libreoffice.LibreOffice" +#build_util: +# - "curl#bin" +# - "jq#bin" +category: + - "Office" +description: "A free and open source painting application (still-standard)" +distro_pkg: + alpine: + - "libreoffice" + archlinux: + aur: + - "libreoffice-git" + extra: + - "libreoffice" + debian: + - "libreoffice" + gnuguix: + - "libreoffice" + homebrew: + - "libreoffice" + nixpkgs: + - "libreoffice" + - "libreoffice-beta" +homepage: + - "https://libreoffice.org" + - "https://cgit.freedesktop.org/libreoffice/core/tree/" + - "https://github.com/LibreOffice/core" +license: + - id: "GPL-3.0" + url: "https://cgit.freedesktop.org/libreoffice/core/plain/COPYING" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "Pre Built AppImage Fetched from Upstream. Check/Report @ https://libreoffice.org" + - "This version is the previous LibreOffice major release" + - "This version includes support for: English (US and GB), Arabic, Chinese (Simplified and Traditional), French, German, Italian, Japanese, Korean, Portuguese (Brazilian and Portugal), Russian, and Spanish" +provides: + - "libreoffice" +repology: + - "libreoffice" +src_url: + - "https://www.libreoffice.org/download/appimage/" +tag: + - "office" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://downloadarchive.documentfoundation.org/libreoffice/old/latest/src/" |\ + grep -i 'tar.xz' | grep -o '[0-9]\+\(\.[0-9]\+\)\+' | sed 's/href="//' | sed 's/"$//' |\ + sort --version-sort | tr -d "[:alpha:]" | awk -F'[-]' '{print $1}' |\ + sort --version-sort | tail -n 1 | tr -d '[:space:]' + run: | + #Download + case "$(uname -m)" in + aarch64) + echo -e "\n[✗] aarch64 is Not Yet Supported\n" + exit 1 + ;; + x86_64) + soar dl "https://appimages.libreitalia.org/LibreOffice-still.standard-$(uname -m).AppImage" -o "./${PKG}" --yes + ;; + esac \ No newline at end of file diff --git a/packages/libreoffice/assets/default.png b/packages/libreoffice/assets/default.png new file mode 100644 index 000000000..0a31453c0 Binary files /dev/null and b/packages/libreoffice/assets/default.png differ diff --git a/packages/libresprite/assets/default.png b/packages/libresprite/assets/default.png new file mode 100644 index 000000000..85dd44ed1 Binary files /dev/null and b/packages/libresprite/assets/default.png differ diff --git a/packages/libresprite/runimage.cachyos.stable.yaml b/packages/libresprite/runimage.cachyos.stable.yaml new file mode 100644 index 000000000..2f62228be --- /dev/null +++ b/packages/libresprite/runimage.cachyos.stable.yaml @@ -0,0 +1,115 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/libresprite/runimage.cachyos.stable.yaml +_disabled: false + +pkg: "libresprite" +pkg_id: "runimage.cachyos.libresprite" +pkg_type: "runimage" +app_id: "io.github.libresprite.libresprite" +category: + - "Utility" +description: "Animated sprite editor & pixel art tool" +desktop: + url: "https://raw.githubusercontent.com/LibreSprite/LibreSprite/refs/heads/master/desktop/libresprite.desktop" +distro_pkg: + archlinux: + aur: + - "libresprite" + - "libresprite-bin" + - "libresprite-git" + gnuguix: + - "libresprite" + nixpkgs: + - "libresprite" +homepage: + - "https://libresprite.github.io" + - "https://github.com/LibreSprite/LibreSprite" +icon: + #url: "https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/libresprite/assets/default.png" + url: "https://raw.githubusercontent.com/LibreSprite/LibreSprite/refs/heads/master/desktop/icons/hicolor/256x256/apps/libresprite.png" +license: + - id: "GPL-2.0" + url: "https://github.com/LibreSprite/LibreSprite/raw/fda1e4281ccd3a0b5cbf37db4ef408d22d0b44dc/LICENSE.txt" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "[DO NOT RUN] (Meant for pkgforge CI Only)" + - "Built Using RunImage [cachyos]. Check/Report @ https://github.com/VHSgunzo/runimage" + - "Learn more @ https://docs.pkgforge.dev/formats/packages/runimage" + - "[PORTABLE] (Works on AnyLinux)" +provides: + - "libresprite" +repology: + - "libresprite" +src_url: + - "https://aur.archlinux.org/packages/libresprite-git" +tag: + - "editor" + - "graphics" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=libresprite-git" | sed -n 's/^pkgver=//p' | tr -d '[:space:]' + run: | + #Get BaseImage + curl -qfsSL "https://github.com/pkgforge-dev/runimage-base/releases/download/cachyos_$(uname -m)/runimage" -o "${SBUILD_TMPDIR}/runimage" + chmod -v 'a+x' "${SBUILD_TMPDIR}/runimage" + [[ -s "${SBUILD_TMPDIR}/runimage" ]] || exit 1 + #Deps + build_image() + { + #Requirements + pacman -y --sync --refresh --refresh --sysupgrade --noconfirm + BASE_PKGS=(curl freetype2 giflib libarchive libjpeg-turbo libpng libwebp libxcb libxi pixman sdl2 sdl2_image tinyxml2 zlib) + #pacman -S "${BASE_PKGS[@]}" --needed --noconfirm + for pkg in "${BASE_PKGS[@]}"; do pacman -S "${pkg}" --needed --noconfirm 2>/dev/null; done + #Main Package + pacman -Sy "chaotic-aur/libresprite-git" --noconfirm + pacman -Ql "libresprite-git" + command -v "libresprite" >/dev/null 2>&1 || exit 1 + #Debloat & Shrink + pacman -Rsn base-devel --noconfirm 2>/dev/null + pacman -Rsn perl --noconfirm 2>/dev/null + pacman -Rsn python --noconfirm 2>/dev/null + pacman -Scc --noconfirm ; yay -Scc --noconfirm + rim-shrink --all + #Config + echo 'RIM_CMPRS_LVL="${RIM_CMPRS_LVL:=22}"' > "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_BSIZE="${RIM_CMPRS_BSIZE:=24}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_ICONS="${RIM_SHARE_ICONS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_FONTS="${RIM_SHARE_FONTS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_THEMES="${RIM_SHARE_THEMES:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_UPDATE_SHRINK="${RIM_UPDATE_SHRINK:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SYS_NVLIBS="${RIM_SYS_NVLIBS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + #Rebuild [Dwarfs ZSTD 22] + rim-build --bsize '24' --clvl '22' --dwfs "${SBUILD_OUTDIR}/${PKG}" + } + export -f build_image + #Build + RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ + "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } + #Extract Metadata + "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list + HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "libre.*" + #Desktop + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.desktop" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -name "*.desktop" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" sh -c 'cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.desktop"' + fi + sed '/.*DBusActivatable.*/I d' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed -E 's/\s+setup\s+/ /Ig' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed "s/Icon=[^ ]*/Icon=${PKG}/" -i "${SBUILD_OUTDIR}/${PKG}.desktop" + #Icon + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.png" && ! -s "${SBUILD_OUTDIR}/${PKG}.svg" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -type f,l -regex '.*\.\(png\|svg\)' \ + -not -regex '.*\(favicon\|/\(16x16\|22x22\|24x24\|32x32\|36x36\|48x48\|64x64\|72x72\|96x96\)/\).*' \ + | awk '{print length, $0}' | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + if [[ ! -f "${SBUILD_OUTDIR}/${PKG}.png" || $(stat -c%s "${SBUILD_OUTDIR}/${PKG}.png") -le 3 ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -regex ".*\(128x128/apps\|256x256\)/.*${PKG}.*\.\(png\|svg\)" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + fi + cp -fv "${SBUILD_OUTDIR}/${PKG}.png" "${SBUILD_OUTDIR}/.DirIcon" + fi + #Appstream + curl -qfsSL "https://raw.githubusercontent.com/LibreSprite/LibreSprite/refs/heads/master/desktop/io.github.libresprite.libresprite.metainfo.xml" -o "${SBUILD_OUTDIR}/${PKG}.appdata.xml" \ No newline at end of file diff --git a/packages/librewolf/runimage.cachyos.stable.yaml b/packages/librewolf/runimage.cachyos.stable.yaml index d4594d6f0..26d1285b9 100644 --- a/packages/librewolf/runimage.cachyos.stable.yaml +++ b/packages/librewolf/runimage.cachyos.stable.yaml @@ -98,6 +98,7 @@ x_exec: #Build RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_UNSHARE_USERS="1" \ "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } #Extract Metadata "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "librewolf.*" diff --git a/packages/mcpelauncher/assets/default.png b/packages/mcpelauncher/assets/default.png index 93385fdb5..e3163d1e9 100644 Binary files a/packages/mcpelauncher/assets/default.png and b/packages/mcpelauncher/assets/default.png differ diff --git a/packages/mcpelauncher/assets/default.svg b/packages/mcpelauncher/assets/default.svg new file mode 100644 index 000000000..2390b0a77 --- /dev/null +++ b/packages/mcpelauncher/assets/default.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/mcpelauncher/assets/mcpelauncher.png b/packages/mcpelauncher/assets/mcpelauncher.png deleted file mode 100644 index 93385fdb5..000000000 Binary files a/packages/mcpelauncher/assets/mcpelauncher.png and /dev/null differ diff --git a/packages/mcpelauncher/runimage.cachyos.stable.yaml b/packages/mcpelauncher/runimage.cachyos.stable.yaml new file mode 100644 index 000000000..a1cbc5d18 --- /dev/null +++ b/packages/mcpelauncher/runimage.cachyos.stable.yaml @@ -0,0 +1,119 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/mcpelauncher/runimage.cachyos.stable.yaml +_disabled: false + +pkg: "mcpelauncher" +pkg_id: "runimage.cachyos.mcpelauncher" +pkg_type: "runimage" +app_id: "io.mrarm.mcpelauncher" +category: + - "Utility" +description: "Minecraft Bedrock Launcher for Linux" +desktop: + url: "https://raw.githubusercontent.com/minecraft-linux/mcpelauncher-ui-qt/6d0932f4f9f670ddd1f2d1496f60c4dff8fafd6b/mcpelauncher-ui-qt.desktop" +distro_pkg: + archlinux: + aur: + - "mcpelauncher" + - "mcpelauncher-bin" + - "mcpelauncher-linux-git" + gnuguix: + - "mcpelauncher" + nixpkgs: + - "mcpelauncher" +homepage: + - "https://mcpelauncher.github.io" + - "https://github.com/minecraft-linux/mcpelauncher-manifest" +icon: + url: "https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/mcpelauncher/assets/default.png" +license: + - id: "GPL-3.0" + url: "https://github.com/minecraft-linux/mcpelauncher-ui-qt/raw/6d0932f4f9f670ddd1f2d1496f60c4dff8fafd6b/LICENSE" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "[DO NOT RUN] (Meant for pkgforge CI Only)" + - "Built Using RunImage [cachyos]. Check/Report @ https://github.com/VHSgunzo/runimage" + - "Learn more @ https://docs.pkgforge.dev/formats/packages/runimage" + - "[PORTABLE] (Works on AnyLinux)" +provides: + - "mcpelauncher=>mcpelauncher-client" + - "mcpelauncher=>mcpelauncher-error" + - "mcpelauncher=>mcpelauncher-webview" + - "mcpelauncher=>mcpelauncher-extract" + - "mcpelauncher=>mcpelauncher-ui-qt" +repology: + - "mcpelauncher" +src_url: + - "https://aur.archlinux.org/packages/mcpelauncher-linux-git" +tag: + - "editor" + - "graphics" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=mcpelauncher-linux-git" | sed -n 's/^pkgver=//p' | tr -d '[:space:]' + run: | + #Get BaseImage + curl -qfsSL "https://github.com/pkgforge-dev/runimage-base/releases/download/cachyos_$(uname -m)/runimage" -o "${SBUILD_TMPDIR}/runimage" + chmod -v 'a+x' "${SBUILD_TMPDIR}/runimage" + [[ -s "${SBUILD_TMPDIR}/runimage" ]] || exit 1 + #Deps + build_image() + { + #Requirements + pacman -y --sync --refresh --refresh --sysupgrade --noconfirm + BASE_PKGS=(curl libegl libevdev libpng libuv libxcursor libxi libxinerama libxrandr libx11 libzip mcpelauncher-client qt6-base qt6-declarative qt6-svg qt6-webengine zlib) + #pacman -S "${BASE_PKGS[@]}" --needed --noconfirm + for pkg in "${BASE_PKGS[@]}"; do pacman -S "${pkg}" --needed --noconfirm 2>/dev/null; done + #Main Package + pacman -Sy "chaotic-aur/mcpelauncher-linux-git" --noconfirm + pacman -Sy "chaotic-aur/mcpelauncher-ui-git" --noconfirm + pacman -Ql "mcpelauncher-linux-git" + pacman -Ql "mcpelauncher-ui-git" + command -v "mcpelauncher-client" >/dev/null 2>&1 || exit 1 + command -v "mcpelauncher-ui-qt" >/dev/null 2>&1 || exit 1 + #Debloat & Shrink + pacman -Rsn base-devel --noconfirm 2>/dev/null + pacman -Rsn perl --noconfirm 2>/dev/null + pacman -Rsn python --noconfirm 2>/dev/null + pacman -Scc --noconfirm ; yay -Scc --noconfirm + rim-shrink --all + #Config + echo 'RIM_CMPRS_LVL="${RIM_CMPRS_LVL:=22}"' > "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_BSIZE="${RIM_CMPRS_BSIZE:=24}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_ICONS="${RIM_SHARE_ICONS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_FONTS="${RIM_SHARE_FONTS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_THEMES="${RIM_SHARE_THEMES:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_UPDATE_SHRINK="${RIM_UPDATE_SHRINK:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SYS_NVLIBS="${RIM_SYS_NVLIBS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + #Rebuild [Dwarfs ZSTD 22] + rim-build --bsize '24' --clvl '22' --dwfs "${SBUILD_OUTDIR}/${PKG}" + } + export -f build_image + #Build + RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ + "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } + #Extract Metadata + "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list + HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "mine.*" + #Desktop + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.desktop" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -name "*.desktop" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" sh -c 'cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.desktop"' + fi + sed '/.*DBusActivatable.*/I d' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed -E 's/\s+setup\s+/ /Ig' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed "s/Icon=[^ ]*/Icon=${PKG}/" -i "${SBUILD_OUTDIR}/${PKG}.desktop" + #Icon + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.png" && ! -s "${SBUILD_OUTDIR}/${PKG}.svg" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -type f,l -regex '.*\.\(png\|svg\)' \ + -not -regex '.*\(favicon\|/\(16x16\|22x22\|24x24\|32x32\|36x36\|48x48\|64x64\|72x72\|96x96\)/\).*' \ + | awk '{print length, $0}' | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + if [[ ! -f "${SBUILD_OUTDIR}/${PKG}.png" || $(stat -c%s "${SBUILD_OUTDIR}/${PKG}.png") -le 3 ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -regex ".*\(128x128/apps\|256x256\)/.*${PKG}.*\.\(png\|svg\)" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + fi + cp -fv "${SBUILD_OUTDIR}/${PKG}.png" "${SBUILD_OUTDIR}/.DirIcon" + fi \ No newline at end of file diff --git a/packages/nheko/assets/default.png b/packages/nheko/assets/default.png index 2115e3a05..4b6ad77d0 100644 Binary files a/packages/nheko/assets/default.png and b/packages/nheko/assets/default.png differ diff --git a/packages/nheko/assets/default.svg b/packages/nheko/assets/default.svg new file mode 100644 index 000000000..8d6d16c1a --- /dev/null +++ b/packages/nheko/assets/default.svg @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/nheko/assets/nheko.png b/packages/nheko/assets/nheko.png deleted file mode 100644 index 2115e3a05..000000000 Binary files a/packages/nheko/assets/nheko.png and /dev/null differ diff --git a/packages/nheko/runimage.cachyos.stable.yaml b/packages/nheko/runimage.cachyos.stable.yaml new file mode 100644 index 000000000..aa935e713 --- /dev/null +++ b/packages/nheko/runimage.cachyos.stable.yaml @@ -0,0 +1,122 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/nheko/runimage.cachyos.stable.yaml +_disabled: false + +pkg: "nheko" +pkg_id: "runimage.cachyos.nheko" +pkg_type: "runimage" +app_id: "im.nheko.Nheko" +category: + - "Utility" +description: "Desktop client for Matrix" +desktop: + url: "https://raw.githubusercontent.com/Nheko-Reborn/nheko/refs/heads/master/resources/nheko.desktop.in" +distro_pkg: + alpine: + - "nheko" + archlinux: + aur: + - "nheko-appimage" + - "nheko-git" + extra: + - "nheko" + debian: + - "nheko" + gnuguix: + - "nheko" + homebrew: + - "nheko" + nixpkgs: + - "nheko" +homepage: + - "https://nheko-reborn.github.io" + - "https://nheko.im/nheko-reborn/nheko" + - "https://github.com/Nheko-Reborn/nheko" +icon: + url: "https://raw.githubusercontent.com/Nheko-Reborn/nheko/refs/heads/master/resources/nheko-1024.png" +license: + - id: "GPL-3.0" + url: "https://github.com/Nheko-Reborn/nheko/raw/8a5a00493682ee677d2a239717bde19cb30ec1a1/COPYING" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "[DO NOT RUN] (Meant for pkgforge CI Only)" + - "Built Using RunImage [cachyos]. Check/Report @ https://github.com/VHSgunzo/runimage" + - "Learn more @ https://docs.pkgforge.dev/formats/packages/runimage" + - "[PORTABLE] (Works on AnyLinux)" +provides: + - "nheko" +repology: + - "nheko" +src_url: + - "https://archlinux.org/packages/extra/x86_64/nheko/" +tag: + - "Chat" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://gitlab.archlinux.org/archlinux/packaging/packages/nheko/-/raw/main/PKGBUILD" | sed -n 's/^pkgver=//p' | tr -d '[:space:]' + run: | + #Get BaseImage + curl -qfsSL "https://github.com/pkgforge-dev/runimage-base/releases/download/cachyos_$(uname -m)/runimage" -o "${SBUILD_TMPDIR}/runimage" + chmod -v 'a+x' "${SBUILD_TMPDIR}/runimage" + [[ -s "${SBUILD_TMPDIR}/runimage" ]] || exit 1 + #Deps + build_image() + { + #Requirements + pacman -y --sync --refresh --refresh --sysupgrade --noconfirm + BASE_PKGS=(gst-libav gst-plugins-base-libs gst-plugins-bad gst-plugins-good gst-plugin-qml6 kimageformats libnice mtxclient spdlog qt6-base qt6-declarative qt6-imageformats qt6-multimedia qt6-svg qt6-jdenticon qtkeychain-qt6) + #pacman -S "${BASE_PKGS[@]}" --needed --noconfirm + for pkg in "${BASE_PKGS[@]}"; do pacman -S "${pkg}" --needed --noconfirm 2>/dev/null; done + #Main Package + pacman -S "nheko" --noconfirm + command -v "nheko" >/dev/null 2>&1 || exit 1 + #Debloat & Shrink + pacman -Ql "nheko" + pacman -Rsn base-devel --noconfirm 2>/dev/null + pacman -Rsn perl --noconfirm 2>/dev/null + pacman -Rsn python --noconfirm 2>/dev/null + pacman -Scc --noconfirm ; yay -Scc --noconfirm + rim-shrink --all + #Config + #echo 'RIM_AUTORUN="${RIM_AUTORUN:=nheko}"' > "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_LVL="${RIM_CMPRS_LVL:=22}"' > "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_BSIZE="${RIM_CMPRS_BSIZE:=24}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_ICONS="${RIM_SHARE_ICONS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_FONTS="${RIM_SHARE_FONTS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_THEMES="${RIM_SHARE_THEMES:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_UPDATE_SHRINK="${RIM_UPDATE_SHRINK:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SYS_NVLIBS="${RIM_SYS_NVLIBS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + #Rebuild [Dwarfs ZSTD 22] + rim-build --bsize '24' --clvl '22' --dwfs "${SBUILD_OUTDIR}/${PKG}" + } + export -f build_image + #Build + RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ + "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } + #Extract Metadata + "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list + HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "nheko.*" + #Desktop + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.desktop" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -name "*.desktop" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" sh -c 'cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.desktop"' + fi + sed '/.*DBusActivatable.*/I d' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed -E 's/\s+setup\s+/ /Ig' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed "s/Icon=[^ ]*/Icon=${PKG}/" -i "${SBUILD_OUTDIR}/${PKG}.desktop" + #Icon + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.png" && ! -s "${SBUILD_OUTDIR}/${PKG}.svg" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -type f,l -regex '.*\.\(png\|svg\)' \ + -not -regex '.*\(favicon\|/\(16x16\|22x22\|24x24\|32x32\|36x36\|48x48\|64x64\|72x72\|96x96\)/\).*' \ + | awk '{print length, $0}' | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + if [[ ! -f "${SBUILD_OUTDIR}/${PKG}.png" || $(stat -c%s "${SBUILD_OUTDIR}/${PKG}.png") -le 3 ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -regex ".*\(128x128/apps\|256x256\)/.*${PKG}.*\.\(png\|svg\)" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + fi + cp -fv "${SBUILD_OUTDIR}/${PKG}.png" "${SBUILD_OUTDIR}/.DirIcon" + fi + #Appstream + curl -qfsSL "https://raw.githubusercontent.com/Nheko-Reborn/nheko/refs/heads/master/resources/nheko.appdata.xml.in" -o "${SBUILD_OUTDIR}/${PKG}.appdata.xml" \ No newline at end of file diff --git a/packages/openboard/assets/default.png b/packages/openboard/assets/default.png new file mode 100644 index 000000000..154e3a2c3 Binary files /dev/null and b/packages/openboard/assets/default.png differ diff --git a/packages/openboard/assets/default.svg b/packages/openboard/assets/default.svg new file mode 100644 index 000000000..42e924872 --- /dev/null +++ b/packages/openboard/assets/default.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/openboard/runimage.cachyos.stable.yaml b/packages/openboard/runimage.cachyos.stable.yaml new file mode 100644 index 000000000..3eaaae2e8 --- /dev/null +++ b/packages/openboard/runimage.cachyos.stable.yaml @@ -0,0 +1,117 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/openboard/runimage.cachyos.stable.yaml +_disabled: false + +pkg: "openboard" +pkg_id: "runimage.cachyos.openboard" +pkg_type: "runimage" +app_id: "ch.openboard.OpenBoard" +category: + - "Utility" +description: "Interactive whiteboard software for schools and universities" +desktop: + url: "https://raw.githubusercontent.com/OpenBoard-org/OpenBoard/refs/heads/master/resources/linux/ch.openboard.OpenBoard.desktop" +distro_pkg: + archlinux: + aur: + - "openboard" + debian: + - "openboard" + gnuguix: + - "openboard" + homebrew: + - "openboard" + nixpkgs: + - "openboard" +homepage: + - "https://openboard.ch/" + - "https://github.com/OpenBoard-org/OpenBoard" +icon: + url: "https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/openboard/assets/default.png" + #url: "https://raw.githubusercontent.com/OpenBoard-org/OpenBoard/refs/heads/master/resources/linux/ch.openboard.application-ubz.svg" +license: + - id: "GPL-3.0" + url: "https://github.com/OpenBoard-org/OpenBoard/raw/9ac523e63a280fe04fbf373a777a6d64489273ad/LICENSE" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "[DO NOT RUN] (Meant for pkgforge CI Only)" + - "Built Using RunImage [cachyos]. Check/Report @ https://github.com/VHSgunzo/runimage" + - "Learn more @ https://docs.pkgforge.dev/formats/packages/runimage" + - "[PORTABLE] (Works on AnyLinux)" +provides: + - "openboard" +repology: + - "openboard" +src_url: + - "https://aur.archlinux.org/packages/openboard" +tag: + - "editor" + - "graphics" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=openboard" | sed -n 's/^pkgver=//p' | tr -d '[:space:]' + run: | + #Get BaseImage + curl -qfsSL "https://github.com/pkgforge-dev/runimage-base/releases/download/cachyos_$(uname -m)/runimage" -o "${SBUILD_TMPDIR}/runimage" + chmod -v 'a+x' "${SBUILD_TMPDIR}/runimage" + [[ -s "${SBUILD_TMPDIR}/runimage" ]] || exit 1 + #Deps + build_image() + { + #Requirements + pacman -y --sync --refresh --refresh --sysupgrade --noconfirm + BASE_PKGS=(ffmpeg openssl poppler qt6-base qt6-declarative qt6-multimedia qt6-svg qt6-webchannel qt6-webengine quazip-qt6) + #pacman -S "${BASE_PKGS[@]}" --needed --noconfirm + for pkg in "${BASE_PKGS[@]}"; do pacman -S "${pkg}" --needed --noconfirm 2>/dev/null; done + #Main Package + pacman -Sy "chaotic-aur/openboard" --noconfirm + pacman -Ql "openboard" + command -v "openboard" >/dev/null 2>&1 || exit 1 + #Debloat & Shrink + pacman -Rsn base-devel --noconfirm 2>/dev/null + pacman -Rsn perl --noconfirm 2>/dev/null + pacman -Rsn python --noconfirm 2>/dev/null + pacman -Scc --noconfirm ; yay -Scc --noconfirm + rim-shrink --all + #Config + echo 'RIM_CMPRS_LVL="${RIM_CMPRS_LVL:=22}"' > "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_BSIZE="${RIM_CMPRS_BSIZE:=24}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_ICONS="${RIM_SHARE_ICONS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_FONTS="${RIM_SHARE_FONTS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_THEMES="${RIM_SHARE_THEMES:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_UPDATE_SHRINK="${RIM_UPDATE_SHRINK:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SYS_NVLIBS="${RIM_SYS_NVLIBS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + #Rebuild [Dwarfs ZSTD 22] + rim-build --bsize '24' --clvl '22' --dwfs "${SBUILD_OUTDIR}/${PKG}" + } + export -f build_image + #Build + RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ + "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } + #Extract Metadata + "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list + HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "open.*" + #Desktop + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.desktop" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -name "*.desktop" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" sh -c 'cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.desktop"' + fi + sed '/.*DBusActivatable.*/I d' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed -E 's/\s+setup\s+/ /Ig' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed "s/Icon=[^ ]*/Icon=${PKG}/" -i "${SBUILD_OUTDIR}/${PKG}.desktop" + #Icon + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.png" && ! -s "${SBUILD_OUTDIR}/${PKG}.svg" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -type f,l -regex '.*\.\(png\|svg\)' \ + -not -regex '.*\(favicon\|/\(16x16\|22x22\|24x24\|32x32\|36x36\|48x48\|64x64\|72x72\|96x96\)/\).*' \ + | awk '{print length, $0}' | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + if [[ ! -f "${SBUILD_OUTDIR}/${PKG}.png" || $(stat -c%s "${SBUILD_OUTDIR}/${PKG}.png") -le 3 ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -regex ".*\(128x128/apps\|256x256\)/.*${PKG}.*\.\(png\|svg\)" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + fi + cp -fv "${SBUILD_OUTDIR}/${PKG}.png" "${SBUILD_OUTDIR}/.DirIcon" + fi + #Appstream + curl -qfsSL "https://raw.githubusercontent.com/OpenBoard-org/OpenBoard/refs/heads/master/resources/linux/ch.openboard.openboard-ubz.xml" -o "${SBUILD_OUTDIR}/${PKG}.appdata.xml" \ No newline at end of file diff --git a/packages/peazip/appimage.ferion11.stable.yaml b/packages/peazip/appimage.ferion11.stable.yaml new file mode 100644 index 000000000..c132182fa --- /dev/null +++ b/packages/peazip/appimage.ferion11.stable.yaml @@ -0,0 +1,62 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/peazip/appimage.ferion11.stable.yaml +_disabled: false + +pkg: "peazip" +pkg_id: "github.com.ferion11.peazip-AppImage" +pkg_type: "appimage" +app_id: "io.github.peazip.PeaZip" +#build_util: +# - "curl#bin" +# - "jq#bin" +category: + - "Utility" +description: "Open Source archive manager and data compression utility" +#desktop: +# url: "https://raw.githubusercontent.com/peazip/PeaZip/refs/heads/sources/peazip-sources/res/share/batch/freedesktop_integration/peazip.desktop" +distro_pkg: + archlinux: + aur: + - "peazip" + nixpkgs: + - "peazip" +homepage: + - "https://peazip.github.io/" + - "https://github.com/peazip/PeaZip" +icon: + url: "https://raw.githubusercontent.com/peazip/PeaZip/refs/heads/sources/peazip-sources/res/share/icons/peazip.png" +license: + - id: "LGPL-3.0" + url: "https://github.com/peazip/PeaZip/raw/6b8096a3bec008cc11f97f0e0d39c14c390182a5/LICENSE" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "Fetched from Pre Built Community Created AppImage. Check/Report @ https://github.com/ferion11/PeaZip_Appimage" +provides: + - "peazip" +repology: + - "peazip" +src_url: + - "https://github.com/ferion11/PeaZip_Appimage" +tag: + - "archive" + - "compression" + - "decompression" + - "p7zip" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://api.gh.pkgforge.dev/repos/ferion11/PeaZip_Appimage/releases?per_page=100" | jq -r '[.[] | select(.draft == false and .prerelease == false)] | .[0].tag_name | gsub("\\s+"; "")' | tr -d '[:space:]' + run: | + #Download + case "$(uname -m)" in + aarch64) + echo -e "\n[✗] aarch64 is Not Yet Supported\n" + exit 1 + ;; + x86_64) + soar dl "https://github.com/ferion11/PeaZip_Appimage@${PKGVER}" --match "appimage" --exclude "aarch64,arm,zsync" -o "./${PKG}" --yes + ;; + esac \ No newline at end of file diff --git a/packages/peazip/appimage.stable.yaml.disabled b/packages/peazip/appimage.stable.yaml.disabled deleted file mode 100644 index 034943fbb..000000000 --- a/packages/peazip/appimage.stable.yaml.disabled +++ /dev/null @@ -1,77 +0,0 @@ -#!/SBUILD -_disabled: false - -pkg: "peazip" -pkg_id: "github.com.ferion11.PeaZip_Appimage" -pkg_type: "appimage" -app_id: "github.com.ferion11.PeaZip_Appimage" -#build_util: -# - "curl#bin" -# - "jq#bin" -category: - - "Utility" -description: "PeaZip Appimage for linux 64bits" -distro_pkg: - archlinux: - aur: - - "peazip" - - "peazip-gtk2-bin" - - "peazip-qt-bin" - nixpkgs: - - "peazip" -homepage: - - "http://peazip.sourceforge.net" - - "http://peazip.sourceforge.net/peazip-linux.html" - - "https://github.com/giorgiotani/PeaZip" - - "https://github.com/peazip/PeaZip" - - "https://peazip.github.io" - - "https://peazip.github.io/peazip-linux.html" - - "https://peazip.sourceforge.net/peazip-linux.html" -maintainer: - - "Azathothas (https://github.com/Azathothas)" -license: - - "GNU Lesser General Public License, version 3.0 or later" - - "GPL" - - "GPL-3.0-only" - - "GPL3" - - "LGPL" - - "LGPL v3, OpenCandy EULA" - - "LGPL-3" - - "LGPL-3.0-only" - - "LGPL-3.0-or-later" - - "LGPL3" - - "LGPLv2.1" - - "LGPLv3" - - "LGPLv3+" - - "freeware" -src_url: - - "https://github.com/ferion11/PeaZip_Appimage" -tag: - - "Applications/Archiving" - - "Archiving/Compression" - - "File" - - "Productivity/Archiving/Compression" - - "Tools" - - "archive" - - "archivers" - - "compressed" - - "system" - - "utilities" - - "utils" - - "x-window" - - "zip" -x_exec: - shell: "bash" - pkgver: | - curl -qfsSL "https://api.gh.pkgforge.dev/repos/ferion11/PeaZip_Appimage/releases?per_page=100" | jq -r '[.[] | select(.draft == false and .prerelease == false)] | .[0].tag_name | gsub("\\s+"; "")' | tr -d '[:space:]' - run: | - #Download - case "$(uname -m)" in - aarch64) - echo -e "\n[✗] aarch64 is Not Yet Supported\n" - exit 1 - ;; - x86_64) - soar dl "https://github.com/ferion11/PeaZip_Appimage" --match "appimage" --exclude "aarch64,arm,zsync" -o "./${PKG}" --yes - ;; - esac diff --git a/packages/peazip/assets/default.png b/packages/peazip/assets/default.png index 753220a9e..9a8f8ee9b 100644 Binary files a/packages/peazip/assets/default.png and b/packages/peazip/assets/default.png differ diff --git a/packages/peazip/assets/peazip.png b/packages/peazip/assets/peazip.png deleted file mode 100644 index 753220a9e..000000000 Binary files a/packages/peazip/assets/peazip.png and /dev/null differ diff --git a/packages/qbittorrent-enhanced/assets/qbittorrent-enhanced.png b/packages/qbittorrent-enhanced/assets/qbittorrent-enhanced.png deleted file mode 100644 index c22951b98..000000000 Binary files a/packages/qbittorrent-enhanced/assets/qbittorrent-enhanced.png and /dev/null differ diff --git a/packages/qbittorrent/appimage.official.beta.yaml b/packages/qbittorrent/appimage.official.beta.yaml new file mode 100644 index 000000000..f57fc8662 --- /dev/null +++ b/packages/qbittorrent/appimage.official.beta.yaml @@ -0,0 +1,83 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/qbittorrent/appimage.official.beta.yaml +_disabled: false + +pkg: "qbittorrent" +pkg_id: "gitlab.com.qbittorrent.qbittorrent.beta" +pkg_type: "appimage" +app_id: "org.qbittorrent.qBittorrent" +#build_util: +# - "curl#bin" +# - "jq#bin" +category: + - "Utility" +description: "A P2P (peer-to-peer) Bittorrent client (Beta)" +#desktop: +# url: "https://raw.githubusercontent.com/qbittorrent/qBittorrent/refs/heads/master/dist/unix/org.qbittorrent.qBittorrent.desktop" +distro_pkg: + alpine: + - "qbittorrent" + archlinux: + aur: + - "qbittorrent-git" + - "qbittorrent-qt5" + extra: + - "qbittorrent" + debian: + - "qbittorrent" + gnuguix: + - "qbittorrent" + homebrew: + - "qbittorrent" + nixpkgs: + - "qbittorrent" + - "qbittorrent-nox" + - "qbittorrent-qt5" +homepage: + - "https://www.qbittorrent.org" + - "https://github.com/qbittorrent/qBittorrent" + - "https://sourceforge.net/projects/qbittorrent" +#icon: +# url: "https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/qbittorrent/assets/default.png" +license: + - id: "GPL-2.0" + url: "https://github.com/qbittorrent/qBittorrent/raw/86387fbe49af0d3bd596678f5d280cab75e5f61e/COPYING.GPLv2" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "Pre Built AppImage Fetched from Upstream. Check/Report @ https://www.qbittorrent.org/download" +provides: + - "qbittorrent" +repology: + - "qbittorrent" +src_url: + - "https://www.qbittorrent.org/download" + - "https://www.fosshub.com/qBittorrent.html" + - "https://sourceforge.net/projects/qbittorrent/files/qbittorrent-appimage" +tag: + - "editor" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://www.qbittorrent.org/download" | grep -Eoi 'https://[^"]+\.AppImage' |\ + grep -Eiv 'aarch|alpha|arm|fosshub|zsync' | grep -i 'beta' | sed 's/href="//' | sed 's/"$//' |\ + sort --version-sort | tail -n 1 | grep -o '[0-9]\+\(\.[0-9]\+\)\+' | tr -d "[:alpha:]" |\ + awk -F'[-]' '{print $1}' | sort --version-sort | tail -n 1 | tr -d '[:space:]' + run: | + #Download + case "$(uname -m)" in + aarch64) + echo -e "\n[✗] aarch64 is Not Yet Supported\n" + exit 1 + ;; + x86_64) + DOWNLOAD_URL="$(curl -qfsSL "https://www.qbittorrent.org/download" | grep -Eoi 'https://[^"]+\.AppImage' |\ + grep -Eiv 'aarch|alpha|arm|fosshub|zsync' | grep -i 'beta' | sed 's/href="//' | sed 's/"$//' |\ + grep -i "${PKGVER}" | sort --version-sort | tail -n 1 | tr -d '[:space:]')" + curl -w "(DL) <== %{url}\n" -qfSL "${DOWNLOAD_URL}" -o "./${PKG}" + ;; + esac + #Appstream + curl -qfsSL "https://raw.githubusercontent.com/qbittorrent/qBittorrent/refs/heads/master/dist/unix/org.qbittorrent.qBittorrent.metainfo.xml" -o "./${PKG}.appdata.xml" \ No newline at end of file diff --git a/packages/qbittorrent/appimage.official.stable.yaml b/packages/qbittorrent/appimage.official.stable.yaml new file mode 100644 index 000000000..1da690329 --- /dev/null +++ b/packages/qbittorrent/appimage.official.stable.yaml @@ -0,0 +1,83 @@ +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/qbittorrent/appimage.official.stable.yaml +_disabled: false + +pkg: "qbittorrent" +pkg_id: "gitlab.com.qbittorrent.qbittorrent.stable" +pkg_type: "appimage" +app_id: "org.qbittorrent.qBittorrent" +#build_util: +# - "curl#bin" +# - "jq#bin" +category: + - "Utility" +description: "A P2P (peer-to-peer) Bittorrent client" +#desktop: +# url: "https://raw.githubusercontent.com/qbittorrent/qBittorrent/refs/heads/master/dist/unix/org.qbittorrent.qBittorrent.desktop" +distro_pkg: + alpine: + - "qbittorrent" + archlinux: + aur: + - "qbittorrent-git" + - "qbittorrent-qt5" + extra: + - "qbittorrent" + debian: + - "qbittorrent" + gnuguix: + - "qbittorrent" + homebrew: + - "qbittorrent" + nixpkgs: + - "qbittorrent" + - "qbittorrent-nox" + - "qbittorrent-qt5" +homepage: + - "https://www.qbittorrent.org" + - "https://github.com/qbittorrent/qBittorrent" + - "https://sourceforge.net/projects/qbittorrent" +#icon: +# url: "https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/qbittorrent/assets/default.png" +license: + - id: "GPL-2.0" + url: "https://github.com/qbittorrent/qBittorrent/raw/86387fbe49af0d3bd596678f5d280cab75e5f61e/COPYING.GPLv2" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "Pre Built AppImage Fetched from Upstream. Check/Report @ https://www.qbittorrent.org/download" +provides: + - "qbittorrent" +repology: + - "qbittorrent" +src_url: + - "https://www.qbittorrent.org/download" + - "https://www.fosshub.com/qBittorrent.html" + - "https://sourceforge.net/projects/qbittorrent/files/qbittorrent-appimage" +tag: + - "editor" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://www.qbittorrent.org/download" | grep -Eoi 'https://[^"]+\.AppImage' |\ + grep -Eiv 'aarch|alpha|arm|beta|fosshub|zsync' | sed 's/href="//' | sed 's/"$//' |\ + sort --version-sort | tail -n 1 | grep -o '[0-9]\+\(\.[0-9]\+\)\+' | tr -d "[:alpha:]" |\ + awk -F'[-]' '{print $1}' | sort --version-sort | tail -n 1 | tr -d '[:space:]' + run: | + #Download + case "$(uname -m)" in + aarch64) + echo -e "\n[✗] aarch64 is Not Yet Supported\n" + exit 1 + ;; + x86_64) + DOWNLOAD_URL="$(curl -qfsSL "https://www.qbittorrent.org/download" | grep -Eoi 'https://[^"]+\.AppImage' |\ + grep -Eiv 'aarch|alpha|arm|beta|fosshub|zsync' | sed 's/href="//' | sed 's/"$//' |\ + grep -i "${PKGVER}" | sort --version-sort | tail -n 1 | tr -d '[:space:]')" + curl -w "(DL) <== %{url}\n" -qfSL "${DOWNLOAD_URL}" -o "./${PKG}" + ;; + esac + #Appstream + curl -qfsSL "https://raw.githubusercontent.com/qbittorrent/qBittorrent/refs/heads/master/dist/unix/org.qbittorrent.qBittorrent.metainfo.xml" -o "./${PKG}.appdata.xml" \ No newline at end of file diff --git a/packages/qbittorrent/assets/default.png b/packages/qbittorrent/assets/default.png new file mode 100644 index 000000000..9310bba38 Binary files /dev/null and b/packages/qbittorrent/assets/default.png differ diff --git a/packages/qbittorrent/assets/default.svg b/packages/qbittorrent/assets/default.svg new file mode 100644 index 000000000..69d8cf62a --- /dev/null +++ b/packages/qbittorrent/assets/default.svg @@ -0,0 +1,16 @@ + + + qbittorrent-new-light + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/scrcpy-plus/assets/default.png b/packages/scrcpy-plus/assets/default.png new file mode 100644 index 000000000..7c2c02348 Binary files /dev/null and b/packages/scrcpy-plus/assets/default.png differ diff --git a/packages/scrcpy-plus/runimage.cachyos.stable.yaml.disabled b/packages/scrcpy-plus/runimage.cachyos.stable.yaml.disabled new file mode 100644 index 000000000..c182f2e6e --- /dev/null +++ b/packages/scrcpy-plus/runimage.cachyos.stable.yaml.disabled @@ -0,0 +1,109 @@ +##The portable archive provided requires too much dependencies, wait for an aur pkg to be available + +#!/SBUILD ver @v1.0.0 +#SELF: https://raw.githubusercontent.com/pkgforge/soarpkgs/refs/heads/main/packages/ddnet/runimage.cachyos.stable.yaml +_disabled: false + +pkg: "scrcpy-plus" +pkg_id: "runimage.cachyos.scrcpy-plus" +pkg_type: "runimage" +category: + - "Utility" +description: "A simple GUI for SCRCPY and other ADB functions" +homepage: + - "https://github.com/Frontesque/scrcpy-plus" +icon: + url: "https://raw.githubusercontent.com/Frontesque/scrcpy-plus/refs/heads/main/application/src-tauri/icons/icon.png" +license: + - id: "Apache-2.0" + url: "https://github.com/Frontesque/scrcpy-plus/raw/df142a91445589189e0bc61704667e3be784e69a/LICENSE.md" +maintainer: + - "Azathothas (https://github.com/Azathothas)" +note: + - "[DO NOT RUN] (Meant for pkgforge CI Only)" + - "Built Using RunImage [cachyos]. Check/Report @ https://github.com/VHSgunzo/runimage" + - "Learn more @ https://docs.pkgforge.dev/formats/packages/runimage" + - "[PORTABLE] (Works on AnyLinux)" +provides: + - "scrcpy-plus==scrcpy+" +#repology: +# - "scrcpy" +src_url: + - "https://github.com/Frontesque/scrcpy-plus" +tag: + - "android" +x_exec: + host: + - "x86_64-Linux" + shell: "bash" + pkgver: | + curl -qfsSL "https://api.gh.pkgforge.dev/repos/Frontesque/scrcpy-plus/releases?per_page=100" | jq -r '[.[] | select(.draft == false and .prerelease == false)] | .[0].tag_name | gsub("\\s+"; "")' | tr -d '[:space:]' + run: | + #Get BaseImage + curl -qfsSL "https://github.com/pkgforge-dev/runimage-base/releases/download/cachyos_$(uname -m)/runimage" -o "${SBUILD_TMPDIR}/runimage" + chmod -v 'a+x' "${SBUILD_TMPDIR}/runimage" + [[ -s "${SBUILD_TMPDIR}/runimage" ]] || exit 1 + #Deps + build_image() + { + #Requirements + pacman -y --sync --refresh --refresh --sysupgrade --noconfirm + BASE_PKGS=(adb atkmm at-spi2-core gtk4 libcups libglvnd mesa nss scrcpy) + #pacman -S "${BASE_PKGS[@]}" --needed --noconfirm + for pkg in "${BASE_PKGS[@]}"; do pacman -S "${pkg}" --needed --noconfirm 2>/dev/null; done + #Main Package + curl -kqfSL "https://bin.pkgforge.dev/$(uname -m)/7z" -o "./7z" && chmod -v 'a+x' "./7z" + curl -kqfSL "https://github.com/Frontesque/scrcpy-plus/releases/latest/download/scrcpy-plus-${PKGVER}-linux-x64-portable.zip" -o "./scrcpy-plus" + "./7z" x -mmt="$(($(nproc)+1))" -bd -y -o"/opt/scrcpy-plus" "./scrcpy-plus" 2>/dev/null + chmod -v 'a+x' "/opt/scrcpy-plus/scrcpy-plus" + [[ -s "/opt/scrcpy-plus" ]] || exit 1 + echo '#!/usr/bin/env bash' > "/usr/local/bin/scrcpy-plus" + echo 'cd "/opt/scrcpy-plus" || exit 1' >> "/usr/local/bin/scrcpy-plus" + echo 'if [[ -x "./scrcpy-plus" ]]; then' >> "/usr/local/bin/scrcpy-plus" + echo ' exec "./scrcpy-plus" "$@"' >> "/usr/local/bin/scrcpy-plus" + echo 'fi' >> "/usr/local/bin/scrcpy-plus" + chmod -v 'a+x' "/usr/local/bin/scrcpy-plus" + command -v "scrcpy-plus" >/dev/null 2>&1 || exit 1 + rm -rvf "./7z" "./scrcpy-plus" + #Debloat & Shrink + pacman -Rsn base-devel --noconfirm 2>/dev/null + pacman -Rsn perl --noconfirm 2>/dev/null + pacman -Rsn python --noconfirm 2>/dev/null + pacman -Scc --noconfirm ; yay -Scc --noconfirm + rim-shrink --all + #Config + echo 'RIM_CMPRS_LVL="${RIM_CMPRS_LVL:=22}"' > "${RUNDIR}/config/Run.rcfg" + echo 'RIM_CMPRS_BSIZE="${RIM_CMPRS_BSIZE:=24}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_ICONS="${RIM_SHARE_ICONS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_FONTS="${RIM_SHARE_FONTS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SHARE_THEMES="${RIM_SHARE_THEMES:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_UPDATE_SHRINK="${RIM_UPDATE_SHRINK:=1}"' >> "${RUNDIR}/config/Run.rcfg" + echo 'RIM_SYS_NVLIBS="${RIM_SYS_NVLIBS:=1}"' >> "${RUNDIR}/config/Run.rcfg" + #Rebuild [Dwarfs ZSTD 22] + rim-build --bsize '24' --clvl '22' --dwfs "${SBUILD_OUTDIR}/${PKG}" + } + export -f build_image + #Build + RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ + "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } + #Extract Metadata + "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list + HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "scrcpy.*" + #Desktop + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.desktop" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -name "*.desktop" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" sh -c 'cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.desktop"' + fi + sed '/.*DBusActivatable.*/I d' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed -E 's/\s+setup\s+/ /Ig' -i "${SBUILD_OUTDIR}/${PKG}.desktop" + sed "s/Icon=[^ ]*/Icon=${PKG}/" -i "${SBUILD_OUTDIR}/${PKG}.desktop" + #Icon + if [[ ! -s "${SBUILD_OUTDIR}/${PKG}.png" && ! -s "${SBUILD_OUTDIR}/${PKG}.svg" ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -type f,l -regex '.*\.\(png\|svg\)' \ + -not -regex '.*\(favicon\|/\(16x16\|22x22\|24x24\|32x32\|36x36\|48x48\|64x64\|72x72\|96x96\)/\).*' \ + | awk '{print length, $0}' | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + if [[ ! -f "${SBUILD_OUTDIR}/${PKG}.png" || $(stat -c%s "${SBUILD_OUTDIR}/${PKG}.png") -le 3 ]]; then + find -L "${SBUILD_TMPDIR}/integ_files" -regex ".*\(128x128/apps\|256x256\)/.*${PKG}.*\.\(png\|svg\)" -printf "%s %p\n" -quit | sort -n | awk 'NR==1 {print $2}' | xargs -I "{}" cp -fv "{}" "${SBUILD_OUTDIR}/${PKG}.png" + fi + cp -fv "${SBUILD_OUTDIR}/${PKG}.png" "${SBUILD_OUTDIR}/.DirIcon" + fi \ No newline at end of file diff --git a/packages/scrcpy/appimage.stable.yaml.disabled b/packages/scrcpy/appimage.stable.yaml.disabled deleted file mode 100644 index c558b4f8b..000000000 --- a/packages/scrcpy/appimage.stable.yaml.disabled +++ /dev/null @@ -1,71 +0,0 @@ -#!/SBUILD -_disabled: false - -pkg: "scrcpy" -pkg_id: "github.com.ardevd.scrcpy-appimage" -pkg_type: "appimage" -app_id: "github.com.ardevd.scrcpy-appimage" -#build_util: -# - "curl#bin" -# - "jq#bin" -category: - - "Utility" -description: "null" -distro_pkg: - alpine: - - "scrcpy" - archlinux: - aur: - - "scrcpy-git" - extra: - - "scrcpy" - debian: - - "scrcpy" - nixpkgs: - - "scrcpy" -homepage: - - "https://github.com/Genymobile/scrcpy" -maintainer: - - "Azathothas (https://github.com/Azathothas)" -license: - - "ASL 2.0" - - "Apache" - - "Apache License 2.0" - - "Apache Software License 2.0" - - "Apache-2" - - "Apache-2.0" - - "spdx:Apache-2.0" -src_url: - - "https://github.com/ardevd/scrcpy-appimage" -tag: - - "Applications/Internet" - - "Applications/Multimedia" - - "File" - - "Hardware/Mobile" - - "Networking/Remote" - - "android" - - "app-mobilephone" - - "comms" - - "debug" - - "library" - - "multimedia" - - "net" - - "network" - - "network.util" - - "utility" - - "utils" -x_exec: - shell: "bash" - pkgver: | - curl -qfsSL "https://api.gh.pkgforge.dev/repos/ardevd/scrcpy-appimage/releases?per_page=100" | jq -r '[.[] | select(.draft == false and .prerelease == false)] | .[0].tag_name | gsub("\\s+"; "")' | tr -d '[:space:]' - run: | - #Download - case "$(uname -m)" in - aarch64) - echo -e "\n[✗] aarch64 is Not Yet Supported\n" - exit 1 - ;; - x86_64) - soar dl "https://github.com/ardevd/scrcpy-appimage" --match "appimage" --exclude "aarch64,arm,zsync" -o "./${PKG}" --yes - ;; - esac diff --git a/packages/scrcpy/assets/default.png b/packages/scrcpy/assets/default.png deleted file mode 100644 index c54cebc39..000000000 Binary files a/packages/scrcpy/assets/default.png and /dev/null differ diff --git a/packages/scrcpy/assets/scrcpy.png b/packages/scrcpy/assets/scrcpy.png deleted file mode 100644 index c54cebc39..000000000 Binary files a/packages/scrcpy/assets/scrcpy.png and /dev/null differ diff --git a/packages/steam/runimage.archlinux.stable.yaml b/packages/steam/runimage.archlinux.stable.yaml index 60cd66800..6b3f98092 100644 --- a/packages/steam/runimage.archlinux.stable.yaml +++ b/packages/steam/runimage.archlinux.stable.yaml @@ -5,9 +5,6 @@ _disabled: false pkg: "steam" pkg_id: "runimage.archlinux.steam" pkg_type: "runimage" -#build_util: -# - "curl#bin" -# - "jq#bin" category: - "Game" description: "A video game digital distribution service and storefront from Valve" @@ -83,6 +80,7 @@ x_exec: #Build RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } #Extract Metadata "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "steam.*" diff --git a/packages/steam/runimage.cachyos.stable.yaml b/packages/steam/runimage.cachyos.stable.yaml index 57a6da6b0..824060756 100644 --- a/packages/steam/runimage.cachyos.stable.yaml +++ b/packages/steam/runimage.cachyos.stable.yaml @@ -5,9 +5,6 @@ _disabled: false pkg: "steam" pkg_id: "runimage.cachyos.steam" pkg_type: "runimage" -#build_util: -# - "curl#bin" -# - "jq#bin" category: - "Game" description: "A video game digital distribution service and storefront from Valve" @@ -83,6 +80,7 @@ x_exec: #Build RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } #Extract Metadata "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "steam.*" diff --git a/packages/vscodium/runimage.cachyos.stable.yaml b/packages/vscodium/runimage.cachyos.stable.yaml index 547c0174e..371e914c3 100644 --- a/packages/vscodium/runimage.cachyos.stable.yaml +++ b/packages/vscodium/runimage.cachyos.stable.yaml @@ -93,6 +93,7 @@ x_exec: #Build RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_UNSHARE_USERS="1" \ "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } #Extract Metadata "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "vscodium.*" diff --git a/packages/wezterm/runimage.alpine.stable.yaml b/packages/wezterm/runimage.alpine.stable.yaml index 6b71c22c7..fb1f379e9 100644 --- a/packages/wezterm/runimage.alpine.stable.yaml +++ b/packages/wezterm/runimage.alpine.stable.yaml @@ -100,6 +100,7 @@ x_exec: #Build RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } #Extract Metadata "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "wezterm.*" diff --git a/packages/wezterm/runimage.cachyos.stable.yaml b/packages/wezterm/runimage.cachyos.stable.yaml index c6b23f412..8335b39a3 100644 --- a/packages/wezterm/runimage.cachyos.stable.yaml +++ b/packages/wezterm/runimage.cachyos.stable.yaml @@ -94,6 +94,7 @@ x_exec: #Build RIM_NO_NVIDIA_CHECK="1" RIM_OVERFS_MODE="1" RIM_ROOT="1" RIM_UNSHARE_USERS="1" \ "${SBUILD_TMPDIR}/runimage" bash -c "build_image" + [[ -s "${SBUILD_OUTDIR}/${PKG}" && ! -d "${SBUILD_OUTDIR}/${PKG}" ]] || { echo "[-] FATAL: ${SBUILD_OUTDIR}/${PKG} is Missing/Empty" >&2; exit 1; } #Extract Metadata "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --list HOME="${SBUILD_TMPDIR}/integ_files" "${SBUILD_OUTDIR}/${PKG}" rim-dinteg --verbose --add "wezterm.*"