pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
libimagequant: start work on update to rust version
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By: wiz
Date: Sun Apr 30 11:02:17 2023 +0200
Changeset: 9732ccad288b354b96ad1c585978bc8f93856bbb
Modified Files:
Makefile
Added Files:
libimagequant/DESCR
libimagequant/Makefile
libimagequant/PLIST
libimagequant/TODO
libimagequant/buildlink3.mk
libimagequant/distinfo
Log Message:
libimagequant: start work on update to rust version
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9732ccad288b354b96ad1c585978bc8f93856bbb
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 2 ++
libimagequant/DESCR | 2 ++
libimagequant/Makefile | 22 ++++++++++++++++++++++
libimagequant/PLIST | 3 +++
libimagequant/TODO | 4 ++++
libimagequant/buildlink3.mk | 12 ++++++++++++
libimagequant/distinfo | 5 +++++
7 files changed, 50 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index cd405787a2..caf22daab3 100644
--- a/Makefile
+++ b/Makefile
@@ -2094,6 +2094,7 @@ SUBDIR+= libi2pd
SUBDIR+= libical2
SUBDIR+= libifstat
SUBDIR+= libilbc
+SUBDIR+= libimagequant
SUBDIR+= libimobiledevice
SUBDIR+= libinput
SUBDIR+= libinstpatch
@@ -6132,6 +6133,7 @@ SUBDIR+= zeek
SUBDIR+= zero-epwing-git
SUBDIR+= zetacoin
SUBDIR+= zf
+SUBDIR+= zig-git
SUBDIR+= zimpl
SUBDIR+= zip-devel
SUBDIR+= ziparchive
diff --git a/libimagequant/DESCR b/libimagequant/DESCR
new file mode 100644
index 0000000000..e07a3cc46d
--- /dev/null
+++ b/libimagequant/DESCR
@@ -0,0 +1,2 @@
+Small, portable C library for high-quality conversion of RGBA images to 8-bit
+indexed-color (palette) images.
diff --git a/libimagequant/Makefile b/libimagequant/Makefile
new file mode 100644
index 0000000000..ebf8bd4578
--- /dev/null
+++ b/libimagequant/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.27 2023/04/27 06:06:19 wiz Exp $
+
+DISTNAME= libimagequant-4.1.1
+CATEGORIES= graphics
+MASTER_SITES+= ${MASTER_SITE_GITHUB:=ImageOptim/}
+GITHUB_TAG= ${PKGVERSION_NOREV}
+
+MAINTAINER= adam%NetBSD.org@localhost
+HOMEPAGE= https://pngquant.org/lib/
+COMMENT= High-quality conversion of RGBA images to 8-bit indexed-color
+LICENSE= gnu-gpl-v3
+
+#INSTALLATION_DIRS= include lib
+
+#do-install:
+# ${INSTALL_DATA} ${WRKSRC}/libimagequant.h \
+# ${DESTDIR}${PREFIX}/include/libimagequant.h
+# ${LIBTOOL} --mode=install ${INSTALL_LIB} \
+# ${WRKSRC}/libimagequant.la ${DESTDIR}${PREFIX}/lib
+
+.include "../../lang/rust/cargo.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libimagequant/PLIST b/libimagequant/PLIST
new file mode 100644
index 0000000000..35818d03f3
--- /dev/null
+++ b/libimagequant/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2017/01/29 11:57:03 adam Exp $
+include/libimagequant.h
+lib/libimagequant.a
diff --git a/libimagequant/TODO b/libimagequant/TODO
new file mode 100644
index 0000000000..c45ec5f241
--- /dev/null
+++ b/libimagequant/TODO
@@ -0,0 +1,4 @@
+# cargo generate-lockfile
+error: no matching package named `bitflags` found
+location searched: registry `crates-io`
+required by package `imagequant-sys v4.0.1 (/usr/pkgsrc/graphics/libimagequant/work/libimagequant-4.1.1/imagequant-sys)`
diff --git a/libimagequant/buildlink3.mk b/libimagequant/buildlink3.mk
new file mode 100644
index 0000000000..7c73af2f65
--- /dev/null
+++ b/libimagequant/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/01/29 11:57:03 adam Exp $
+
+BUILDLINK_TREE+= libimagequant
+
+.if !defined(LIBIMAGEQUANT_BUILDLINK3_MK)
+LIBIMAGEQUANT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libimagequant+= libimagequant>=2.8.2
+BUILDLINK_PKGSRCDIR.libimagequant?= ../../wip/libimagequant
+.endif # LIBIMAGEQUANT_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libimagequant
diff --git a/libimagequant/distinfo b/libimagequant/distinfo
new file mode 100644
index 0000000000..cc531597cd
--- /dev/null
+++ b/libimagequant/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.30 2023/04/27 06:06:19 wiz Exp $
+
+BLAKE2s (libimagequant-4.1.1.tar.gz) = aea4963d9a19f3008ab2fe978eabc6435b6bc8cfda111e9a66416d878d8942db
+SHA512 (libimagequant-4.1.1.tar.gz) = c91d82bbc2a9942e98489bb79cac8a1c3ce6b3f8a9a0829e7915d327e6aade766279680a6ff59804f152e86e098b2547df243331b3882900e6815694a999bcdd
+Size (libimagequant-4.1.1.tar.gz) = 86232 bytes
Home |
Main Index |
Thread Index |
Old Index