Sfoglia il codice sorgente

updating gitignore

UwU 1 mese fa
parent
commit
ffed3d7d06
3 ha cambiato i file con 8 aggiunte e 84 eliminazioni
  1. 0 31
      .github/workflows/arch.yml
  2. 8 2
      .gitignore
  3. 0 51
      packaging/archlinux/PKGBUILD

+ 0 - 31
.github/workflows/arch.yml

@@ -1,31 +0,0 @@
-name: Arch Linux AUR Package Update
-
-on:
-  workflow_dispatch:
-  push:
-    branches: [main]
-    paths:
-      - 'packaging/archlinux/**'
-
-jobs:
-  publish:
-    runs-on: ubuntu-latest
-    steps:
-
-      - name: Checkout
-        uses: actions/checkout@v7
-        with:
-          submodules: true
-
-      - name: Publish linux-wallpaperengine-git to the AUR
-        uses: KSXGitHub/github-actions-deploy-aur@v4.1.1
-        with:
-          pkgname: linux-wallpaperengine-git
-          pkgbuild: ./packaging/archlinux/PKGBUILD
-          commit_username: ${{ secrets.AUR_USERNAME }}
-          commit_email: ${{ secrets.AUR_EMAIL }}
-          ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
-          commit_message: ${{ github.event.head_commit.message }}
-          force_push: 'true'
-          test: true
-          test_flags: --clean --cleanbuild --nodeps --nobuild

+ 8 - 2
.gitignore

@@ -5,8 +5,14 @@ build/
 .vscode/
 .zed/
 third_party/
-packaging/archlinux/*
-!packaging/archlinux/PKGBUILD
+# makepkg runs in the AUR package folders: sources, build trees, downloaded tarballs, built packages
+packaging/aur/*/*
+!packaging/aur/*/PKGBUILD
+# nix build
+result
+result-*
+# tools/package_release.sh output
+linux-wallpaperengine-*-x86_64.tar.gz
 *-protocol.o
 *-protocol.c
 *-protocol.h

+ 0 - 51
packaging/archlinux/PKGBUILD

@@ -1,51 +0,0 @@
-# Maintainer: Alexis Maiquez <aur@almamu.com>
-pkgname=linux-wallpaperengine-git
-_pkgname=linux-wallpaperengine
-pkgver=r567.b6c1825
-pkgrel=1
-pkgdesc="use steam's wallpaperengine on linux"
-arch=('x86_64')
-url="https://github.com/Almamu/linux-wallpaperengine"
-license=('GPL-3.0-only')
-depends=('lz4' 'ffmpeg' 'mpv' 'glfw' 'glew' 'freeglut' 'libpulse' 'libcups' 'at-spi2-core' 'nss' 'libxcomposite' 'libxdamage' 'nspr' 'dbus')
-makedepends=('git' 'cmake' 'sdl2' 'glm' 'wayland-protocols' 'xorg-xrandr')
-provides=("linux-wallpaperengine")
-source=("${pkgname}::git+https://github.com/Almamu/linux-wallpaperengine.git#branch=main")
-sha512sums=('SKIP')
-
-pkgver() {
-    cd "$pkgname"
-        ( set -o pipefail
-          git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
-          printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
-        )
-}
-
-prepare() {
-    cd "$pkgname"
-    git submodule update --init --recursive
-    git -c protocol.file.allow=always submodule update
-}
-
-build() {
-    cmake -B build -S "$pkgname" \
-        -DCMAKE_BUILD_TYPE='Release' \
-        -DCMAKE_INSTALL_PREFIX="/opt/${_pkgname}" \
-        -Wno-dev \
-        -DCMAKE_CXX_FLAGS="-ffat-lto-objects -Wno-builtin-macro-redefined" \
-        -DCMAKE_C_FLAGS="-Wno-builtin-macro-redefined"
-    cmake --build build
-}
-
-package() {
-    DESTDIR="$pkgdir" cmake --install build
-    # create forwarding script
-    install -d -m755 "${pkgdir}/usr/bin"
-    cat > "${pkgdir}/usr/bin/${_pkgname}" << EOF
-#!/bin/bash
-export LD_LIBRARY_PATH="/opt/${_pkgname}/lib:\$LD_LIBRARY_PATH"
-cd /opt/${_pkgname}; exec ./${_pkgname} "\$@"
-EOF
-    chmod +x ${pkgdir}/usr/bin/${_pkgname}
-    chmod +x ${pkgdir}/opt/${_pkgname}/linux-wallpaperengine
-}