Skip to content

Commit

Permalink
graohics/simp: update to 3.8.0
Browse files Browse the repository at this point in the history
v3.8.0
 - Add JPEG XL saving.
 - Update wgpu, egui and winit.

v3.7.1
 - Downgrade wgpu.

v3.7.0
 - Add manpage generation
 - Add option to remove auto centering
 - Add cli option to launch in fullscreen
 - Fix direction of folder navigation shortcut
 - Fix best/largest fit picking setting wrong zoom in fullscreen
 - Remove menu bar when in fullscreen
 - Enable gtk file picker on non BSD builds
  • Loading branch information
0323pin committed Oct 13, 2024
1 parent a0bef70 commit 762d18c
Show file tree
Hide file tree
Showing 4 changed files with 1,163 additions and 1,144 deletions.
16 changes: 4 additions & 12 deletions graphics/simp/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
# $NetBSD: Makefile,v 1.27 2024/09/09 19:44:38 pin Exp $
# $NetBSD: Makefile,v 1.28 2024/10/13 20:22:52 pin Exp $

DISTNAME= simp-3.6.1
# simp-3.7.1 requires Rust >= 1.80.1 to build.
DISTNAME= simp-3.8.0
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=Kl4rry/}
# We need these post-release commits to fix functionality on NetBSD.
#GITHUB_TAG= v${PKGVERSION_NOREV}
GITHUB_TAG= 289e047448dac285205448493bbe18ac51aa0514
GITHUB_TAG= v${PKGVERSION_NOREV}

MAINTAINER= pin@NetBSD.org
HOMEPAGE= https://github.com/Kl4rry/simp/
Expand All @@ -19,18 +16,13 @@ TOOL_DEPENDS+= cargo-about-[0-9]*:../../devel/cargo-about

.include "cargo-depends.mk"

RUST_REQ= 1.80.1
USE_TOOLS+= pkg-config

RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.gtk3}/lib
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libxcb}/lib
RUSTFLAGS+= -C link-arg=-L${BUILDLINK_PREFIX.libxcb}/lib

INSTALLATION_DIRS= ${PKGMANDIR}/man1

post-install:
${INSTALL_MAN} ${WRKSRC}/simp.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/simp.1

CARGO_NO_DEFAULT_FEATURES= YES
CARGO_FEATURES+= gtk3

Expand Down
3 changes: 1 addition & 2 deletions graphics/simp/PLIST
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
@comment $NetBSD: PLIST,v 1.2 2024/06/20 09:03:21 pin Exp $
@comment $NetBSD: PLIST,v 1.3 2024/10/13 20:22:52 pin Exp $
bin/simp
man/man1/simp.1
Loading

0 comments on commit 762d18c

Please sign in to comment.