pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/fasttracker2
Module Name: pkgsrc
Committed By: nia
Date: Sat Sep 21 12:23:43 UTC 2019
Modified Files:
pkgsrc/audio/fasttracker2: Makefile PLIST
Added Files:
pkgsrc/audio/fasttracker2/files: fasttracker2.appdata.xml
fasttracker2.desktop
Log Message:
fasttracker2: Install hicolor icons and menu entry
Bump PKGREVISION
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 pkgsrc/audio/fasttracker2/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/audio/fasttracker2/PLIST
cvs rdiff -u -r0 -r1.1 \
pkgsrc/audio/fasttracker2/files/fasttracker2.appdata.xml \
pkgsrc/audio/fasttracker2/files/fasttracker2.desktop
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/audio/fasttracker2/Makefile
diff -u pkgsrc/audio/fasttracker2/Makefile:1.39 pkgsrc/audio/fasttracker2/Makefile:1.40
--- pkgsrc/audio/fasttracker2/Makefile:1.39 Thu Sep 5 13:19:08 2019
+++ pkgsrc/audio/fasttracker2/Makefile Sat Sep 21 12:23:43 2019
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.39 2019/09/05 13:19:08 fox Exp $
+# $NetBSD: Makefile,v 1.40 2019/09/21 12:23:43 nia Exp $
DISTNAME= ft2clone-${DISTVERSION}-code
PKGNAME= fasttracker2-${DISTVERSION:C/b/2./}
+PKGREVISION= 1
DISTVERSION= b168
CATEGORIES= audio
MASTER_SITES= https://16-bits.org/
@@ -14,12 +15,20 @@ LICENSE= modified-bsd AND cc-by-nc-sa-v4
WRKSRC= ${WRKDIR}/ft2-clone-code
USE_LANGUAGES= c99 c++
-
USE_CMAKE= yes
+TOOL_DEPENDS+= icoutils-[0-9]*:../../graphics/icoutils
+
+ICON_SIZES= 16 24 32 48 64 128 256
+
LIBS.SunOS+= -liconv
-INSTALLATION_DIRS+= bin share/pixmaps
+INSTALLATION_DIRS+= bin
+INSTALLATION_DIRS+= share/applications
+INSTALLATION_DIRS+= share/appdata
+.for s in ${ICON_SIZES}
+INSTALLATION_DIRS+= share/icons/hicolor/${s}x${s}/apps
+.endfor
SUBST_CLASSES+= d2u
SUBST_MESSAGE.d2u= Converting CRLF to LF.
@@ -27,11 +36,23 @@ SUBST_STAGE.d2u= post-extract
SUBST_FILES.d2u= CMakeLists.txt src/*.[ch]
SUBST_FILTER_CMD.d2u= ${TR} -d '\r'
+pre-configure:
+.for s in ${ICON_SIZES}
+ cd ${WRKSRC} && icotool -w ${s} -h ${s} -x -o ${s}.png \
+ src/gfxdata/icon/ft2-clone.ico
+.endfor
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/release/other/ft2-clone \
${DESTDIR}${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/src/gfxdata/icon/ft2-clone.ico \
- ${DESTDIR}${PREFIX}/share/pixmaps
+ ${INSTALL_DATA} ${FILESDIR}/fasttracker2.desktop \
+ ${DESTDIR}${PREFIX}/share/applications
+ ${INSTALL_DATA} ${FILESDIR}/fasttracker2.appdata.xml \
+ ${DESTDIR}${PREFIX}/share/appdata
+.for s in ${ICON_SIZES}
+ ${INSTALL_DATA} ${WRKSRC}/${s}.png \
+ ${DESTDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps/fasttracker2.png
+.endfor
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "Linux"
@@ -40,5 +61,6 @@ BUILDLINK_TRANSFORM+= rm:-lasound
. include "../../audio/alsa-lib/buildlink3.mk"
.endif
.include "../../converters/libiconv/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../devel/SDL2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/audio/fasttracker2/PLIST
diff -u pkgsrc/audio/fasttracker2/PLIST:1.1 pkgsrc/audio/fasttracker2/PLIST:1.2
--- pkgsrc/audio/fasttracker2/PLIST:1.1 Sat Dec 1 18:20:09 2018
+++ pkgsrc/audio/fasttracker2/PLIST Sat Sep 21 12:23:43 2019
@@ -1,3 +1,11 @@
-@comment $NetBSD: PLIST,v 1.1 2018/12/01 18:20:09 fox Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/09/21 12:23:43 nia Exp $
bin/ft2-clone
-share/pixmaps/ft2-clone.ico
+share/appdata/fasttracker2.appdata.xml
+share/applications/fasttracker2.desktop
+share/icons/hicolor/128x128/apps/fasttracker2.png
+share/icons/hicolor/16x16/apps/fasttracker2.png
+share/icons/hicolor/24x24/apps/fasttracker2.png
+share/icons/hicolor/256x256/apps/fasttracker2.png
+share/icons/hicolor/32x32/apps/fasttracker2.png
+share/icons/hicolor/48x48/apps/fasttracker2.png
+share/icons/hicolor/64x64/apps/fasttracker2.png
Added files:
Index: pkgsrc/audio/fasttracker2/files/fasttracker2.appdata.xml
diff -u /dev/null pkgsrc/audio/fasttracker2/files/fasttracker2.appdata.xml:1.1
--- /dev/null Sat Sep 21 12:23:43 2019
+++ pkgsrc/audio/fasttracker2/files/fasttracker2.appdata.xml Sat Sep 21 12:23:43 2019
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+ <id>fasttracker2</id>
+ <metadata_license>BSD-3-clause</metadata_license>
+ <project_license>BSD-3-clause</project_license>
+ <name>Fasttracker II</name>
+ <summary>Fasttracker II clone</summary>
+ <description>
+ <p>Multi-platform clone of the classic music making software FastTracker II.</p>
+ </description>
+ <launchable type="desktop-id">fasttracker2.desktop</launchable>
+ <url type="homepage">https://16-bits.org/ft2.php</url>
+ <screenshots>
+ <screenshot type="default">
+ <image>https://upload.wikimedia.org/wikipedia/commons/1/1d/Fasttracker_II_clone_screenshot.png</image>
+ </screenshot>
+ </screenshots>
+ <provides>
+ <id>fasttracker2.desktop</id>
+ </provides>
+</component>
Index: pkgsrc/audio/fasttracker2/files/fasttracker2.desktop
diff -u /dev/null pkgsrc/audio/fasttracker2/files/fasttracker2.desktop:1.1
--- /dev/null Sat Sep 21 12:23:43 2019
+++ pkgsrc/audio/fasttracker2/files/fasttracker2.desktop Sat Sep 21 12:23:43 2019
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Fasttracker II
+Comment=Fasttracker II clone for modern computers
+Comment[fr]=Clone de Fasttracker II pour les ordinateurs modernes
+Exec=ft2-clone %f
+Icon=fasttracker2
+Terminal=false
+Type=Application
+Categories=AudioVideo;AudioVideoEditing;
+Keywords=tracker;music;
+MimeType=audio/xm;audio/mod;audio/s3m;
Home |
Main Index |
Thread Index |
Old Index