From 3bdc3f58cc0bf50baa0f3b9a50e1ee61081c8cae Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 19 Mar 2023 19:10:59 +0100 Subject: [PATCH] package/xlib_libXpresent: new package Needed for mpv since version 0.35.0: https://github.com/mpv-player/mpv/commit/3d459832a88a9bd2835b339cf6ca98f84aad0115 Signed-off-by: Fabrice Fontaine [Thomas: improved thanks to feedback from a similar patch submitted by Bernd Kuhls.] Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 1 + package/x11r7/Config.in | 1 + package/x11r7/xlib_libXpresent/Config.in | 9 ++++++++ .../xlib_libXpresent/xlib_libXpresent.hash | 6 ++++++ .../xlib_libXpresent/xlib_libXpresent.mk | 21 +++++++++++++++++++ 5 files changed, 38 insertions(+) create mode 100644 package/x11r7/xlib_libXpresent/Config.in create mode 100644 package/x11r7/xlib_libXpresent/xlib_libXpresent.hash create mode 100644 package/x11r7/xlib_libXpresent/xlib_libXpresent.mk diff --git a/DEVELOPERS b/DEVELOPERS index 0f6cb75e0e..6ffa3ee693 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -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 diff --git a/package/x11r7/Config.in b/package/x11r7/Config.in index 4de8922e0d..b91f97bb34 100644 --- a/package/x11r7/Config.in +++ b/package/x11r7/Config.in @@ -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 diff --git a/package/x11r7/xlib_libXpresent/Config.in b/package/x11r7/xlib_libXpresent/Config.in new file mode 100644 index 0000000000..f6e2d93fab --- /dev/null +++ b/package/x11r7/xlib_libXpresent/Config.in @@ -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 diff --git a/package/x11r7/xlib_libXpresent/xlib_libXpresent.hash b/package/x11r7/xlib_libXpresent/xlib_libXpresent.hash new file mode 100644 index 0000000000..e7f6ac9e5a --- /dev/null +++ b/package/x11r7/xlib_libXpresent/xlib_libXpresent.hash @@ -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 diff --git a/package/x11r7/xlib_libXpresent/xlib_libXpresent.mk b/package/x11r7/xlib_libXpresent/xlib_libXpresent.mk new file mode 100644 index 0000000000..4cb4fd193a --- /dev/null +++ b/package/x11r7/xlib_libXpresent/xlib_libXpresent.mk @@ -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))