pkgsrc-WIP-changes archive

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

xwallpaper: Import xwallpaper-0.6.6 as x11/xwallpaper



Module Name:	pkgsrc-wip
Committed By:	Travis Paul <tr%vispaul.me@localhost>
Pushed By:	tpaul
Date:		Mon Apr 5 05:48:34 2021 -0400
Changeset:	47f2790bfb495ff21efcc4fbc563e71b4be0de0c

Modified Files:
	Makefile
Added Files:
	xwallpaper/DESCR
	xwallpaper/Makefile
	xwallpaper/PLIST
	xwallpaper/TODO
	xwallpaper/distinfo
	xwallpaper/options.mk

Log Message:
xwallpaper: Import xwallpaper-0.6.6 as x11/xwallpaper

The xwallpaper utility allows you to set image files as your X wallpaper.
JPEG, PNG, and XPM file formats are supported, all of them being configurable
and therefore no fixed dependencies.

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

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

diffstat:
 Makefile              |  1 +
 xwallpaper/DESCR      |  3 +++
 xwallpaper/Makefile   | 21 +++++++++++++++++++++
 xwallpaper/PLIST      |  8 ++++++++
 xwallpaper/TODO       |  1 +
 xwallpaper/distinfo   |  6 ++++++
 xwallpaper/options.mk | 17 +++++++++++++++++
 7 files changed, 57 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index b2e5bc9676..adb40e10d5 100644
--- a/Makefile
+++ b/Makefile
@@ -5903,6 +5903,7 @@ SUBDIR+=	xtreemfs-client
 SUBDIR+=	xtreemfs-server
 SUBDIR+=	xtrkcad
 SUBDIR+=	xtrlock
+SUBDIR+=	xwallpaper
 SUBDIR+=	xwax
 SUBDIR+=	xwelltris
 SUBDIR+=	xwindiff
diff --git a/xwallpaper/DESCR b/xwallpaper/DESCR
new file mode 100644
index 0000000000..1d3fdbcfea
--- /dev/null
+++ b/xwallpaper/DESCR
@@ -0,0 +1,3 @@
+The xwallpaper utility allows you to set image files as your X wallpaper.
+JPEG, PNG, and XPM file formats are supported, all of them being configurable
+and therefore no fixed dependencies.
diff --git a/xwallpaper/Makefile b/xwallpaper/Makefile
new file mode 100644
index 0000000000..0e0162e068
--- /dev/null
+++ b/xwallpaper/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+DISTNAME=	xwallpaper-0.6.6
+CATEGORIES=	x11
+MASTER_SITES=	${MASTER_SITE_GITHUB:=stoeckmann/xwallpaper/releases/download/v0.6.6/}
+EXTRACT_SUFX=	.tar.xz
+
+MAINTAINER=	tpaul%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/stoeckmann/xwallpaper/releases/download/v0.6.6/
+COMMENT=	Wallpaper setting utility for X
+LICENSE=	isc
+
+GNU_CONFIGURE=		yes
+USE_TOOLS+=		pkg-config
+
+.include "options.mk"
+
+.include "../../x11/pixman/buildlink3.mk"
+.include "../../x11/xcb-util/buildlink3.mk"
+.include "../../x11/xcb-util-image/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/xwallpaper/PLIST b/xwallpaper/PLIST
new file mode 100644
index 0000000000..b78a2ac14f
--- /dev/null
+++ b/xwallpaper/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/usr/bin/make package"
+@comment TODO: 2. run "/usr/bin/make print-PLIST"
+@comment $NetBSD$
+bin/xwallpaper
+man/man1/xwallpaper.1
+share/zsh/site-functions/_xwallpaper
diff --git a/xwallpaper/TODO b/xwallpaper/TODO
new file mode 100644
index 0000000000..db9d4a0a05
--- /dev/null
+++ b/xwallpaper/TODO
@@ -0,0 +1 @@
+Test with libjpeg-turbo, see options.mk
diff --git a/xwallpaper/distinfo b/xwallpaper/distinfo
new file mode 100644
index 0000000000..7b90a90785
--- /dev/null
+++ b/xwallpaper/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (xwallpaper-0.6.6.tar.xz) = 1b8e5f600e4ff650d31dc8e0ea3a1eb868c3e235
+RMD160 (xwallpaper-0.6.6.tar.xz) = a792722bec2a507d99f05b8d058ef93e20857e0f
+SHA512 (xwallpaper-0.6.6.tar.xz) = e37055b9adfa6950fb423228ff880afaa03dbdf2a7ced6ab1e110dbf4813f68aae3c9147668ebd20665b582bea195470c39b6948cd36879afe54d61c90b6f8d9
+Size (xwallpaper-0.6.6.tar.xz) = 85368 bytes
diff --git a/xwallpaper/options.mk b/xwallpaper/options.mk
new file mode 100644
index 0000000000..2e592ab89a
--- /dev/null
+++ b/xwallpaper/options.mk
@@ -0,0 +1,17 @@
+# $NetBSD$
+
+PKG_OPTIONS_VAR=	PKG_OPTIONS.xwallpaper
+PKG_SUPPORTED_OPTIONS=	jpeg png
+PKG_SUGGESTED_OPTIONS=	png
+
+.include "../../mk/bsd.options.mk"
+
+# untested, failed to build with jpeg-9d
+JPEG_ACCEPTED=libjpeg-turbo
+.if !empty(PKG_OPTIONS:Mjpeg)
+.include "../../mk/jpeg.buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mpng)
+.include "../../graphics/png/buildlink3.mk"
+.endif


Home | Main Index | Thread Index | Old Index