package/xlib_libXpresent: new package

Needed for mpv since version 0.35.0:
3d459832a8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Thomas: improved thanks to feedback from a similar patch submitted by
Bernd Kuhls.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2023-03-19 19:10:59 +01:00 committed by Thomas Petazzoni
parent b84ffd85e2
commit 3bdc3f58cc
5 changed files with 38 additions and 0 deletions

View File

@ -1025,6 +1025,7 @@ F: package/tinycbor/
F: package/tinydtls/
F: package/tinymembench/
F: package/whois/
F: package/x11r7/xlib_libXpresent/
F: package/zeek/
N: Fabrice Goucem <fabrice.goucem@oss.nxp.com>

View File

@ -42,6 +42,7 @@ if BR2_PACKAGE_XORG7
source package/x11r7/xlib_libXinerama/Config.in
source package/x11r7/xlib_libXmu/Config.in
source package/x11r7/xlib_libXpm/Config.in
source package/x11r7/xlib_libXpresent/Config.in
source package/x11r7/xlib_libXrandr/Config.in
source package/x11r7/xlib_libXrender/Config.in
source package/x11r7/xlib_libXres/Config.in

View File

@ -0,0 +1,9 @@
config BR2_PACKAGE_XLIB_LIBXPRESENT
bool "libXpresent"
select BR2_PACKAGE_XLIB_LIBX11
select BR2_PACKAGE_XLIB_LIBXEXT
select BR2_PACKAGE_XLIB_LIBXFIXES
select BR2_PACKAGE_XLIB_LIBXRANDR
select BR2_PACKAGE_XORGPROTO
help
X.Org Xpresent library

View File

@ -0,0 +1,6 @@
# From https://lists.x.org/archives/xorg-announce/2022-October/003225.html
sha256 b964df9e5a066daa5e08d2dc82692c57ca27d00b8cc257e8e960c9f1cf26231b libXpresent-1.0.1.tar.xz
sha512 a4551f49a68f4487eb70dc5b50b7f745fbc8b6842cfa60422afe3834af41c504a37bcfddb4e7e9ee084b250df256034290776c8eb7d8838e392eb626fff55d25 libXpresent-1.0.1.tar.xz
# Locally calculated
sha256 d64e671ffeb483d4543f98c842788ab34c77427e27d83d6b082065a4438d4885 COPYING

View File

@ -0,0 +1,21 @@
################################################################################
#
# xlib_libXpresent
#
################################################################################
XLIB_LIBXPRESENT_VERSION = 1.0.1
XLIB_LIBXPRESENT_SOURCE = libXpresent-$(XLIB_LIBXPRESENT_VERSION).tar.xz
XLIB_LIBXPRESENT_SITE = http://xorg.freedesktop.org/releases/individual/lib
XLIB_LIBXPRESENT_LICENSE = MIT
XLIB_LIBXPRESENT_LICENSE_FILES = COPYING
XLIB_LIBXPRESENT_INSTALL_STAGING = YES
XLIB_LIBXPRESENT_DEPENDENCIES = \
xlib_libX11 \
xlib_libXext \
xlib_libXfixes \
xlib_libXrandr \
xorgproto
$(eval $(autotools-package))