blob: 9edc11c4fb24a5f01e63777d4e9e8561c65a6272 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libdisplay-info
PKG_VERSION:= 0.2.0
PKG_RELEASE:= 1
PKG_HASH:= 5a2f002a16f42dd3540c8846f80a90b8f4bdcd067a94b9d2087bc2feae974176
PKG_DESCR:= edid and displayid library
PKG_SECTION:= libs/misc
PKG_BUILDDEP:= hwdata
PKG_SITES:= https://gitlab.freedesktop.org/emersion/libdisplay-info/-/releases/$(PKG_VERSION)/downloads/
PKG_OPTS:= dev
include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBDISPLAY_INFO,libdisplay-info,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
CONFIG_STYLE:= meson
BUILD_STYLE:= meson
INSTALL_STYLE:= meson
libdisplay-info-install:
$(INSTALL_DIR) $(IDIR_LIBDISPLAY_INFO)/usr/lib
$(CP) $(WRKINST)/usr/lib/libdisplay-info*.so* \
$(IDIR_LIBDISPLAY_INFO)/usr/lib
include $(ADK_TOPDIR)/mk/pkg-bottom.mk
|