Add graphics/wld.

wld is a drawing library that targets Wayland.

Currently, this package only supports unaccelerated rendering on NetBSD.
This commit is contained in:
nia 2019-12-11 21:15:10 +00:00
parent dbc970c5af
commit f397b83d50
6 changed files with 63 additions and 1 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.868 2019/12/04 11:17:58 leot Exp $
# $NetBSD: Makefile,v 1.869 2019/12/11 21:15:10 nia Exp $
#
COMMENT= Graphics tools and libraries
@ -776,6 +776,7 @@ SUBDIR+= vp
SUBDIR+= vtk
SUBDIR+= vtk-data
SUBDIR+= vtk-docs
SUBDIR+= wld
SUBDIR+= wm-icons
SUBDIR+= wmphoto
SUBDIR+= wxsvg

3
graphics/wld/DESCR Normal file
View file

@ -0,0 +1,3 @@
wld is a drawing library that targets Wayland.
Currently, this package only supports unaccelerated rendering on NetBSD.

25
graphics/wld/Makefile Normal file
View file

@ -0,0 +1,25 @@
# $NetBSD: Makefile,v 1.1 2019/12/11 21:15:10 nia Exp $
DISTNAME= wld-0.0.0.20191211
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=niacat/}
GITHUB_PROJECT= wld
GITHUB_TAG= cf05d2bdcb418a686258bf02538136077dc1ace7
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/niacat/wld
COMMENT= Primitive drawing library targeted at Wayland
LICENSE= mit
USE_TOOLS+= gmake pkg-config
MAKE_FLAGS+= CC=${CC:Q}
MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
PKGCONFIG_OVERRIDE+= wld.pc.in
.include "../../devel/wayland/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../x11/libdrm/buildlink3.mk"
.include "../../x11/pixman/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

10
graphics/wld/PLIST Normal file
View file

@ -0,0 +1,10 @@
@comment $NetBSD: PLIST,v 1.1 2019/12/11 21:15:10 nia Exp $
include/wld/drm.h
include/wld/pixman.h
include/wld/wayland.h
include/wld/wld.h
lib/libwld.a
lib/libwld.so
lib/libwld.so.0
lib/libwld.so.0.0
lib/pkgconfig/wld.pc

View file

@ -0,0 +1,17 @@
# $NetBSD: buildlink3.mk,v 1.1 2019/12/11 21:15:10 nia Exp $
BUILDLINK_TREE+= wld
.if !defined(WLD_BUILDLINK3_MK)
WLD_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.wld+= wld>=0.0.0.20191211
BUILDLINK_PKGSRCDIR.wld?= ../../graphics/wld
.include "../../devel/wayland/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../x11/libdrm/buildlink3.mk"
.include "../../x11/pixman/buildlink3.mk"
.endif # WLD_BUILDLINK3_MK
BUILDLINK_TREE+= -wld

6
graphics/wld/distinfo Normal file
View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2019/12/11 21:15:10 nia Exp $
SHA1 (wld-0.0.0.20191211-cf05d2bdcb418a686258bf02538136077dc1ace7.tar.gz) = 9d1d1d63bd02a7da14c962041b009353a8ff5dc6
RMD160 (wld-0.0.0.20191211-cf05d2bdcb418a686258bf02538136077dc1ace7.tar.gz) = cfbffd5ca9a4916dd503b08858bdb56f5452238b
SHA512 (wld-0.0.0.20191211-cf05d2bdcb418a686258bf02538136077dc1ace7.tar.gz) = a67be16c9d075083fbc7e843138153e4cd10a5ae90ef98e197657ae9dfb6c6622b5007ebd5371884c457e25f6f65f8cbc68f4c451b9819f7e3348f9a522ce5d5
Size (wld-0.0.0.20191211-cf05d2bdcb418a686258bf02538136077dc1ace7.tar.gz) = 49869 bytes