3bed3511a6
Changes: https://gitlab.gnome.org/World/Solanum/-/compare/v3.0.1...4.0.0 Reported by: GitLab (notify releases)
37 lines
1 KiB
Makefile
37 lines
1 KiB
Makefile
PORTNAME= solanum
|
|
DISTVERSION= 4.0.0
|
|
CATEGORIES= deskutils
|
|
|
|
MAINTAINER= jbeich@FreeBSD.org
|
|
COMMENT= Pomodoro timer for the GNOME desktop
|
|
WWW= https://gitlab.gnome.org/World/Solanum
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
|
|
BUILD_DEPENDS= blueprint-compiler:devel/blueprint-compiler
|
|
|
|
USES= cargo gettext gnome gstreamer meson pkgconfig
|
|
USE_GITLAB= yes
|
|
USE_GNOME= gtk40 libadwaita
|
|
USE_GSTREAMER= bad good vorbis
|
|
GL_SITE= https://gitlab.gnome.org
|
|
GL_ACCOUNT= World
|
|
GL_PROJECT= Solanum
|
|
GL_COMMIT= 33c01f8a2da39cba0bc1744e405de2be833876cd
|
|
MAKE_ENV= ${CARGO_ENV}
|
|
CARGO_BUILD= no
|
|
CARGO_INSTALL= no
|
|
CARGO_TEST= no
|
|
GLIB_SCHEMAS= org.gnome.Solanum.gschema.xml
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/update_desktop_database/d' \
|
|
${WRKSRC}/meson.build
|
|
# Make each cargo subcommand very verbose
|
|
# Add explicit <triple> subdir for --target from USES=cargo
|
|
@${REINPLACE_CMD} -e "/cargo_options =/s/ '--/&verbose', &verbose', &/" \
|
|
-e "/cp/s,'src',& / '${CARGO_BUILD_TARGET}'," \
|
|
${WRKSRC}/src/meson.build
|
|
|
|
.include <bsd.port.mk>
|