mirror of
https://github.com/Xetibo/ReSet.git
synced 2025-04-04 13:02:01 +02:00
deb: update includes
This commit is contained in:
parent
cc3e6647b4
commit
c297717ca6
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
|
@ -1,7 +1,6 @@
|
|||
on:
|
||||
release:
|
||||
types: [ created ]
|
||||
|
||||
types: [created]
|
||||
jobs:
|
||||
release:
|
||||
runs-on: [self-hosted, ubuntu]
|
||||
|
@ -15,15 +14,12 @@ jobs:
|
|||
- name: Build rust package
|
||||
run: cargo build --release --verbose
|
||||
- name: Build Flatpak
|
||||
run: |
|
||||
cd flatpak
|
||||
python3 flatpak-generator.py ../Cargo.lock -o cargo-sources.json
|
||||
flatpak-builder build org.Xetibo.ReSet.json --force-clean
|
||||
flatpak build-export export build
|
||||
flatpak build-bundle export reset.flatpak org.Xetibo.ReSet
|
||||
run: "cd flatpak\npython3 flatpak-generator.py ../Cargo.lock -o cargo-sources.json \nflatpak-builder build org.Xetibo.ReSet.json --force-clean \nflatpak build-export export build\nflatpak build-bundle export reset.flatpak org.Xetibo.ReSet\n"
|
||||
- name: Build Ubuntu package
|
||||
run: |
|
||||
cp ./target/release/reset ./debian/.
|
||||
cp ./target/release/reset ./debian/usr/bin/.
|
||||
cp ./reset.desktop ./debian/share/applications/.
|
||||
cp ./src/resources/icons/ReSet.svg ./debian/share/pixmaps/.
|
||||
dpkg-deb --build debian
|
||||
mv debian.deb reset.deb
|
||||
- name: Release
|
||||
|
|
20
Cargo.lock
generated
20
Cargo.lock
generated
|
@ -941,6 +941,22 @@ dependencies = [
|
|||
"xdg",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "re_set-lib"
|
||||
version = "5.2.2"
|
||||
source = "git+https://github.com/Xetibo/ReSet-Lib?branch=dev#52c193abbe75b79d7b54c823ecdb6d272a6f9405"
|
||||
dependencies = [
|
||||
"dbus",
|
||||
"dbus-crossroads",
|
||||
"gtk4",
|
||||
"libloading",
|
||||
"libpulse-binding",
|
||||
"once_cell",
|
||||
"serial_test",
|
||||
"toml",
|
||||
"xdg",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "redox_syscall"
|
||||
version = "0.4.1"
|
||||
|
@ -961,7 +977,7 @@ dependencies = [
|
|||
"gtk4",
|
||||
"ipnetwork",
|
||||
"libadwaita",
|
||||
"re_set-lib",
|
||||
"re_set-lib 5.2.2 (git+https://github.com/Xetibo/ReSet-Lib?branch=dev)",
|
||||
"reset_daemon",
|
||||
"tokio",
|
||||
]
|
||||
|
@ -979,7 +995,7 @@ dependencies = [
|
|||
"libloading",
|
||||
"libpulse-binding",
|
||||
"once_cell",
|
||||
"re_set-lib",
|
||||
"re_set-lib 5.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"serial_test",
|
||||
"tokio",
|
||||
"toml",
|
||||
|
|
|
@ -9,8 +9,8 @@ license = "GPL-3.0-or-later"
|
|||
[dependencies]
|
||||
reset_daemon = "2.1.1"
|
||||
# reset_daemon = { git = "https://github.com/Xetibo/ReSet-Daemon", branch = "dev" }
|
||||
re_set-lib = "5.2.2"
|
||||
# re_set-lib = { git = "https://github.com/Xetibo/ReSet-Lib" }
|
||||
# re_set-lib = "5.2.2"
|
||||
re_set-lib = { git = "https://github.com/Xetibo/ReSet-Lib", branch = "dev" }
|
||||
adw = { version = "0.6.0", package = "libadwaita", features = ["v1_4"] }
|
||||
dbus = "0.9.7"
|
||||
gtk = { version = "0.8.1", package = "gtk4", features = ["v4_12"] }
|
||||
|
|
1
PKGBUILD
1
PKGBUILD
|
@ -18,3 +18,4 @@ package() {
|
|||
install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
|
||||
install -Dm644 "src/resources/icons/ReSet.svg" "$pkgdir/usr/share/pixmaps/ReSet.svg"
|
||||
}
|
||||
|
||||
|
|
3
debian/DEBIAN/postinstall
vendored
3
debian/DEBIAN/postinstall
vendored
|
@ -1,3 +0,0 @@
|
|||
install -Dm755 target/release/reset /usr/bin/reset
|
||||
install -Dm644 reset.desktop /usr/share/applications/reset.desktop
|
||||
install -Dm644 src/resources/icons/ReSet.svg /usr/share/pixmaps/ReSet.svg
|
Loading…
Reference in a new issue