pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kew/chafa: things seem to be working
Module Name: pkgsrc-wip
Committed By: Kevin Bloom <kevin.bloom%posteo.net@localhost>
Pushed By: nuclearkev
Date: Tue Oct 8 14:56:54 2024 -0400
Changeset: 72bc8ac4443a76dee3cbeea45339563f5cd58ced
Added Files:
chafa/COMMIT_MSG
chafa/DESCR
chafa/Makefile
chafa/PLIST
chafa/buildlink3.mk
chafa/distinfo
chafa/patches/patch-configure.ac
kew/COMMIT_MSG
kew/DESCR
kew/Makefile
kew/PLIST
kew/distinfo
kew/patches/patch-Makefile
Log Message:
kew/chafa: things seem to be working
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=72bc8ac4443a76dee3cbeea45339563f5cd58ced
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
chafa/COMMIT_MSG | 5 +++++
chafa/DESCR | 5 +++++
chafa/Makefile | 29 +++++++++++++++++++++++++++++
chafa/PLIST | 19 +++++++++++++++++++
chafa/buildlink3.mk | 13 +++++++++++++
chafa/distinfo | 6 ++++++
chafa/patches/patch-configure.ac | 15 +++++++++++++++
kew/COMMIT_MSG | 6 ++++++
kew/DESCR | 6 ++++++
kew/Makefile | 26 ++++++++++++++++++++++++++
kew/PLIST | 3 +++
kew/distinfo | 6 ++++++
kew/patches/patch-Makefile | 15 +++++++++++++++
13 files changed, 154 insertions(+)
diffs:
diff --git a/chafa/COMMIT_MSG b/chafa/COMMIT_MSG
new file mode 100644
index 0000000000..0d50a3ca14
--- /dev/null
+++ b/chafa/COMMIT_MSG
@@ -0,0 +1,5 @@
+Chafa is a command-line utility that converts image data, including
+animated GIFs, into graphics formats or ANSI/Unicode character art
+suitable for display in a terminal. It has broad feature support,
+allowing it to be used on devices ranging from historical
+teleprinters to modern terminal emulators and everything in between.
diff --git a/chafa/DESCR b/chafa/DESCR
new file mode 100644
index 0000000000..0d50a3ca14
--- /dev/null
+++ b/chafa/DESCR
@@ -0,0 +1,5 @@
+Chafa is a command-line utility that converts image data, including
+animated GIFs, into graphics formats or ANSI/Unicode character art
+suitable for display in a terminal. It has broad feature support,
+allowing it to be used on devices ranging from historical
+teleprinters to modern terminal emulators and everything in between.
diff --git a/chafa/Makefile b/chafa/Makefile
new file mode 100644
index 0000000000..a0119d596b
--- /dev/null
+++ b/chafa/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD$
+
+DISTNAME= chafa-1.14.4
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_GITHUB:=hpjansson/}
+GITHUB_TAG= ${PKGVERSION_NOREV}
+
+MAINTAINER= ktnb%NetBSD.org@localhost
+HOMEPAGE= https://github.com/hpjansson/chafa/
+COMMENT= Command-line utility for displaying images in a terminal
+LICENSE= gnu-gpl-v3
+
+USE_TOOLS+= pkg-config autoconf automake
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+
+PKGCONFIG_OVERRIDE+= chafa.pc.in
+
+pre-configure:
+ cd ${WRKSRC} && sh autogen.sh ${CONFIGURE_ARGS}
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/librsvg/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../graphics/libwebp/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/chafa/PLIST b/chafa/PLIST
new file mode 100644
index 0000000000..bf830924ea
--- /dev/null
+++ b/chafa/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD$
+bin/chafa
+include/chafa/chafa-canvas-config.h
+include/chafa/chafa-canvas.h
+include/chafa/chafa-common.h
+include/chafa/chafa-features.h
+include/chafa/chafa-frame.h
+include/chafa/chafa-image.h
+include/chafa/chafa-placement.h
+include/chafa/chafa-symbol-map.h
+include/chafa/chafa-term-db.h
+include/chafa/chafa-term-info.h
+include/chafa/chafa-term-seq-def.h
+include/chafa/chafa-util.h
+include/chafa/chafa-version-macros.h
+include/chafa/chafa.h
+lib/chafa/include/chafaconfig.h
+lib/libchafa.la
+lib/pkgconfig/chafa.pc
diff --git a/chafa/buildlink3.mk b/chafa/buildlink3.mk
new file mode 100644
index 0000000000..b2c11aed8c
--- /dev/null
+++ b/chafa/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= chafa
+
+.if !defined(CHAFA_BUILDLINK3_MK)
+CHAFA_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.chafa+= chafa>=1.14.4
+BUILDLINK_PKGSRCDIR.chafa?= ../../wip/chafa
+
+.endif # SUITESPARSE_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -chafa
diff --git a/chafa/distinfo b/chafa/distinfo
new file mode 100644
index 0000000000..507ad8832d
--- /dev/null
+++ b/chafa/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (chafa-1.14.4.tar.gz) = 691e9fbec3c61b31d4d838b47d42cf27be40b89248a9d7657e5eafa3c8c80ea8
+SHA512 (chafa-1.14.4.tar.gz) = 536f5dc031d1732271285e736d920f7313daaa2f82b3c87af588bfdfb9a6a5616140814ba37d22ea3f3704e916863ea6f9f689de2da672acaeaee20bc4728e6e
+Size (chafa-1.14.4.tar.gz) = 1861126 bytes
+SHA1 (patch-configure.ac) = c9a07ed95c162c5b07f0a1403dba8b339a8629e5
diff --git a/chafa/patches/patch-configure.ac b/chafa/patches/patch-configure.ac
new file mode 100644
index 0000000000..fbd59926e9
--- /dev/null
+++ b/chafa/patches/patch-configure.ac
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Fixed portability.
+
+--- configure.ac.orig 2024-10-08 15:04:30.286444911 +0000
++++ configure.ac
+@@ -467,7 +467,7 @@ AC_ARG_ENABLE(rpath,
+ [AS_HELP_STRING([--enable-rpath],
+ [use rpath [default=no]])])
+
+-AM_CONDITIONAL(ENABLE_RPATH, test "$enable_rpath" == yes)
++AM_CONDITIONAL(ENABLE_RPATH, test "$enable_rpath" = yes)
+
+ dnl --- Output ---
+
diff --git a/kew/COMMIT_MSG b/kew/COMMIT_MSG
new file mode 100644
index 0000000000..4c954d8740
--- /dev/null
+++ b/kew/COMMIT_MSG
@@ -0,0 +1,6 @@
+Kew is a command-line music player. With Kew you can:
+Search a music library with partial titles; creates a playlist based
+on a matched directory; control the player with previous, next and
+pause; and edit the playlist by adding and removing songs.
+Kew supports gapless playback (between files of the same format and
+type) and MP3, FLAC, MPEG-4 (AAC, M4A), OPUS, OGG and WAV audio.
diff --git a/kew/DESCR b/kew/DESCR
new file mode 100644
index 0000000000..4c954d8740
--- /dev/null
+++ b/kew/DESCR
@@ -0,0 +1,6 @@
+Kew is a command-line music player. With Kew you can:
+Search a music library with partial titles; creates a playlist based
+on a matched directory; control the player with previous, next and
+pause; and edit the playlist by adding and removing songs.
+Kew supports gapless playback (between files of the same format and
+type) and MP3, FLAC, MPEG-4 (AAC, M4A), OPUS, OGG and WAV audio.
diff --git a/kew/Makefile b/kew/Makefile
new file mode 100644
index 0000000000..b26ff9e3f8
--- /dev/null
+++ b/kew/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD$
+
+DISTNAME= kew-2.8.2
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_GITHUB:=ravachol/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= ktnb%NetBSD.org@localhost
+HOMEPAGE= https://github.com/ravachol/kew/
+COMMENT= Terminal music player with album art
+LICENSE= gnu-gpl-v2
+
+USE_TOOLS+= pkg-config gmake
+
+MAKE_FLAGS+= MAN_DIR=${PREFIX}/${PKGMANDIR}
+
+.include "../../audio/libopus/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../audio/opusfile/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/libatomic/buildlink3.mk"
+.include "../../graphics/freeimage/buildlink3.mk"
+.include "../../math/fftw/buildlink3.mk"
+.include "../../multimedia/ffmpeg7/buildlink3.mk"
+.include "../../wip/chafa/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/kew/PLIST b/kew/PLIST
new file mode 100644
index 0000000000..014af34bb3
--- /dev/null
+++ b/kew/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/kew
+man/man1/kew.1
diff --git a/kew/distinfo b/kew/distinfo
new file mode 100644
index 0000000000..2798982cfd
--- /dev/null
+++ b/kew/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (kew-2.8.2.tar.gz) = 067ba34f5cb09bb781b8564f45aabf22a8384e1875eb61f1aa192a874982608e
+SHA512 (kew-2.8.2.tar.gz) = 51c5509e8f08b8ddd36545e5f45de6c21b276dcdd2c52de99e71f136bdf185c9b2500d00b5ed484a23ce92313880fe581a5f3bcdef7987b337e40174fa1115bd
+Size (kew-2.8.2.tar.gz) = 1443438 bytes
+SHA1 (patch-Makefile) = 1c27fc982c364f6e74c216327a0aaba6ad56fadc
diff --git a/kew/patches/patch-Makefile b/kew/patches/patch-Makefile
new file mode 100644
index 0000000000..fbe6c790fa
--- /dev/null
+++ b/kew/patches/patch-Makefile
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Allow pkgsrc to use its PREFIX.
+
+--- Makefile.orig 2024-10-08 18:34:46.950069726 +0000
++++ Makefile
+@@ -29,7 +29,7 @@ ifeq ($(CC), gcc)
+ endif
+
+ OBJDIR = src/obj
+-PREFIX = /usr
++PREFIX ?= /usr
+ SRCS = src/common_ui.c src/sound.c src/directorytree.c src/soundcommon.c src/search_ui.c src/playlist_ui.c src/player.c src/soundbuiltin.c src/mpris.c src/playerops.c src/utils.c src/file.c src/chafafunc.c src/cache.c src/songloader.c src/playlist.c src/term.c src/settings.c src/visuals.c src/kew.c
+ OBJS = $(SRCS:src/%.c=$(OBJDIR)/%.o)
+
Home |
Main Index |
Thread Index |
Old Index