pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/sayaka sayaka: update to 3.5.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/91b46c3199d1
branches:  trunk
changeset: 448706:91b46c3199d1
user:      tsutsui <tsutsui%pkgsrc.org@localhost>
date:      Fri Mar 12 15:27:55 2021 +0000

description:
sayaka: update to 3.5.0.

Upstream changes:

* 3.5.0 (2021/03/03)
- migrate to C++ and obsolete vala version
 - support only JPEG and PNG image for now
- implement auto recognition of the terminal background color
- remove --protect and --support-evs options
- remove --noimg option (superseded by --no-image)
- remove replaying recoded data in userstream days

diffstat:

 net/sayaka/Makefile                   |  20 +++++++++-----------
 net/sayaka/distinfo                   |  11 ++++++-----
 net/sayaka/patches/patch-src_Makefile |  19 +++++++++++++++++++
 3 files changed, 34 insertions(+), 16 deletions(-)

diffs (81 lines):

diff -r 78c6a7c341f1 -r 91b46c3199d1 net/sayaka/Makefile
--- a/net/sayaka/Makefile       Fri Mar 12 15:02:55 2021 +0000
+++ b/net/sayaka/Makefile       Fri Mar 12 15:27:55 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2020/11/10 15:03:09 tsutsui Exp $
+# $NetBSD: Makefile,v 1.30 2021/03/12 15:27:55 tsutsui Exp $
 
-DISTNAME=      sayaka-3.4.6
+DISTNAME=      sayaka-3.5.0
 #PKGREVISION=  0
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=isaki68k/}
@@ -10,22 +10,20 @@
 MAINTAINER=    tsutsui%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/isaki68k/sayaka
 COMMENT=       Terminal specific Twitter client
-LICENSE=       modified-bsd AND apache-2.0
+LICENSE=       modified-bsd AND mit
 
-USE_TOOLS+=    gmake pkg-config
+GNU_CONFIGURE=         yes
+USE_LANGUAGES+=                c99 c++17
+BUILD_TARGET=          sayaka
 
 INSTALLATION_DIRS+=    bin
 
 .include "../../mk/bsd.prefs.mk"
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/vala/sayaka ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/src/sayaka ${DESTDIR}${PREFIX}/bin
 
-BUILDLINK_DEPMETHOD.vala= build
-BUILDLINK_API_DEPENDS.vala+=    vala>=0.38.1
-.include "../../lang/vala/buildlink3.mk"
-BUILDLINK_API_DEPENDS.glib2+=  glib2>=2.44.0
-.include "../../devel/glib2/buildlink3.mk"
-.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../security/mbedtls/buildlink3.mk"
 .include "../../mk/jpeg.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 78c6a7c341f1 -r 91b46c3199d1 net/sayaka/distinfo
--- a/net/sayaka/distinfo       Fri Mar 12 15:02:55 2021 +0000
+++ b/net/sayaka/distinfo       Fri Mar 12 15:27:55 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.15 2020/11/10 15:03:09 tsutsui Exp $
+$NetBSD: distinfo,v 1.16 2021/03/12 15:27:55 tsutsui Exp $
 
-SHA1 (sayaka-3.4.6.tar.gz) = 90e2ddab2483f4f2e0fa36346c5b1db849a8e84e
-RMD160 (sayaka-3.4.6.tar.gz) = d5afc6cf11fd4e069c7ec96d1b5c99386370c7c4
-SHA512 (sayaka-3.4.6.tar.gz) = 8f3ddff3e34990670866d3a449e3587458f5f34b77f3a309721dd491e567cbbe6a3e0a403f0fe6bf660f52a223600de39db4389d5eed156f96fa89b7271d1436
-Size (sayaka-3.4.6.tar.gz) = 1975319 bytes
+SHA1 (sayaka-3.5.0.tar.gz) = e43dc655d2bd7cc88673bd6b7e4a38acdeb55d49
+RMD160 (sayaka-3.5.0.tar.gz) = 7fb76760c2067f4cc8c1cae830268976d94b1e22
+SHA512 (sayaka-3.5.0.tar.gz) = 2661d6fc7dc426ad05e9295053d8071b7b932a96d800c7892b08b9d1aff3a2ae7e7c671f5b7b9accaa472b549046040ee48644f2269d8d4e886261fb103f6bf9
+Size (sayaka-3.5.0.tar.gz) = 347586 bytes
+SHA1 (patch-src_Makefile) = fc44fb6abd2a5284c28d01c0aba8bf0af60d84aa
diff -r 78c6a7c341f1 -r 91b46c3199d1 net/sayaka/patches/patch-src_Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/sayaka/patches/patch-src_Makefile     Fri Mar 12 15:27:55 2021 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-src_Makefile,v 1.1 2021/03/12 15:27:55 tsutsui Exp $
+
+- enable optimization.
+
+--- src/Makefile.orig  2021-03-03 11:55:35.000000000 +0000
++++ src/Makefile
+@@ -42,10 +42,10 @@ SRCS_sixelv=       \
+       sixelv.cpp \
+ 
+ 
+-CXX+=         -g
++#CXX+=                -g
+ #CXX+=                -fsanitize=undefined
+ 
+-CPPFLAGS+=    -O0
++CPPFLAGS+=    -O2
+ CPPFLAGS+=    -Wall -Werror -Wshadow -Wno-sign-compare
+ INCLUDES+=    -I..
+ 



Home | Main Index | Thread Index | Old Index