This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-08-28 13:53:26 +03:00 committed by GitHub
parent 53c5536255
commit af521e8b9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 26 deletions

View File

@ -7,16 +7,13 @@ jobs:
build: build:
runs-on: self-hosted runs-on: self-hosted
container: container:
image: ubuntu:22.10 image: ghcr.io/pikaos-linux/pika-i386-package-container:latest
volumes: volumes:
- /proc:/proc - /proc:/proc
options: --privileged -it options: --privileged -it
steps: steps:
- uses: actions/checkout@v3 - 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 dh-make -y
- name: Import GPG key - name: Import GPG key
id: import_gpg id: import_gpg
@ -33,11 +30,8 @@ jobs:
known_hosts: ${{ secrets.KNOWN_HOSTS }} known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: replace if_key_exists: replace
- name: Fix perms
run: chmod +x ./main32.sh
- name: Build Package - name: Build Package
run: ./main32.sh run: chmod +x ./main32.sh && ./main32.sh
- name: Release Package - name: Release Package
run: ./release.sh run: ./release.sh

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
nvidia-vaapi-driver (10:0.0.10-99pika1.lunar) lunar; urgency=medium
* Upgrade to release 0.0.10
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
nvidia-vaapi-driver (10:0.0.9.git1-99pika1) kinetic; urgency=medium nvidia-vaapi-driver (10:0.0.9.git1-99pika1) kinetic; urgency=medium
* Upgrade to master branch to fix i386 * Upgrade to master branch to fix i386

View File

@ -1,7 +1,7 @@
DEBIAN_FRONTEND=noninteractive DEBIAN_FRONTEND=noninteractive
# Clone Upstream # Clone Upstream
git clone https://github.com/elFarto/nvidia-vaapi-driver -b master git clone https://github.com/elFarto/nvidia-vaapi-driver -b v0.0.10
cp -rvf ./debian ./nvidia-vaapi-driver/ cp -rvf ./debian ./nvidia-vaapi-driver/
cd ./nvidia-vaapi-driver cd ./nvidia-vaapi-driver
@ -9,7 +9,7 @@ cd ./nvidia-vaapi-driver
apt-get build-dep ./ -y apt-get build-dep ./ -y
# Build package # Build package
dpkg-buildpackage dpkg-buildpackage --no-sign
# Move the debs to output # Move the debs to output
cd ../ cd ../

View File

@ -1,28 +1,17 @@
DEBIAN_FRONTEND=noninteractive DEBIAN_FRONTEND=noninteractive
# 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 # Clone Upstream
git clone https://github.com/elFarto/nvidia-vaapi-driver -b master git clone https://github.com/elFarto/nvidia-vaapi-driver -b v0.0.10
cp -rvf ./debian ./nvidia-vaapi-driver/ cp -rvf ./debian ./nvidia-vaapi-driver/
cd ./nvidia-vaapi-driver cd ./nvidia-vaapi-driver
# Get build deps # Get build deps
ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime apt-get build-dep ./ -y
DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata
apt-get install build-essential -y
apt-get install crossbuild-essential-i386 lib32gcc-11-dev -y
apt-get build-dep ./ -y -a i386
# Build package # Build package
dpkg-buildpackage -a i386 dpkg-buildpackage --no-sign
# Move the debs to output # Move the debs to output
cd ../ cd ../
mkdir -p ./output mkdir -p ./output
mv ./*.deb ./output/ mv ./*.deb ./output/

View File

@ -5,7 +5,7 @@ dpkg-sig --sign builder ./output/*.deb
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
# Add the new package to the repo # Add the new package to the repo
reprepro -V --basedir ./output/repo/ includedeb kinetic ./output/*.deb reprepro -C main -V --basedir ./output/repo/ includedeb lunar ./output/*.deb
# Push the updated ppa repo to the server # Push the updated ppa repo to the server
rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/ rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/