pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/ymuse
Module Name: pkgsrc
Committed By: wiz
Date: Wed Feb 1 18:19:38 UTC 2023
Modified Files:
pkgsrc/audio/ymuse: Makefile PLIST
Log Message:
ymuse: generate and install locale files
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/audio/ymuse/Makefile pkgsrc/audio/ymuse/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/audio/ymuse/Makefile
diff -u pkgsrc/audio/ymuse/Makefile:1.1 pkgsrc/audio/ymuse/Makefile:1.2
--- pkgsrc/audio/ymuse/Makefile:1.1 Wed Feb 1 14:54:22 2023
+++ pkgsrc/audio/ymuse/Makefile Wed Feb 1 18:19:37 2023
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2023/02/01 14:54:22 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2023/02/01 18:19:37 wiz Exp $
DISTNAME= ymuse-0.21
+PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GITHUB:=yktoo/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -10,14 +11,18 @@ HOMEPAGE= https://github.com/yktoo/ymuse
COMMENT= GTK client for Music Player Daemon (MPD) written in Go
LICENSE= apache-2.0
-USE_TOOLS+= pax pkg-config
+USE_TOOLS+= bash msgfmt pax pkg-config
-INSTALLATION_DIRS+= share/icons
+INSTALLATION_DIRS+= share/icons ${PKGLOCALEDIR}/locale
+
+REPLACE_BASH+= resources/scripts/generate-mos
+
+pre-build:
+ cd ${WRKSRC} && ${_ULIMIT_CMD} ${PKGSRC_SETENV} ${MAKE_ENV} ${GO} generate
post-install:
cd ${WRKSRC}/resources/icons/ && ${PAX} -pp -rw * ${DESTDIR}${PREFIX}/share/icons
-# TODO: locale files are not generated by default?
-# ${INSTALL_DATA} ${WRKSRC}/resources/i18n/generated/* ${DESTDIR}${PREFIX}/${PKGLOCALEDIR}/locale/
+ cd ${WRKSRC}/resources/i18n/generated/ && ${PAX} -pp -rw * ${DESTDIR}${PREFIX}/${PKGLOCALEDIR}/locale/
.include "go-modules.mk"
.include "../../lang/go/go-module.mk"
Index: pkgsrc/audio/ymuse/PLIST
diff -u pkgsrc/audio/ymuse/PLIST:1.1 pkgsrc/audio/ymuse/PLIST:1.2
--- pkgsrc/audio/ymuse/PLIST:1.1 Wed Feb 1 14:54:22 2023
+++ pkgsrc/audio/ymuse/PLIST Wed Feb 1 18:19:37 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2023/02/01 14:54:22 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2023/02/01 18:19:37 wiz Exp $
bin/ymuse
share/icons/hicolor/128x128/apps/com.yktoo.ymuse.png
share/icons/hicolor/16x16/apps/com.yktoo.ymuse.png
@@ -41,3 +41,6 @@ share/icons/hicolor/scalable/mimetypes/y
share/icons/hicolor/scalable/mimetypes/ymuse-playlist.svg
share/icons/hicolor/scalable/mimetypes/ymuse-playlists.svg
share/icons/hicolor/scalable/mimetypes/ymuse-stream.svg
+share/locale/ja/LC_MESSAGES/ymuse.mo
+share/locale/nl/LC_MESSAGES/ymuse.mo
+share/locale/ru/LC_MESSAGES/ymuse.mo
Home |
Main Index |
Thread Index |
Old Index