mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-01-22 17:33:19 +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
|
||||
Priority: optional
|
||||
Maintainer: Luke Jones <luke@ljones.dev>
|
||||
Homepage: https://gitlab.com/asus-linux/asus-nb-ctrl
|
||||
Build-Depends:
|
||||
debhelper (>=9),
|
||||
cargo,
|
||||
llvm,
|
||||
libclang-dev,
|
||||
libusb-1.0-0-dev,
|
||||
libdbus-1-dev,
|
||||
libudev-1-dev
|
||||
libudev-dev,
|
||||
pkg-config
|
||||
Standards-Version: 4.1.1
|
||||
Homepage: https://gitlab.com/asus-linux/asus-nb-ctrl
|
||||
|
||||
Package: asus-nb-ctrl
|
||||
Architecture: amd64
|
||||
Depends:
|
||||
dbus,
|
||||
systemd,
|
||||
libusb-1.0-0,
|
||||
libdbus-1,
|
||||
libudev,
|
||||
${misc:Depends},
|
||||
${shlibs:Depends}
|
||||
|
||||
13
debian/rules
vendored
13
debian/rules
vendored
@@ -7,6 +7,9 @@ CLEAN ?= 1
|
||||
dh $@ --with=systemd
|
||||
|
||||
override_dh_auto_build:
|
||||
cp ../SOURCES/vendor.tar.xz ./
|
||||
mkdir .cargo
|
||||
cp ../SOURCES/cargo-config .cargo/config
|
||||
env CARGO_HOME="$$(pwd)/target/cargo" \
|
||||
dh_auto_build
|
||||
|
||||
@@ -14,8 +17,8 @@ override_dh_auto_clean:
|
||||
ifeq ($(CLEAN),1)
|
||||
make clean
|
||||
endif
|
||||
ifeq ($(VENDORED),1)
|
||||
if ! ischroot; then \
|
||||
make vendor; \
|
||||
fi
|
||||
endif
|
||||
#ifeq ($(VENDORED),1)
|
||||
# if ! ischroot; then \
|
||||
# make vendor; \
|
||||
# fi
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user