Skip to content

Add GitHub Actions workflow to build dvgrab for CachyOS from PKGBUILD#24

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/add-github-actions-workflow
Draft

Add GitHub Actions workflow to build dvgrab for CachyOS from PKGBUILD#24
Copilot wants to merge 2 commits intomasterfrom
copilot/add-github-actions-workflow

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 23, 2026

Adds CI support for building a CachyOS/Arch Linux package from the repository source, producing a .pkg.tar.zst artifact via makepkg.

New files

  • PKGBUILD — Arch-compatible package script targeting dvgrab 3.5.2:

    • Runtime deps: libraw1394, libavc1394, libiec61883
    • Optional deps: libdv, libjpeg-turbo
    • Verified SHA256 checksum for the upstream v3.5.2 tarball
    • Autotools build (./bootstrap && ./configure --prefix=/usr && make)
  • .github/workflows/build-cachyos.yml — Runs inside cachyos/cachyos:latest container on every push/PR to master:

    1. Installs deps via pacman
    2. Creates a source tarball from the current checkout (builds working-branch code, not just the tagged release)
    3. Rewrites the PKGBUILD checksum to match the locally-generated tarball
    4. Runs makepkg as a non-root builduser
    5. Uploads *.pkg.tar.zst as the dvgrab-cachyos-package artifact

Job permissions are scoped to contents: read.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • gitlab.archlinux.org
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

@NixPlayer
Copy link
Copy Markdown

This is not needed. There is already an official dvgrab package on the extra/ repository on Arch Linux (which is what you would target anyway instead of CachyOS since it's upstream). When a new tagged release is published, i will contact the maintainer of said package to update it.

Copilot AI changed the title [WIP] Add GitHub Actions workflow to build CachyOS from PKGBUILD Add GitHub Actions workflow to build dvgrab for CachyOS from PKGBUILD Mar 23, 2026
Copilot AI requested a review from ddennedy March 23, 2026 19:35
@ddennedy
Copy link
Copy Markdown
Owner

In case you are curious of the result (I was 🙂) https://github.com/ddennedy/dvgrab/actions/runs/23456326371?pr=24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants