summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2020-07-12 11:04:41 +0200
committerMatthieu Herrb <matthieu@herrb.eu>2020-07-12 11:04:41 +0200
commit4089fb98127a2c70950595d7ef6cae1d65bd75a7 (patch)
tree40688264b61987a23f16689a1b1c8d8a27a793c8
parentf9c0db49287f97960a0829f845e751b6dc9d844d (diff)
Add libXinerama
-rw-r--r--x11/libXinerama/Makefile34
-rw-r--r--x11/libXinerama/distinfo2
-rw-r--r--x11/libXinerama/pkg/DESCR1
-rw-r--r--x11/libXinerama/pkg/PLIST12
4 files changed, 49 insertions, 0 deletions
diff --git a/x11/libXinerama/Makefile b/x11/libXinerama/Makefile
new file mode 100644
index 0000000..119d3f9
--- /dev/null
+++ b/x11/libXinerama/Makefile
@@ -0,0 +1,34 @@
+# $OpenBSD: Makefile.template,v 1.83 2019/07/02 12:03:14 sthen Exp $
+COMMENT = API for Xinerama extension to X11 Protocol
+
+DISTNAME = libXinerama-1.1.4
+CATEGORIES = x11
+
+HOMEPAGE = https://gitlab.freedesktop.org/xorg/lib/libxinerama
+
+MAINTAINER = xenocara@openbsd.org
+
+SHARED_LIBS= Xinerama 6.0
+
+# MIT
+PERMIT_PACKAGE = Yes
+
+WANTLIB = X11 Xau Xdmcp Xext xcb
+
+MASTER_SITES = ${MASTER_SITE_XORG:=lib/}
+
+# Dependencies
+BUILD_DEPENDS = devel/xorg-util-macros \
+ devel/xorgproto
+
+LIB_DEPENDS = x11/libXext
+
+SEPARATE_BUILD = Yes
+CONFIGURE_STYLE = gnu
+
+CONFIGURE_ARGS = --without-xmlto --without-asciidoc --without-fop \
+ --disable-specs
+
+NO_TEST = Yes
+
+.include <bsd.port.mk>
diff --git a/x11/libXinerama/distinfo b/x11/libXinerama/distinfo
new file mode 100644
index 0000000..5e8a14d
--- /dev/null
+++ b/x11/libXinerama/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libXinerama-1.1.4.tar.gz) = ZN5F4YzHa45wPLCbPJ0ovRbj0F1c2Z8tYw3i1iw6zBg=
+SIZE (libXinerama-1.1.4.tar.gz) = 380740
diff --git a/x11/libXinerama/pkg/DESCR b/x11/libXinerama/pkg/DESCR
new file mode 100644
index 0000000..b67ea22
--- /dev/null
+++ b/x11/libXinerama/pkg/DESCR
@@ -0,0 +1 @@
+libXinerama - API for Xinerama extension to X11 Protocol
diff --git a/x11/libXinerama/pkg/PLIST b/x11/libXinerama/pkg/PLIST
new file mode 100644
index 0000000..1562af0
--- /dev/null
+++ b/x11/libXinerama/pkg/PLIST
@@ -0,0 +1,12 @@
+@comment $OpenBSD: PLIST,v$
+include/X11/extensions/Xinerama.h
+include/X11/extensions/panoramiXext.h
+@static-lib lib/libXinerama.a
+lib/libXinerama.la
+@lib lib/libXinerama.so.${LIBXinerama_VERSION}
+lib/pkgconfig/xinerama.pc
+@man man/man3/Xinerama.3
+@man man/man3/XineramaIsActive.3
+@man man/man3/XineramaQueryExtension.3
+@man man/man3/XineramaQueryScreens.3
+@man man/man3/XineramaQueryVersion.3