first commit
This commit is contained in:
commit
0817fc9d07
49
.github/workflows/release.yml
vendored
Normal file
49
.github/workflows/release.yml
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
name: PikaOS Package Release
|
||||
|
||||
on:
|
||||
workflow_dispatch
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: self-hosted
|
||||
container:
|
||||
image: ghcr.io/pikaos-linux/pika-package-container:latest
|
||||
volumes:
|
||||
- /proc:/proc
|
||||
options: --privileged -it
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Import GPG key
|
||||
id: import_gpg
|
||||
uses: crazy-max/ghaction-import-gpg@v5
|
||||
with:
|
||||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||
passphrase: ${{ secrets.PASSPHRASE }}
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Update apt cache
|
||||
run: apt-get update -y
|
||||
|
||||
- name: Build Package
|
||||
run: ./main.sh
|
||||
|
||||
- name: Release Package
|
||||
run: ./release.sh
|
||||
|
||||
- name: Purge cache
|
||||
uses: jakejarvis/cloudflare-purge-action@master
|
||||
env:
|
||||
# Zone is required by both authentication methods
|
||||
CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }}
|
||||
|
||||
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
|
||||
PURGE_URLS: '["https://ppa.pika-os.com/dists/lunar/InRelease", "https://ppa.pika-os.com/dists/lunar/main/binary-i386/Packages.gz", "https://ppa.pika-os.com/dists/lunar/main/binary-amd64/Packages.gz", "https://ppa.pikaos.com/dists/lunar/pika-sources.deb", "https://ppa.pika-os.com/dists/kinetic/main/source/Sources.gz" ]'
|
49
.github/workflows/release_i386.yml
vendored
Normal file
49
.github/workflows/release_i386.yml
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
name: PikaOS Package Release (i386)
|
||||
|
||||
on:
|
||||
workflow_dispatch
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: self-hosted
|
||||
container:
|
||||
image: ghcr.io/pikaos-linux/pika-i386-package-container:latest
|
||||
volumes:
|
||||
- /proc:/proc
|
||||
options: --privileged -it
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Import GPG key
|
||||
id: import_gpg
|
||||
uses: crazy-max/ghaction-import-gpg@v5
|
||||
with:
|
||||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||
passphrase: ${{ secrets.PASSPHRASE }}
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Update apt cache
|
||||
run: apt-get update -y
|
||||
|
||||
- name: Build Package
|
||||
run: ./main32.sh
|
||||
|
||||
- name: Release Package
|
||||
run: ./release.sh
|
||||
|
||||
- name: Purge cache
|
||||
uses: jakejarvis/cloudflare-purge-action@master
|
||||
env:
|
||||
# Zone is required by both authentication methods
|
||||
CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }}
|
||||
|
||||
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
|
||||
PURGE_URLS: '["https://ppa.pika-os.com/dists/lunar/InRelease", "https://ppa.pika-os.com/dists/lunar/main/binary-i386/Packages.gz", "https://ppa.pika-os.com/dists/lunar/main/binary-amd64/Packages.gz", "https://ppa.pikaos.com/dists/lunar/pika-sources.deb", "https://ppa.pika-os.com/dists/lunar/main/source/Sources.gz" ]'
|
17
main.sh
Executable file
17
main.sh
Executable file
@ -0,0 +1,17 @@
|
||||
#! /bin/bash
|
||||
set -e
|
||||
|
||||
# Clone Upstream
|
||||
cd ./mesa-pika
|
||||
|
||||
# Get build deps
|
||||
apt-get build-dep ./ -y
|
||||
|
||||
# Build package
|
||||
|
||||
dpkg-buildpackage --no-sign
|
||||
|
||||
# Move the debs to output
|
||||
cd ../
|
||||
mkdir -p ./output
|
||||
mv ./*.deb ./output/
|
20
main32.sh
Executable file
20
main32.sh
Executable file
@ -0,0 +1,20 @@
|
||||
#! /bin/bash
|
||||
set -e
|
||||
|
||||
# Clone Upstream
|
||||
git clone https://gitlab.freedesktop.org/mesa/mesa -b mesa-23.1.5
|
||||
cp -rvf ./debian ./mesa/
|
||||
cd ./mesa
|
||||
sed -i ' 1 s/.*/& - PikaOS YellowBirb Mesa Stable/' ./VERSION
|
||||
|
||||
# Get build deps
|
||||
apt-get build-dep ./ -y
|
||||
|
||||
# Build package
|
||||
|
||||
dpkg-buildpackage --no-sign
|
||||
|
||||
# Move the debs to output
|
||||
cd ../
|
||||
mkdir -p ./output
|
||||
mv ./*.deb ./output/
|
5
mesa-pika/debian/changelog
Normal file
5
mesa-pika/debian/changelog
Normal file
@ -0,0 +1,5 @@
|
||||
mesa-pika (1.0-99pika1.lunar) lunar; urgency=low
|
||||
|
||||
* Initial Creation
|
||||
|
||||
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
|
63
mesa-pika/debian/control
Normal file
63
mesa-pika/debian/control
Normal file
@ -0,0 +1,63 @@
|
||||
Source: mesa-pika
|
||||
Section: graphics
|
||||
Priority: optional
|
||||
Maintainer: Ward Nakchbandi <hotrod.master@hotmail.com>
|
||||
Standards-Version: 4.6.1
|
||||
Build-Depends: debhelper-compat (= 13)
|
||||
|
||||
Package: mesa-hybrid
|
||||
Section: libs
|
||||
Architecture: any
|
||||
${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
libd3dadapter9-mesa,
|
||||
libegl-mesa0,
|
||||
libegl1-mesa-dev,
|
||||
libegl1-mesa,
|
||||
libgbm-dev,
|
||||
libgbm1,
|
||||
libgl1-mesa-dri,
|
||||
libgl1-mesa-glx,
|
||||
libglapi-mesa,
|
||||
libgles2-mesa,
|
||||
libglx-mesa0,
|
||||
libosmesa6,
|
||||
libxatracker2,
|
||||
mesa-common-dev,
|
||||
mesa-va-drivers,
|
||||
mesa-vdpau-drivers,
|
||||
mesa-vulkan-drivers-git,
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Conflicts: mesa-stable, mesa-git, libmesa-stable, libmesa-git
|
||||
Replaces: mesa-stable, mesa-git, libmesa-stable, libmesa-git
|
||||
Provides: mesa-stable, mesa-git, libmesa-stable, libmesa-git
|
||||
Multi-Arch: same
|
||||
Description: a meta package to install the latest stable version of mesa, except with the latest git vulkan drivers.
|
||||
|
||||
Package: mesa-custom
|
||||
Section: libs
|
||||
Architecture: any
|
||||
${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
libd3dadapter9-mesa,
|
||||
libegl-mesa0,
|
||||
libegl1-mesa-dev,
|
||||
libegl1-mesa,
|
||||
libgbm-dev,
|
||||
libgbm1,
|
||||
libgl1-mesa-dri,
|
||||
libgl1-mesa-glx,the latest stable version of mesa, except with the latest git vulkan driver
|
||||
libglapi-mesa,
|
||||
libgles2-mesa,
|
||||
libglx-mesa0,
|
||||
libosmesa6,
|
||||
libxatracker2,
|
||||
mesa-common-dev,
|
||||
mesa-va-drivers,
|
||||
mesa-vdpau-drivers,
|
||||
mesa-vulkan-drivers,
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Conflicts: mesa-stable, mesa-git, mesa-pika, libmesa-stable, libmesa-git, libmesa-pika
|
||||
Replaces: mesa-stable, mesa-git, mesa-pika, libmesa-stable, libmesa-git, libmesa-pika
|
||||
Multi-Arch: same
|
||||
Description: a meta package to install custom mesa drivers from the likes of oibaf and kisak.
|
4
mesa-pika/debian/rules
Executable file
4
mesa-pika/debian/rules
Executable file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
%:
|
||||
dh ${@}
|
1
mesa-pika/debian/source/format
Normal file
1
mesa-pika/debian/source/format
Normal file
@ -0,0 +1 @@
|
||||
3.0 (native)
|
17
release.sh
Executable file
17
release.sh
Executable file
@ -0,0 +1,17 @@
|
||||
#! /bin/bash
|
||||
set -e
|
||||
|
||||
# Clone Upstream
|
||||
cd ./mesa-pika
|
||||
|
||||
# Get build deps
|
||||
apt-get build-dep ./ -y
|
||||
|
||||
# Build package
|
||||
|
||||
dpkg-buildpackage --no-sign
|
||||
|
||||
# Move the debs to output
|
||||
cd ../
|
||||
mkdir -p ./output
|
||||
mv ./*.deb ./output/
|
Loading…
Reference in New Issue
Block a user