debian/control: Add missing build deps

These are required by shlibs stage.

Change-Id: I31a2b4fdffbe27504e8ab312bea5b616abf76439
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
Jeffy Chen
2020-10-20 08:26:50 +08:00
parent 07daee4e8a
commit e012a2bbb8
3 changed files with 16 additions and 3 deletions

8
debian/control vendored
View File

@@ -4,7 +4,13 @@ Maintainer: Putin Lee <putin.li@rock-chips.com>
Uploaders: Jeffy Chen <jeffy.chen@rock-chips.com>
Build-Depends: debhelper (>= 11),
meson,
pkg-config
pkg-config,
libstdc++6,
libgbm-dev,
libx11-6,
libxcb1,
libxcb-dri2-0,
libwayland-client0,
Standards-Version: 4.1.3
Section: libs
Homepage: https://github.com/rockchip-linux/libmali

8
debian/control.in vendored
View File

@@ -4,7 +4,13 @@ Maintainer: Putin Lee <putin.li@rock-chips.com>
Uploaders: Jeffy Chen <jeffy.chen@rock-chips.com>
Build-Depends: debhelper (>= 11),
meson,
pkg-config
pkg-config,
libstdc++6,
libgbm-dev,
libx11-6,
libxcb1,
libxcb-dri2-0,
libwayland-client0,
Standards-Version: 4.1.3
Section: libs
Homepage: https://github.com/rockchip-linux/libmali

View File

@@ -150,12 +150,13 @@ if run_command('grep', '-q', gbm_symbol, default_lib).returncode() == 0
endif
endforeach
libdl_dep = meson.get_compiler('c').find_library('dl', required : false)
libgbm = shared_library(
'gbm',
'gbm_wrapper.c',
c_args : libgbm_cflags,
include_directories : include_directories('include'),
dependencies : libdrm_dep,
dependencies : [libdl_dep, libdrm_dep],
link_with : libmali,
install : true,
version : libgbm_version)