pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
nativefiledialog-extended: pkglinted and assigned values in Makefile
Module Name: pkgsrc-wip
Committed By: Kevin Bloom <kevin.bloom%posteo.net@localhost>
Pushed By: nuclearkev
Date: Mon Jan 6 22:19:44 2025 -0500
Changeset: 7980009d1fc38c206ac23f63cea7b74ceed96494
Modified Files:
nativefiledialog-extended/DESCR
nativefiledialog-extended/Makefile
nativefiledialog-extended/buildlink3.mk
Log Message:
nativefiledialog-extended: pkglinted and assigned values in Makefile
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7980009d1fc38c206ac23f63cea7b74ceed96494
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
nativefiledialog-extended/DESCR | 26 ++++++++++----------------
nativefiledialog-extended/Makefile | 10 +++++-----
nativefiledialog-extended/buildlink3.mk | 8 ++++----
3 files changed, 19 insertions(+), 25 deletions(-)
diffs:
diff --git a/nativefiledialog-extended/DESCR b/nativefiledialog-extended/DESCR
index da3554b9c6..fdb80b2e22 100644
--- a/nativefiledialog-extended/DESCR
+++ b/nativefiledialog-extended/DESCR
@@ -1,23 +1,17 @@
-TODO: Adjust the following lines from README.md
-
-
-# Native File Dialog Extended
-
-![GitHub Actions](https://github.com/btzy/nativefiledialog-extended/workflows/build/badge.svg)
-
-A small C library with that portably invokes native file open, folder select and file save dialogs. Write dialog code once and have it pop up native dialogs on all supported platforms. Avoid linking large dependencies like wxWidgets and Qt.
-
-This library is based on Michael Labbe's Native File Dialog ([mlabbe/nativefiledialog](https://github.com/mlabbe/nativefiledialog)).
-
-Features:
+A small C library with that portably invokes native file open,
+folder select and file save dialogs. Write dialog code once and
+have itpop up native dialogs on all supported platforms. Avoid
+linking large dependencies like wxWidgets and Qt.
- Lean C API, static library — no C++/ObjC runtime needed
-- Supports Windows (MSVC, MinGW, Clang), macOS (Clang), and Linux (GTK, portal) (GCC, Clang)
+- Supports Windows (MSVC, MinGW, Clang), macOS (Clang), and Linux
+ (GTK, portal) (GCC, Clang)
- Zlib licensed
-- Friendly names for filters (e.g. `C/C++ Source files (*.c;*.cpp)` instead of `(*.c;*.cpp)`) on platforms that support it
-- Automatically append file extension on platforms where users expect it
+- Friendly names for filters (e.g. `C/C++ Source files (*.c;*.cpp)`
+ instead of `(*.c;*.cpp)`) on platforms that support it
+- Automatically append file extension on platforms where users
+ expect it
- Support for setting a default folder path
- Support for setting a default file name (e.g. `Untitled.c`)
- Consistent UTF-8 support on all platforms
- Native character set (UTF-16 `wchar_t`) support on Windows
-...
diff --git a/nativefiledialog-extended/Makefile b/nativefiledialog-extended/Makefile
index 65aa91ee91..980b62e904 100644
--- a/nativefiledialog-extended/Makefile
+++ b/nativefiledialog-extended/Makefile
@@ -1,14 +1,14 @@
# $NetBSD$
DISTNAME= nativefiledialog-extended-1.2.1
-CATEGORIES= # TODO: add primary category
+CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_GITHUB:=btzy/}
-GITHUB_TAG= refs/tags/v${PKGVERSION_NOREV}
+GITHUB_TAG= v${PKGVERSION_NOREV}
-MAINTAINER= INSERT_YOUR_MAIL_ADDRESS_HERE # or use pkgsrc-users%NetBSD.org@localhost
+MAINTAINER= ktnb%NetBSD.org@localhost
HOMEPAGE= https://github.com/btzy/nativefiledialog-extended/
-COMMENT= TODO: Short description of the package
-#LICENSE= # TODO: (see mk/license.mk)
+COMMENT= Cross platform native file dialog library with C and C++ bindings
+LICENSE= zlib
WRKSRC= ${WRKDIR}/${DISTNAME}
diff --git a/nativefiledialog-extended/buildlink3.mk b/nativefiledialog-extended/buildlink3.mk
index b11fa43011..4649c8344b 100644
--- a/nativefiledialog-extended/buildlink3.mk
+++ b/nativefiledialog-extended/buildlink3.mk
@@ -2,12 +2,12 @@
BUILDLINK_TREE+= nativefiledialog-extended
-.if !defined(NATIVEFILEDIALOG-EXTENDED_BUILDLINK3_MK)
-NATIVEFILEDIALOG-EXTENDED_BUILDLINK3_MK:=
+.if !defined(NATIVEFILEDIALOG_EXTENDED_BUILDLINK3_MK)
+NATIVEFILEDIALOG_EXTENDED_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.nativefiledialog-extended+= nativefiledialog-extended>=1.2.1
-BUILDLINK_PKGSRCDIR.nativefiledialog-extended?= ../../wip/nativefiledialog-extended
+BUILDLINK_PKGSRCDIR.nativefiledialog-extended?= ../../wip/nativefiledialog-extended
-.endif # NATIVEFILEDIALOG-EXTENDED_BUILDLINK3_MK
+.endif # NATIVEFILEDIALOG_EXTENDED_BUILDLINK3_MK
BUILDLINK_TREE+= -nativefiledialog-extended
Home |
Main Index |
Thread Index |
Old Index