debian/rules: fix openkylin vendor

This commit is contained in:
luoyaoming 2022-06-06 02:23:54 +00:00 committed by cckylin-cibot
parent b29fa9a330
commit 2fa89477c8
2 changed files with 9 additions and 0 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
xorg (1:7.7+19ubuntu14-ok2) yangtze; urgency=medium
* debian/rules: fix openkylin vendor
-- Luoyaoming <luoyaoming@kylinos.cn> Fri, 03 Jun 2022 17:17:55 +0800
xorg (1:7.7+19ubuntu14-ok1) yangtze; urgency=medium
* Build for openKylin.

3
debian/rules vendored
View File

@ -5,6 +5,9 @@ DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes) $(DEB_HOST_ARCH), yes i386)
BUILD_PACKAGES += -Nxorg -Nxserver-xorg -Nxserver-xorg-input-all -Nxserver-xorg-video-all
endif
ifeq ($(shell dpkg-vendor --is openKylin && echo yes) $(DEB_HOST_ARCH), yes i386)
BUILD_PACKAGES += -Nxorg -Nxserver-xorg -Nxserver-xorg-input-all -Nxserver-xorg-video-all
endif
%:
dh $@ $(BUILD_PACKAGES)