Skip to content

Commit

Permalink
cobalt: update to 0.19.0.
Browse files Browse the repository at this point in the history
Update provided by pin@, thanks!

pkgsrc:
 - Switch off sass feature by default due to libsass and sass-rs deprecation
 see, cobalt-org/cobalt.rs#1050 and
 cobalt-org/cobalt.rs#1090


[0.19.0] - 2023-06-06
Compatibility
 - Removed support for vimwiki (parser/renderer was unmaintained)
 - MSRV is now 1.70.0

[0.18.5] - 2023-06-02
 - No ChangeLog provided

[0.18.4] -2023-04-20
 - No ChangeLog provided
  • Loading branch information
wiz committed Sep 5, 2023
1 parent bce533b commit 9e822f2
Show file tree
Hide file tree
Showing 3 changed files with 760 additions and 842 deletions.
16 changes: 7 additions & 9 deletions www/cobalt/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.1 2022/11/09 13:32:49 nikita Exp $
# $NetBSD: Makefile,v 1.2 2023/09/05 11:21:18 wiz Exp $

DISTNAME= cobalt-0.18.3
DISTNAME= cobalt-0.19.0
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=cobalt-org/}
GITHUB_PROJECT= cobalt.rs
Expand All @@ -18,13 +18,11 @@ TOOL_DEPENDS+= cmake-[0-9]*:../../devel/cmake

.include "cargo-depends.mk"

INSTALLATION_DIRS= bin

RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libsass}/lib

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/cobalt ${DESTDIR}${PREFIX}/bin
# Switch off sass feature by default due to libsass and sass-rs deprecation
# See, https://github.com/cobalt-org/cobalt.rs/issues/1050
# and https://github.com/cobalt-org/cobalt.rs/pull/1090
CARGO_NO_DEFAULT_FEATURES= YES
CARGO_FEATURES+= syntax-highlight serve html-minifier

.include "../../lang/rust/cargo.mk"
.include "../../www/libsass/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

0 comments on commit 9e822f2

Please sign in to comment.