1 Commits

Author SHA1 Message Date
Uyanide 470bb1620a 🚀 CD: 😡
CI/CD / Package (push) Successful in 2m26s
CI/CD / Publish (push) Successful in 10s
2026-03-24 11:10:24 +01:00
6 changed files with 16 additions and 34 deletions
+11 -29
View File
@@ -14,20 +14,11 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Extract Version - name: Extract Version
run: | run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
RAW_VERSION="${GITHUB_REF#refs/tags/v}"
if [[ "$RAW_VERSION" == *-* ]]; then
echo "PKGVER=${RAW_VERSION%-*}" >> $GITHUB_ENV
echo "PKGREL=${RAW_VERSION##*-}" >> $GITHUB_ENV
else
echo "PKGVER=$RAW_VERSION" >> $GITHUB_ENV
echo "PKGREL=1" >> $GITHUB_ENV
fi
echo "FULL_TAG=$RAW_VERSION" >> $GITHUB_ENV
- name: Generate PKGBUILD - name: Generate PKGBUILD
run: | run: |
TAR_URL="https://git.uyani.de/Uyanide/WallReel/archive/v${{ env.FULL_TAG }}.tar.gz" TAR_URL="https://git.uyani.de/Uyanide/WallReel/archive/v${{ env.VERSION }}.tar.gz"
wget -qO source.tar.gz "$TAR_URL" wget -qO source.tar.gz "$TAR_URL"
SHA256=$(sha256sum source.tar.gz | awk '{print $1}') SHA256=$(sha256sum source.tar.gz | awk '{print $1}')
@@ -35,20 +26,20 @@ jobs:
cat << 'EOF' > PKGBUILD cat << 'EOF' > PKGBUILD
# Maintainer: Uyanide <me@uyani.de> # Maintainer: Uyanide <me@uyani.de>
pkgname=wallreel pkgname=wallreel
pkgver=${{ env.PKGVER }} pkgver=${{ env.VERSION }}
pkgrel=${{ env.PKGREL }} pkgrel=1
pkgdesc="Choose and set desktop wallpapers with customizable themes and actions" pkgdesc="Choose and set desktop wallpapers with customizable themes and actions"
arch=('x86_64') arch=('x86_64')
url="https://git.uyani.de/Uyanide/WallReel" url="https://git.uyani.de/Uyanide/WallReel"
license=('MIT') license=('MIT')
depends=('qt6-base' 'qt6-declarative' 'gcc-libs' 'glibc') depends=('qt6-base' 'qt6-declarative' 'gcc-libs' 'glibc')
makedepends=('cmake' 'ninja') makedepends=('cmake')
source=("${pkgname}-${pkgver}.tar.gz::https://git.uyani.de/Uyanide/WallReel/archive/v${{ env.FULL_TAG }}.tar.gz") source=("${pkgname}-${pkgver}.tar.gz::https://git.uyani.de/Uyanide/WallReel/archive/v${pkgver}.tar.gz")
sha256sums=('INSERT_SHA256_HERE') sha256sums=('INSERT_SHA256_HERE')
build() { build() {
cd "wallreel" cd "wallreel"
cmake -B build -S . -G Ninja \ cmake -B build -S . \
-DCMAKE_BUILD_TYPE='Release' \ -DCMAKE_BUILD_TYPE='Release' \
-DCMAKE_INSTALL_PREFIX='/usr' \ -DCMAKE_INSTALL_PREFIX='/usr' \
-Wno-dev -Wno-dev
@@ -73,7 +64,7 @@ jobs:
pacman-key --init && pacman-key --populate pacman-key --init && pacman-key --populate
pacman -Sy --noconfirm archlinux-keyring pacman -Sy --noconfirm archlinux-keyring
pacman -Su --noconfirm base-devel cmake ninja qt6-base qt6-declarative sudo pacman -Su --noconfirm base-devel cmake qt6-base qt6-declarative sudo
useradd -m builduser useradd -m builduser
chown -R builduser:builduser /workspace chown -R builduser:builduser /workspace
@@ -100,16 +91,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Extract Version - name: Extract Version
run: | run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
RAW_VERSION="${GITHUB_REF#refs/tags/v}"
if [[ "$RAW_VERSION" == *-* ]]; then
echo "PKGVER=${RAW_VERSION%-*}" >> $GITHUB_ENV
echo "PKGREL=${RAW_VERSION##*-}" >> $GITHUB_ENV
else
echo "PKGVER=$RAW_VERSION" >> $GITHUB_ENV
echo "PKGREL=1" >> $GITHUB_ENV
fi
echo "FULL_TAG=$RAW_VERSION" >> $GITHUB_ENV
- name: Download Artifacts - name: Download Artifacts
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
@@ -120,7 +102,7 @@ jobs:
- name: Publish to Gitea Release - name: Publish to Gitea Release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
with: with:
name: WallReel ${{ env.FULL_TAG }} name: WallReel ${{ env.VERSION }}
draft: false draft: false
prerelease: false prerelease: false
files: "*.pkg.tar.zst" files: "*.pkg.tar.zst"
@@ -159,5 +141,5 @@ jobs:
EOF EOF
git add PKGBUILD LICENSE .SRCINFO git add PKGBUILD LICENSE .SRCINFO
git commit -m "Release v${{ env.FULL_TAG }}" git commit -m "Release v${{ env.VERSION }}"
git push origin master git push origin master
+1 -1
View File
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.16) cmake_minimum_required(VERSION 3.16)
project(WallReel VERSION 2.0.0 LANGUAGES CXX) project(WallReel VERSION 2.0.1 LANGUAGES CXX)
set(EXECUTABLE_NAME "wallreel") set(EXECUTABLE_NAME "wallreel")
set(CORELIB_NAME "wallreel-core") set(CORELIB_NAME "wallreel-core")
+1 -1
View File
@@ -1,6 +1,6 @@
.\" Automatically generated by Pandoc 3.5 .\" Automatically generated by Pandoc 3.5
.\" .\"
.TH "WALLREEL" "1" "2026\-03\-24" "WallReel 2.0.0" "User Commands" .TH "WALLREEL" "1" "2026\-03\-24" "WallReel 2.0.1" "User Commands"
.SH NAME .SH NAME
wallreel \- Choose and set desktop wallpapers with customizable themes wallreel \- Choose and set desktop wallpapers with customizable themes
and actions and actions
+1 -1
View File
@@ -1,6 +1,6 @@
.\" Automatically generated by Pandoc 3.5 .\" Automatically generated by Pandoc 3.5
.\" .\"
.TH "WALLREEL" "5" "2026\-03\-24" "WallReel 2.0.0" "File Formats Manual" .TH "WALLREEL" "5" "2026\-03\-24" "WallReel 2.0.1" "File Formats Manual"
.SH NAME .SH NAME
wallreel\-config \- configuration format for wallreel wallreel\-config \- configuration format for wallreel
.SH SYNOPSIS .SH SYNOPSIS
+1 -1
View File
@@ -2,7 +2,7 @@
title: WALLREEL title: WALLREEL
section: 1 section: 1
header: User Commands header: User Commands
footer: WallReel 2.0.0 footer: WallReel 2.0.1
date: 2026-03-24 date: 2026-03-24
--- ---
+1 -1
View File
@@ -2,7 +2,7 @@
title: WALLREEL title: WALLREEL
section: 5 section: 5
header: File Formats Manual header: File Formats Manual
footer: WallReel 2.0.0 footer: WallReel 2.0.1
date: 2026-03-24 date: 2026-03-24
--- ---