Date: Sat, 20 Mar 2021 20:00:19 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r568882 - head/audio/jamulus Message-ID: <202103202000.12KK0JSM034481@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Sat Mar 20 20:00:19 2021 New Revision: 568882 URL: https://svnweb.freebsd.org/changeset/ports/568882 Log: audio/jamulus: Add Jamulus Server menu item; Fix desktop icons location Modified: head/audio/jamulus/Makefile Modified: head/audio/jamulus/Makefile ============================================================================== --- head/audio/jamulus/Makefile Sat Mar 20 19:50:40 2021 (r568881) +++ head/audio/jamulus/Makefile Sat Mar 20 20:00:19 2021 (r568882) @@ -3,7 +3,7 @@ PORTNAME= jamulus DISTVERSIONPREFIX= r DISTVERSION= 3_7_0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org @@ -23,10 +23,26 @@ GH_ACCOUNT= jamulussoftware PLIST_FILES= bin/${PORTNAME} \ share/applications/jamulus.desktop \ - share/icons/hicolor/512x512/apps/jamulus.png + share/applications/jamulus-server.desktop \ + share/pixmaps/jamulus.png \ + share/pixmaps/jamulus-server.png QMAKE_ARGS= CONFIG+="noupcasename" PORTSCOUT= limit:^r\d+_ # prevent malformatted tags, like 'latest' + +post-install: + # workaround for https://gitlab.xfce.org/xfce/xfdesktop/-/issues/131 + ${MV} ${STAGEDIR}${PREFIX}/share/icons/hicolor/512x512/apps/jamulus.png ${STAGEDIR}${PREFIX}/share/pixmaps/ + ${RM} -r ${STAGEDIR}${PREFIX}/share/icons + # add Jamulus Server menu item which is simply 'jamulus -s' with a special icon + ${CP} ${STAGEDIR}${PREFIX}/share/applications/jamulus.desktop ${STAGEDIR}${PREFIX}/share/applications/jamulus-server.desktop + ${REINPLACE_CMD} -i '' ' \ + s|Name=Jamulus|Name=Jamulus Server| ; \ + s|Comment=Jam Session|Comment=Jam Session Server| ; \ + s|Exec=jamulus|Exec=jamulus -s| ; \ + s|Icon=jamulus|Icon=jamulus-server| ; \ + ' ${STAGEDIR}${PREFIX}/share/applications/jamulus-server.desktop + ${INSTALL_DATA} ${WRKSRC}/src/res/fronticonserver.png ${STAGEDIR}${PREFIX}/share/pixmaps/jamulus-server.png .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103202000.12KK0JSM034481>