summaryrefslogtreecommitdiff
path: root/x11-libs/libXpresent
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/libXpresent')
-rw-r--r--x11-libs/libXpresent/Manifest4
-rw-r--r--x11-libs/libXpresent/files/libXpresent-1.0.0-add-depends-to-pkgconfig.patch29
-rw-r--r--x11-libs/libXpresent/libXpresent-1.0.0.ebuild25
-rw-r--r--x11-libs/libXpresent/metadata.xml8
4 files changed, 66 insertions, 0 deletions
diff --git a/x11-libs/libXpresent/Manifest b/x11-libs/libXpresent/Manifest
new file mode 100644
index 000000000000..905688ac131e
--- /dev/null
+++ b/x11-libs/libXpresent/Manifest
@@ -0,0 +1,4 @@
+AUX libXpresent-1.0.0-add-depends-to-pkgconfig.patch 1021 SHA256 48577cae1c50df846d4d82a62f4eb0404c76b173a08ae60cb4d3fc72bfaa8a6b SHA512 fbcbc0a5839a2b1976aad4edf318fa3b47868763d5262ef8537ed6dccf911a2f9fad2b2182a90b4be578eb8850fe29403cbd52cc29ee8f0f09f9c85a7883a9c4 WHIRLPOOL ccf18b8c34a98b82bcdf5a10badec4a0aa2f15837eb49a6c8db7a54521ecc2fb2f2e17dde0ae917f3c5eeea027f394bac548ad3c8a5be43ef68212d20dc133cb
+DIST libXpresent-1.0.0.tar.bz2 263461 SHA256 c11ae015141a9afbe10f4f2b8ee00b11adca6373dc1b9808d7c6c138b2da7b8a SHA512 e88b4ec4fcbc0417a0cbecc0ecd73f8085c496dc6d1a4902b6550750a69a1cb8bb76c436c7941ee3bf3c61ffc85bbd8f8327fca30f14815dbef1cd53bb8db16b WHIRLPOOL 375532a8a5bd81332d4cda21a34cea617e7b09c649371efc85d103e1c379b4791a7c24ae3d01efdf2e6527e56111561ca50a2831ec1ecc2daa30beb374362dfd
+EBUILD libXpresent-1.0.0.ebuild 689 SHA256 06f90a8a6dc1ed95082e056a233e515c76be4e7bc9bd48e8809baf09326ddfce SHA512 c332669695eec6fb5f6e8a5a6fdf37b8c5d1a82c5827c62818e1e8e780fabf8002295fdee7ee93640c8284c324b5900963a11fc0ecc2cff2cf2a5d042ef3572c WHIRLPOOL d0b4d5c1b20c2a5448aa8bcdb96d265681187c353b36c4a5fde21558b786db1ac4b81d28937239db39d3e2b51911298c1af63db3f95bd393b8e1d6d50c61e9cb
+MISC metadata.xml 230 SHA256 677e4595d00a3098fde05ae33118b9ac05867dc5729c9cd579dc8badd1a28f68 SHA512 d7a2643abd1904cc5ff4d91cbb6f1baeb7f75fd1db542c5e14f19412f4f0bd4b903f8e703a7662ba7482c79dac5529057760b6427599d35e0842755fd946e057 WHIRLPOOL 4866c82c6428eae526c0a514c988e4119221f77b0e8bfb04fec713dd3ba516c69afc776a0c6f53c29abfd8507aa23801614db1ba544dd0a0dd4d6a9462c27306
diff --git a/x11-libs/libXpresent/files/libXpresent-1.0.0-add-depends-to-pkgconfig.patch b/x11-libs/libXpresent/files/libXpresent-1.0.0-add-depends-to-pkgconfig.patch
new file mode 100644
index 000000000000..1b5be70a4f3c
--- /dev/null
+++ b/x11-libs/libXpresent/files/libXpresent-1.0.0-add-depends-to-pkgconfig.patch
@@ -0,0 +1,29 @@
+[mattst88] Dropped configure.ac changes. ebuild depends on these.
+
+From dd6771cdf6f04cde37eb14891573c0e55be83241 Mon Sep 17 00:00:00 2001
+From: Julien Cristau <jcristau@debian.org>
+Date: Sun, 26 Apr 2015 17:53:15 +0200
+Subject: configure, xpresent.pc: require xext, xfixes and xrandr
+
+include/X11/extensions/Xpresent.h:#include <X11/extensions/Xfixes.h>
+include/X11/extensions/Xpresent.h:#include <X11/extensions/Xrandr.h>
+include/X11/extensions/Xpresent.h:#include <X11/extensions/sync.h>
+
+v2: also add requirement in xpresent.pc since we include those in our
+ public header
+
+Signed-off-by: Julien Cristau <jcristau@debian.org>
+
+diff --git a/xpresent.pc.in b/xpresent.pc.in
+index d5d0d38..8f6047a 100644
+--- a/xpresent.pc.in
++++ b/xpresent.pc.in
+@@ -7,6 +7,6 @@ Name: Xpresent
+ Description: X Present Library
+ Version: @PACKAGE_VERSION@
+ Requires: xproto presentproto >= @PRESENTEXT_VERSION@
+-Requires.private: x11
++Requires.private: x11 xext xfixes xrandr
+ Cflags: -I${includedir}
+ Libs: -L${libdir} -lXpresent
+--
diff --git a/x11-libs/libXpresent/libXpresent-1.0.0.ebuild b/x11-libs/libXpresent/libXpresent-1.0.0.ebuild
new file mode 100644
index 000000000000..f78b12e347be
--- /dev/null
+++ b/x11-libs/libXpresent/libXpresent-1.0.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+XORG_MULTILIB=yes
+inherit xorg-2
+
+DESCRIPTION="X Present Extension C Library"
+
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND="
+ x11-libs/libX11[${MULTILIB_USEDEP}]
+ x11-libs/libXext[${MULTILIB_USEDEP}]
+ x11-libs/libXfixes[${MULTILIB_USEDEP}]
+ x11-libs/libXrandr[${MULTILIB_USEDEP}]
+ x11-proto/presentproto[${MULTILIB_USEDEP}]
+ x11-proto/xextproto[${MULTILIB_USEDEP}]
+ x11-proto/xproto[${MULTILIB_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${P}-add-depends-to-pkgconfig.patch )
diff --git a/x11-libs/libXpresent/metadata.xml b/x11-libs/libXpresent/metadata.xml
new file mode 100644
index 000000000000..e943b72b8a48
--- /dev/null
+++ b/x11-libs/libXpresent/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+</maintainer>
+</pkgmetadata>