pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add picom update: still broken
Module Name: pkgsrc-wip
Committed By: pin <voidpin%protonmail.com@localhost>
Pushed By: pin
Date: Thu Jun 15 13:49:14 2023 +0200
Changeset: 554b7aa728262152905423a7cd7d01bd60a0a4fb
Added Files:
picom/DESCR
picom/Makefile
picom/PLIST
picom/distinfo
picom/hacks.mk
picom/options.mk
Log Message:
Add picom update: still broken
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=554b7aa728262152905423a7cd7d01bd60a0a4fb
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
picom/DESCR | 1 +
picom/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++
picom/PLIST | 12 ++++++++++++
picom/distinfo | 5 +++++
picom/hacks.mk | 16 ++++++++++++++++
picom/options.mk | 21 +++++++++++++++++++++
6 files changed, 99 insertions(+)
diffs:
diff --git a/picom/DESCR b/picom/DESCR
new file mode 100644
index 0000000000..eeb7588186
--- /dev/null
+++ b/picom/DESCR
@@ -0,0 +1 @@
+A lightweight compositor for X11 (previously a compton fork)
diff --git a/picom/Makefile b/picom/Makefile
new file mode 100644
index 0000000000..99422b916c
--- /dev/null
+++ b/picom/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.8 2022/09/04 12:12:01 tnn Exp $
+
+DISTNAME= picom-10.2
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_GITHUB:=yshui/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/yshui/picom
+COMMENT= Lightweight compositor for X11 (fork of Compton)
+LICENSE= mpl-2.0 AND mit
+
+CONFLICTS+= compton-[0-9]*
+SUPERSEDES+= compton-[0-9]*
+
+TOOL_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
+
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+MESON_ARGS+= -Dwith_docs=true
+REPLACE_SH+= bin/picom-trans
+PYTHON_FOR_BUILD_ONLY= tool
+INSTALLATION_DIRS+= share/examples/picom
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/picom.sample.conf ${DESTDIR}${PREFIX}/share/examples/picom/picom.sample.conf
+
+.include "options.mk"
+.include "../../devel/meson/build.mk"
+.include "../../devel/libconfig/buildlink3.mk"
+.include "../../devel/libev/buildlink3.mk"
+.include "../../devel/pcre/buildlink3.mk"
+.include "../../devel/uthash/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../x11/libxcb/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/pixman/buildlink3.mk"
+.include "../../x11/xcb-util-image/buildlink3.mk"
+.include "../../x11/xcb-util-renderutil/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/picom/PLIST b/picom/PLIST
new file mode 100644
index 0000000000..efb3a8d110
--- /dev/null
+++ b/picom/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.3 2022/07/29 21:16:32 tnn Exp $
+bin/compton
+bin/compton-trans
+bin/picom
+bin/picom-trans
+man/man1/picom-trans.1
+man/man1/picom.1
+share/applications/compton.desktop
+share/applications/picom.desktop
+share/examples/picom/picom.sample.conf
+share/icons/hicolor/48x48/apps/compton.png
+share/icons/hicolor/scalable/apps/compton.svg
diff --git a/picom/distinfo b/picom/distinfo
new file mode 100644
index 0000000000..c7a95fcaf3
--- /dev/null
+++ b/picom/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.9 2022/09/04 12:12:01 tnn Exp $
+
+BLAKE2s (picom-10.2.tar.gz) = dcff9baec019f3815b07f0f53c8b2f1f8d088315b7f729fabb68b5b2dce21bc3
+SHA512 (picom-10.2.tar.gz) = 9c0351fbe8a9e76533243c8e76f8e7d10c1e49292f1c8e6c06f31fb0b512542a67970abe803d061c953546ff8d3e704488c263002a5a831f68deb010caee481d
+Size (picom-10.2.tar.gz) = 287166 bytes
diff --git a/picom/hacks.mk b/picom/hacks.mk
new file mode 100644
index 0000000000..ad35552f83
--- /dev/null
+++ b/picom/hacks.mk
@@ -0,0 +1,16 @@
+# $NetBSD: hacks.mk,v 1.3 2022/07/29 21:16:32 tnn Exp $
+
+.if !defined(PICOM_HACKS_MK)
+PICOM_HACKS_MK= defined
+
+### [Sat Jan 11 23:38:59 JST 2020 : pho]
+### The predefined CPP macro __STDC_NO_THREADS__ is expected to be
+### defined by *libc* which doesn't support C11 threads... What? Then
+### what about libc which doesn't even know what C11 threads are?
+###
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 090000
+PKG_HACKS+= c11-no-threads
+CPPFLAGS+= -D__STDC_NO_THREADS__
+.endif
+
+.endif # PICOM_HACKS_MK
diff --git a/picom/options.mk b/picom/options.mk
new file mode 100644
index 0000000000..b12154e6a6
--- /dev/null
+++ b/picom/options.mk
@@ -0,0 +1,21 @@
+# $NetBSD: options.mk,v 1.1 2019/12/15 14:05:47 nia Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.picom
+PKG_SUPPORTED_OPTIONS= dbus opengl
+PKG_SUGGESTED_OPTIONS= dbus opengl
+#PKG_SUGGESTED_OPTIONS= dbus
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mdbus)
+MESON_ARGS+= -Ddbus=true
+. include "../../sysutils/dbus/buildlink3.mk"
+.else
+MESON_ARGS+= -Ddbus=false
+.endif
+
+.if !empty(PKG_OPTIONS:Mopengl)
+MESON_ARGS+= -Dopengl=true
+.else
+MESON_ARGS+= -Dopengl=false
+.endif
Home |
Main Index |
Thread Index |
Old Index