Compare commits

...

6 Commits
main ... OS3

Author SHA1 Message Date
Ward Nakchbandi (Cosmic Fusion)
8eff5991d8
Update rules 2024-07-24 00:41:42 +03:00
Ward Nakchbandi (Cosmic Fusion)
d753f3b642
Update control 2024-07-23 23:26:07 +03:00
Ward Nakchbandi (Cosmic Fusion)
9d0ace2727
Update main.sh 2024-07-23 23:23:25 +03:00
Ward Nakchbandi (Cosmic Fusion)
a862203d67
Update main.sh 2024-07-23 22:52:36 +03:00
Ward Nakchbandi (Cosmic Fusion)
19c6690819
Update config.rs 2024-07-23 22:36:30 +03:00
Ward Nakchbandi (Cosmic Fusion)
d1a8bcd0b6
Update changelog 2024-07-23 22:35:02 +03:00
5 changed files with 18 additions and 6 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
pika-drivers (1.0.0-100pika8+goodbye3) pikauwu; urgency=medium
* Nvidia 550 no longer experimental
-- Pika <root@pika.com> Wed, 11 Jan 2023 11:41:38 +0000
pika-drivers (1.0.0-100pika7) pikauwu; urgency=medium pika-drivers (1.0.0-100pika7) pikauwu; urgency=medium
* Nvidia 550 no longer experimental * Nvidia 550 no longer experimental

2
debian/control vendored
View File

@ -2,7 +2,7 @@ Source: pika-drivers
Section: admin Section: admin
Priority: optional Priority: optional
Maintainer: Pika <root@pika.com> Maintainer: Pika <root@pika.com>
Build-Depends: debhelper (>= 9), cargo, build-essential, Build-Depends: debhelper (>= 9), build-essential,
debhelper, debhelper,
python3, python3,
meson, meson,

8
debian/rules vendored
View File

@ -1,11 +1,13 @@
#!/usr/bin/make -f #!/usr/bin/make -f
export PATH := $(PATH):/root/.cargo/bin
%: %:
dh ${@} dh ${@}
override_dh_auto_install: override_dh_auto_install:
/root/.cargo/bin/cargo fetch cargo fetch
/root/.cargo/bin/cargo build --release cargo build --release
mkdir -p debian/pika-drivers/usr/bin/ mkdir -p debian/pika-drivers/usr/bin/
cp -vf target/release/pika-drivers debian/pika-drivers/usr/bin/ cp -vf target/release/pika-drivers debian/pika-drivers/usr/bin/
chmod 755 debian/pika-drivers/usr/bin/pika-drivers chmod 755 debian/pika-drivers/usr/bin/pika-drivers
@ -17,4 +19,4 @@ override_dh_auto_install:
mkdir -p debian/pika-drivers/usr/share/applications mkdir -p debian/pika-drivers/usr/share/applications
mkdir -p debian/pika-drivers/usr/share/icons/hicolor/scalable/apps mkdir -p debian/pika-drivers/usr/share/icons/hicolor/scalable/apps
cp -vf data/com.github.pikaos-linux.pikadrivers.svg debian/pika-drivers/usr/share/icons/hicolor/scalable/apps/ cp -vf data/com.github.pikaos-linux.pikadrivers.svg debian/pika-drivers/usr/share/icons/hicolor/scalable/apps/
cp -vf data/com.github.pikaos-linux.pikadrivers.desktop debian/pika-drivers/usr/share/applications/ cp -vf data/com.github.pikaos-linux.pikadrivers.desktop debian/pika-drivers/usr/share/applications/

View File

@ -3,6 +3,10 @@ mkdir -p pika-drivers
cp -rvf ./* ./pika-drivers/ cp -rvf ./* ./pika-drivers/
cd ./pika-drivers/ cd ./pika-drivers/
# Dead PikaOS3 Release Quirk?
apt update
apt-get install libglib2.0-0=2.78.0-2 libglib2.0-bin=2.78.0-2 libglib2.0-dev-bin=2.78.0-2 -y --allow-downgrades
# Get build deps # Get build deps
apt-get build-dep ./ -y apt-get build-dep ./ -y
apt-get install curl -y apt-get install curl -y
@ -14,4 +18,4 @@ 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

@ -3,4 +3,4 @@ pub const VERSION: &str = env!("CARGO_PKG_VERSION");
pub const APP_ICON: &str = "com.github.pikaos-linux.pikadrivers"; pub const APP_ICON: &str = "com.github.pikaos-linux.pikadrivers";
pub const APP_GITHUB: &str = "https://github.com/PikaOS-Linux/pkg-pika-drivers"; pub const APP_GITHUB: &str = "https://github.com/PikaOS-Linux/pkg-pika-drivers";
pub const DRIVER_DB_JSON_URL: &str = pub const DRIVER_DB_JSON_URL: &str =
"https://raw.githubusercontent.com/PikaOS-Linux/pkg-pika-drivers/main/driver-db.json"; "https://raw.githubusercontent.com/PikaOS-Linux/pkg-pika-drivers/OS3/driver-db.json";