summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2019-07-21 19:38:22 +0200
committerMatthieu Herrb <matthieu@herrb.eu>2019-07-21 19:38:22 +0200
commit6895fab8c1a40e5830bf190c82b1d390ee64f254 (patch)
treec64c755d7d69809d372fbeac71b9752a04b87dc4
parent6f45fefdc440cf8e19d3ecb6bfa1219960d7129a (diff)
initial pixman
-rw-r--r--graphics/pixman/Makefile57
-rw-r--r--graphics/pixman/distinfo2
-rw-r--r--graphics/pixman/pkg/DESCR11
-rw-r--r--graphics/pixman/pkg/PLIST8
4 files changed, 78 insertions, 0 deletions
diff --git a/graphics/pixman/Makefile b/graphics/pixman/Makefile
new file mode 100644
index 0000000..f4580b7
--- /dev/null
+++ b/graphics/pixman/Makefile
@@ -0,0 +1,57 @@
+# $OpenBSD: Makefile.template,v 1.83 2019/07/02 12:03:14 sthen Exp $
+COMMENT = ???
+# COMMENT-foo = ??? for multi packages
+
+#
+# What port/package will be created
+#
+DISTNAME = pixman-0.38.4
+
+CATEGORIES = graphics
+
+SHARED_LIBS = pixman-1 38.4
+
+HOMEPAGE = https://www.pixman.org/
+
+MAINTAINER = xenocara@openbsd.org
+
+# MIT
+PERMIT_PACKAGE = Yes
+PERMIT_DISTFILES = Yes
+
+# "make port-lib-depends-check" can help
+#WANTLIB = ???
+
+# where the source files and patches can be fetched
+#
+MASTER_SITES = https://cairographics.org/releases/
+
+
+# build/configuration variables
+#
+SEPARATE_BUILD = Yes
+CONFIGURE_STYLE = gnu
+
+.if ${MACHINE_ARCH} == arm
+CONFIGURE_ARGS += --disable-arm-simd --disable-arm-neon
+.endif
+
+# for gnu stuff
+#AUTOCONF_VERSION = ??? (defaults to 2.13)
+#AUTOMAKE_VERSION = ??? (defaults to 1.4)
+# config.guess and others are copied here
+#MODGNU_CONFIG_GUESS_DIRS = ??? (defaults to ${WRKSRC})
+
+# Is the build automagic or is it interactive
+#
+#IS_INTERACTIVE = Yes
+#TEST_IS_INTERACTIVE = Yes
+
+# Assume you have one multiple choice flavor: 1 2 3 and switches a b.
+# You would write
+#
+#NO_BUILD = Yes
+#NO_TEST = Yes
+
+
+.include <bsd.port.mk>
diff --git a/graphics/pixman/distinfo b/graphics/pixman/distinfo
new file mode 100644
index 0000000..c2819b8
--- /dev/null
+++ b/graphics/pixman/distinfo
@@ -0,0 +1,2 @@
+SHA256 (pixman-0.38.4.tar.gz) = 2mbW/W5ArucPe9AuT492/D8Absh500a65qcjAlz73ec=
+SIZE (pixman-0.38.4.tar.gz) = 897926
diff --git a/graphics/pixman/pkg/DESCR b/graphics/pixman/pkg/DESCR
new file mode 100644
index 0000000..685809c
--- /dev/null
+++ b/graphics/pixman/pkg/DESCR
@@ -0,0 +1,11 @@
+Pixman is a low-level software library for pixel manipulation,
+providing features such as image compositing and trapezoid
+rasterization. Important users of pixman are the cairo graphics
+library and the X server.
+
+Pixman is implemented as a library in the C programming language. It
+runs on many platforms, including Linux, BSD Derivatives, MacOS X, and
+Windows.
+
+Pixman is free and open source software. It is available to be
+redistributed and/or modified under the terms of the MIT license.
diff --git a/graphics/pixman/pkg/PLIST b/graphics/pixman/pkg/PLIST
new file mode 100644
index 0000000..7b0f3c8
--- /dev/null
+++ b/graphics/pixman/pkg/PLIST
@@ -0,0 +1,8 @@
+@comment $OpenBSD: PLIST,v$
+include/pixman-1/
+include/pixman-1/pixman-version.h
+include/pixman-1/pixman.h
+lib/libpixman-1.a
+lib/libpixman-1.la
+@lib lib/libpixman-1.so.${LIBpixman-1_VERSION}
+lib/pkgconfig/pixman-1.pc