pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
ricochet: install desktop file and icons.
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Sun Jun 26 16:06:19 2016 +0200
Changeset: a947b6a016d157a84fafc8fec81c20ef416b97a4
Modified Files:
ricochet/Makefile
ricochet/PLIST
Log Message:
ricochet: install desktop file and icons.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a947b6a016d157a84fafc8fec81c20ef416b97a4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
ricochet/Makefile | 12 +++++++++---
ricochet/PLIST | 3 +++
2 files changed, 12 insertions(+), 3 deletions(-)
diffs:
diff --git a/ricochet/Makefile b/ricochet/Makefile
index eff29ed..ea0585a 100644
--- a/ricochet/Makefile
+++ b/ricochet/Makefile
@@ -14,18 +14,24 @@ DEPENDS+= tor-[0-9]*:../../net/tor
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_LANGUAGES= c++
+USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
-INSTALLATION_DIRS+= bin
+INSTALLATION_DIRS+= bin share/applications share/icons/hicolor/48x48/apps
+INSTALLATION_DIRS+= share/icons/hicolor/scalable/apps
pre-build:
cd ${WRKSRC} && ${QTDIR}/bin/qmake CONFIG+=release
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ricochet ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/src/ricochet.desktop ${DESTDIR}${PREFIX}/share/applications
+ ${INSTALL_DATA} ${WRKSRC}/icons/ricochet.png ${DESTDIR}${PREFIX}/share/icons/hicolor/48x48/apps
+ ${INSTALL_DATA} ${WRKSRC}/icons/ricochet.svg ${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps
+.include "../../devel/protobuf-c/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qttools/buildlink3.mk"
-.include "../../security/openssl/buildlink3.mk"
-.include "../../devel/protobuf-c/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/ricochet/PLIST b/ricochet/PLIST
index c3e556c..d1ec46c 100644
--- a/ricochet/PLIST
+++ b/ricochet/PLIST
@@ -1,2 +1,5 @@
@comment $NetBSD$
bin/ricochet
+share/applications/ricochet.desktop
+share/icons/hicolor/48x48/apps/ricochet.png
+share/icons/hicolor/scalable/apps/ricochet.svg
Home |
Main Index |
Thread Index |
Old Index