pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
jdim-current: new package
Module Name: pkgsrc-wip
Committed By: PHO <pho%cielonegro.org@localhost>
Pushed By: pho
Date: Thu Oct 31 11:29:06 2024 +0900
Changeset: 903875cc9afb6faafcd40f64093ca3683789ac10
Modified Files:
Makefile
Added Files:
jdim-current/DESCR
jdim-current/Makefile
jdim-current/PLIST
jdim-current/TODO
jdim-current/options.mk
Log Message:
jdim-current: new package
JDim is a fork of JD, which is a viewer program for 2ch-like BBS.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=903875cc9afb6faafcd40f64093ca3683789ac10
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
jdim-current/DESCR | 3 +++
jdim-current/Makefile | 27 +++++++++++++++++++++++++++
jdim-current/PLIST | 6 ++++++
jdim-current/TODO | 4 ++++
jdim-current/options.mk | 41 +++++++++++++++++++++++++++++++++++++++++
6 files changed, 82 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 99336c71c9..3ce128df88 100644
--- a/Makefile
+++ b/Makefile
@@ -1789,6 +1789,7 @@ SUBDIR+= jazz2-resurrection
SUBDIR+= jbmgen
SUBDIR+= jc
SUBDIR+= jd
+SUBDIR+= jdim-current
SUBDIR+= jedit
SUBDIR+= jellyfish
SUBDIR+= jellyfish2
diff --git a/jdim-current/DESCR b/jdim-current/DESCR
new file mode 100644
index 0000000000..99c904b799
--- /dev/null
+++ b/jdim-current/DESCR
@@ -0,0 +1,3 @@
+JDim is a fork of JD, which is a viewer program for 2ch-like BBS.
+
+Install graphics/webp-pixbuf-loader if you want to render WebP images.
diff --git a/jdim-current/Makefile b/jdim-current/Makefile
new file mode 100644
index 0000000000..ab3ef8bbc9
--- /dev/null
+++ b/jdim-current/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD$
+
+DISTNAME= JDim-0
+PKGNAME= jdim-current-0
+CATEGORIES= chat
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://jdimproved.github.io/JDim/
+COMMENT= 2ch browser for *nix
+LICENSE= gnu-gpl-v2
+
+GIT_REPO= https://github.com/JDimproved/JDim.git
+
+USE_LANGUAGES= c++
+USE_TOOLS+= pkg-config
+
+.include "options.mk"
+
+MESON_ARGS+= -Dpackager=pkgsrc
+
+.include "../../devel/meson/build.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../x11/gtkmm3/buildlink3.mk"
+.include "../../x11/libSM/buildlink3.mk"
+
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/jdim-current/PLIST b/jdim-current/PLIST
new file mode 100644
index 0000000000..830bf03108
--- /dev/null
+++ b/jdim-current/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD$
+bin/jdim
+share/applications/jdim.desktop
+share/icons/hicolor/48x48/apps/jdim.png
+share/icons/hicolor/scalable/apps/jdim.svg
+share/metainfo/jdim.metainfo.xml
diff --git a/jdim-current/TODO b/jdim-current/TODO
new file mode 100644
index 0000000000..c23f74a2ce
--- /dev/null
+++ b/jdim-current/TODO
@@ -0,0 +1,4 @@
+* AVIF support needs a gdk-pixbuf loader module but we don't seem to have
+ packaged it. After doing it we should mention it in DESCR. See
+ https://github.com/JDimproved/JDim/discussions/737 and
+ https://github.com/AOMediaCodec/libavif/pull/182
diff --git a/jdim-current/options.mk b/jdim-current/options.mk
new file mode 100644
index 0000000000..2862b8b04c
--- /dev/null
+++ b/jdim-current/options.mk
@@ -0,0 +1,41 @@
+# $NetBSD$
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.jdim
+PKG_SUPPORTED_OPTIONS= alsa migemo
+PKG_OPTIONS_REQUIRED_GROUPS= tls
+PKG_OPTIONS_GROUP.tls= gnutls openssl
+PKG_SUGGESTED_OPTIONS= gnutls migemo
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Play sound effects using ALSA
+###
+.if !empty(PKG_OPTIONS:Malsa)
+MESON_ARGS+= -Dalsa=enabled
+. include "../../audio/alsa-lib/buildlink3.mk"
+.endif
+
+###
+### Search Japanese text using Migemo
+###
+.if !empty(PKG_OPTIONS:Mmigemo)
+MESON_ARGS+= -Dmigemo=enabled -Dmigemodict=${PREFIX:Q}/share/migemo/utf-8/migemo-dict
+. include "../../textproc/cmigemo/buildlink3.mk"
+.endif
+
+###
+### Use GnuTLS for TLS
+###
+.if !empty(PKG_OPTIONS:Mgnutls)
+MESON_ARGS+= -Dtls=gnutls
+. include "../../security/gnutls/buildlink3.mk"
+.endif
+
+###
+### Use OpenSSL for TLS
+###
+.if !empty(PKG_OPTIONS:Mopenssl)
+MESON_ARGS+= -Dtls=openssl
+. include "../../security/openssl/buildlink3.mk"
+.endif
Home |
Main Index |
Thread Index |
Old Index