summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2020-07-14 17:25:26 +0200
committerMatthieu Herrb <matthieu@herrb.eu>2020-07-14 17:25:26 +0200
commit27e90ce3cd700e1a09bb6a2c5c379796ce6adb01 (patch)
tree9efe855e4ea954f5b4e07e6f5fa23cbdf874eaea
parentf82d0b336e20979cfcc6542092518aba1a66fbcf (diff)
Add libXpresent
-rw-r--r--x11/libXpresent/Makefile31
-rw-r--r--x11/libXpresent/distinfo2
-rw-r--r--x11/libXpresent/pkg/DESCR1
-rw-r--r--x11/libXpresent/pkg/PLIST7
4 files changed, 41 insertions, 0 deletions
diff --git a/x11/libXpresent/Makefile b/x11/libXpresent/Makefile
new file mode 100644
index 0000000..e8f7c27
--- /dev/null
+++ b/x11/libXpresent/Makefile
@@ -0,0 +1,31 @@
+# $OpenBSD: Makefile.template,v 1.83 2019/07/02 12:03:14 sthen Exp $
+COMMENT = Xlib-based library for the X Present Extension
+
+DISTNAME = libXpresent-1.0.0
+CATEGORIES = x11
+
+HOMEPAGE = https://gitlab.freedesktop.org/xorg/lib/libxpresent
+
+MAINTAINER = xenocara@openbsd.org
+
+SHARED_LIBS= Xpresent 1.0
+
+# MIT
+PERMIT_PACKAGE = Yes
+
+WANTLIB = X11 Xau Xdmcp xcb
+
+MASTER_SITES = ${MASTER_SITE_XORG:=lib/}
+
+# Dependencies
+BUILD_DEPENDS = devel/xorg-util-macros \
+ devel/xorgproto \
+
+LIB_DEPENDS = x11/libX11 \
+
+SEPARATE_BUILD = Yes
+CONFIGURE_STYLE = gnu
+
+NO_TEST = Yes
+
+.include <bsd.port.mk>
diff --git a/x11/libXpresent/distinfo b/x11/libXpresent/distinfo
new file mode 100644
index 0000000..32fff75
--- /dev/null
+++ b/x11/libXpresent/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libXpresent-1.0.0.tar.gz) = kvG9+2euL/zbJa1ywCysXkkS3JvHkoWCQN8dfxBZRvo=
+SIZE (libXpresent-1.0.0.tar.gz) = 351037
diff --git a/x11/libXpresent/pkg/DESCR b/x11/libXpresent/pkg/DESCR
new file mode 100644
index 0000000..b79383e
--- /dev/null
+++ b/x11/libXpresent/pkg/DESCR
@@ -0,0 +1 @@
+Xpresent - X Present Extension library
diff --git a/x11/libXpresent/pkg/PLIST b/x11/libXpresent/pkg/PLIST
new file mode 100644
index 0000000..f1ebf11
--- /dev/null
+++ b/x11/libXpresent/pkg/PLIST
@@ -0,0 +1,7 @@
+@comment $OpenBSD: PLIST,v$
+include/X11/extensions/Xpresent.h
+@static-lib lib/libXpresent.a
+lib/libXpresent.la
+@lib lib/libXpresent.so.${LIBXpresent_VERSION}
+lib/pkgconfig/xpresent.pc
+@man man/man3/Xpresent.3