pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PatternPaint: add new untested package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Wed Dec 14 10:30:03 2016 +0100
Changeset:	d31d0e8c8a3d19eda745f70f97f054bbf5dfa905

Modified Files:
	Makefile
Added Files:
	PatternPaint/DESCR
	PatternPaint/Makefile
	PatternPaint/PLIST
	PatternPaint/distinfo
	PatternPaint/patches/patch-PatternPaint.pro

Log Message:
PatternPaint: add new untested package

Making beautiful light shows is as easy as drawing a picture with
Pattern Paint! Simply plug in your BlinkyTape, run Pattern Paint,
and draw away!

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d31d0e8c8a3d19eda745f70f97f054bbf5dfa905

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                    |  1 +
 PatternPaint/DESCR                          |  3 +++
 PatternPaint/Makefile                       | 32 +++++++++++++++++++++++++++++
 PatternPaint/PLIST                          |  2 ++
 PatternPaint/distinfo                       |  7 +++++++
 PatternPaint/patches/patch-PatternPaint.pro | 15 ++++++++++++++
 6 files changed, 60 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index acd6426..d07c120 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,7 @@ SUBDIR+=	OpenBLAS
 SUBDIR+=	OpenGLUT
 SUBDIR+=	PHPUnit
 SUBDIR+=	PPower4
+SUBDIR+=	PatternPaint
 SUBDIR+=	PyBabelFish
 SUBDIR+=	Pythonol
 SUBDIR+=	R-BiocGenerics
diff --git a/PatternPaint/DESCR b/PatternPaint/DESCR
new file mode 100644
index 0000000..ff19c91
--- /dev/null
+++ b/PatternPaint/DESCR
@@ -0,0 +1,3 @@
+Making beautiful light shows is as easy as drawing a picture with
+Pattern Paint! Simply plug in your BlinkyTape, run Pattern Paint,
+and draw away!
diff --git a/PatternPaint/Makefile b/PatternPaint/Makefile
new file mode 100644
index 0000000..9430d84
--- /dev/null
+++ b/PatternPaint/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD$
+
+DISTNAME=	PatternPaint-2.1.1
+CATEGORIES=	graphics
+MASTER_SITES=	${MASTER_SITE_GITHUB:=Blinkinlabs/}
+
+MAINTAINER=	wiz%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/Blinkinlabs/PatternPaint
+COMMENT=	Making beautiful light shows is as easy as drawing a picture
+LICENSE=	gnu-gpl-v2
+
+USE_LANGUAGES=	c++
+USE_LIBTOOL=	yes
+EXTRACT_USING=	bsdtar
+USE_TOOLS+=	bsdtar pkg-config
+
+WRKSRC=		${WRKDIR}/${DISTNAME}/PatternPaint
+
+CXXFLAGS+=	-std=c++11
+
+INSTALLATION_DIRS=	bin
+
+pre-build:
+	cd ${WRKSRC} && ${BUILDLINK_PREFIX.qt5-qtbase}/qt5/bin/qmake
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/PatternPaint ${DESTDIR}${PREFIX}/bin
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qtserialport/buildlink3.mk"
+.include "../../devel/libusb1/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/PatternPaint/PLIST b/PatternPaint/PLIST
new file mode 100644
index 0000000..c459b68
--- /dev/null
+++ b/PatternPaint/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/PatternPaint
diff --git a/PatternPaint/distinfo b/PatternPaint/distinfo
new file mode 100644
index 0000000..c7e359a
--- /dev/null
+++ b/PatternPaint/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (PatternPaint-2.1.1.tar.gz) = 70ebff6cf48499ac3b20ab11a280edbe3efbad55
+RMD160 (PatternPaint-2.1.1.tar.gz) = b2427a5dc5b1f117df6a2b33066bda5ca2aceca9
+SHA512 (PatternPaint-2.1.1.tar.gz) = 29f1fc070d87e5683ef5d172cdceab4a2b78a241d4fed950f44620625e238579525180609ec37be12ff53aa31bc7e4d7fd313b089d77d3d3dcc48ea69d775342
+Size (PatternPaint-2.1.1.tar.gz) = 17888151 bytes
+SHA1 (patch-PatternPaint.pro) = 246333e70cfed77b0b339f5631bef37eb712d094
diff --git a/PatternPaint/patches/patch-PatternPaint.pro b/PatternPaint/patches/patch-PatternPaint.pro
new file mode 100644
index 0000000..5e6af32
--- /dev/null
+++ b/PatternPaint/patches/patch-PatternPaint.pro
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Add missing library.
+
+--- PatternPaint.pro.orig	2016-12-13 10:57:34.000000000 +0000
++++ PatternPaint.pro
+@@ -88,6 +88,8 @@ win32 {
+     RC_ICONS += images/patternpaint.ico
+ }
+ 
++LIBS+=	-lusb-1.0
++
+ DISTFILES += \
+     ../uncrustify.cfg \
+     gitversion.pri


Home | Main Index | Thread Index | Old Index