mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Fixes to deb build specifically for OBS
This commit is contained in:
5
debian/changelog
vendored
5
debian/changelog
vendored
@@ -0,0 +1,5 @@
|
|||||||
|
asus-nb-ctrl (1.0.2) focal; urgency=medium
|
||||||
|
|
||||||
|
- Minor corrections to two laptops
|
||||||
|
|
||||||
|
-- Luke Jones <luke@ljones.dev> Wed, 22 Jul 2020 10:35:05 +1200
|
||||||
|
|||||||
7
debian/control
vendored
7
debian/control
vendored
@@ -2,24 +2,23 @@ Source: asus-nb-ctrl
|
|||||||
Section: admin
|
Section: admin
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Luke Jones <luke@ljones.dev>
|
Maintainer: Luke Jones <luke@ljones.dev>
|
||||||
|
Homepage: https://gitlab.com/asus-linux/asus-nb-ctrl
|
||||||
Build-Depends:
|
Build-Depends:
|
||||||
debhelper (>=9),
|
debhelper (>=9),
|
||||||
cargo,
|
cargo,
|
||||||
llvm,
|
llvm,
|
||||||
libclang-dev,
|
libclang-dev,
|
||||||
libusb-1.0-0-dev,
|
|
||||||
libdbus-1-dev,
|
libdbus-1-dev,
|
||||||
libudev-1-dev
|
libudev-dev,
|
||||||
pkg-config
|
pkg-config
|
||||||
Standards-Version: 4.1.1
|
Standards-Version: 4.1.1
|
||||||
Homepage: https://gitlab.com/asus-linux/asus-nb-ctrl
|
|
||||||
|
|
||||||
Package: asus-nb-ctrl
|
Package: asus-nb-ctrl
|
||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Depends:
|
Depends:
|
||||||
dbus,
|
dbus,
|
||||||
systemd,
|
systemd,
|
||||||
libusb-1.0-0,
|
libdbus-1,
|
||||||
libudev,
|
libudev,
|
||||||
${misc:Depends},
|
${misc:Depends},
|
||||||
${shlibs:Depends}
|
${shlibs:Depends}
|
||||||
|
|||||||
13
debian/rules
vendored
13
debian/rules
vendored
@@ -7,6 +7,9 @@ CLEAN ?= 1
|
|||||||
dh $@ --with=systemd
|
dh $@ --with=systemd
|
||||||
|
|
||||||
override_dh_auto_build:
|
override_dh_auto_build:
|
||||||
|
cp ../SOURCES/vendor.tar.xz ./
|
||||||
|
mkdir .cargo
|
||||||
|
cp ../SOURCES/cargo-config .cargo/config
|
||||||
env CARGO_HOME="$$(pwd)/target/cargo" \
|
env CARGO_HOME="$$(pwd)/target/cargo" \
|
||||||
dh_auto_build
|
dh_auto_build
|
||||||
|
|
||||||
@@ -14,8 +17,8 @@ override_dh_auto_clean:
|
|||||||
ifeq ($(CLEAN),1)
|
ifeq ($(CLEAN),1)
|
||||||
make clean
|
make clean
|
||||||
endif
|
endif
|
||||||
ifeq ($(VENDORED),1)
|
#ifeq ($(VENDORED),1)
|
||||||
if ! ischroot; then \
|
# if ! ischroot; then \
|
||||||
make vendor; \
|
# make vendor; \
|
||||||
fi
|
# fi
|
||||||
endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user