This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-09-29 19:50:10 +03:00 committed by GitHub
parent 015e159c45
commit 56c11fb974
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 14 additions and 18 deletions

View File

@ -30,6 +30,9 @@ jobs:
known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: replace
- name: Update apt cache
run: apt-get update
- name: Build Package
run: ./main.sh

View File

@ -7,16 +7,13 @@ jobs:
build:
runs-on: self-hosted
container:
image: ubuntu:23.04
image: ghcr.io/pikaos-linux/pika-i386-package-container:latest
volumes:
- /proc:/proc
options: --privileged -it
steps:
- uses: actions/checkout@v3
- name: Install needed packages
run: apt update && apt install software-properties-common sudo git bc gpg gpg-agent bison build-essential ccache cpio fakeroot flex git kmod libelf-dev libncurses5-dev libssl-dev lz4 qtbase5-dev rsync schedtool wget zstd tar reprepro dpkg-sig devscripts -y
- name: Import GPG key
id: import_gpg
@ -33,6 +30,9 @@ jobs:
known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: replace
- name: Update apt cache
run: apt-get update
- name: Build Package
run: ./main32.sh

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
obs-gamecapture-plugin (10:1.3.4.git-99pika1-lunar) lunar; urgency=medium
obs-gamecapture-plugin (10:1.4.3.git-99pika1) pikauwu; urgency=medium
* Rebrand to PikaOS

2
debian/control vendored
View File

@ -8,6 +8,6 @@ Homepage: https://github.com/nowrep/obs-vkcapture
Package: obs-gamecapture-plugin
Architecture: linux-any
Multi-Arch: same
Depends: ${misc:Depends}, obs-studio [amd64]
Depends: ${shlibs:Depends}, ${misc:Depends}, obs-studio [amd64]
Description: OBS Linux Vulkan/OpenGL game capture

View File

@ -1,23 +1,16 @@
#! /bin/bash
set -e
# Add dependent repositories
sudo dpkg --add-architecture i386
wget -q -O - https://ppa.pika-os.com/key.gpg | sudo apt-key add -
add-apt-repository https://ppa.pika-os.com
add-apt-repository ppa:pikaos/pika
add-apt-repository ppa:kubuntu-ppa/backports
# Clone Upstream
git clone https://github.com/nowrep/obs-vkcapture
cp -rvf ./debian ./obs-vkcapture/
cd ./obs-vkcapture
# Get build deps
apt-get install build-essential -y
apt-get install crossbuild-essential-i386 lib32gcc-11-dev -y
apt-get build-dep ./ -y -a i386
apt-get build-dep ./ -y
# Build package
dpkg-buildpackage -a i386 --no-sign
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../

View File

@ -2,7 +2,7 @@
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
# add debs to repo
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-main /srv/www/incoming/'
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pikauwu-main /srv/www/incoming/'
# publish the repo
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:'