summaryrefslogtreecommitdiff
path: root/net-im/abaddon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/abaddon/Makefile')
-rw-r--r--net-im/abaddon/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/net-im/abaddon/Makefile b/net-im/abaddon/Makefile
new file mode 100644
index 000000000000..fc19ce73021d
--- /dev/null
+++ b/net-im/abaddon/Makefile
@@ -0,0 +1,42 @@
+PORTNAME= abaddon
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.2.2
+CATEGORIES= net-im
+
+MAINTAINER= seafork@disroot.org
+COMMENT= Alternative Discord client with voice support
+WWW= https://github.com/uowuo/abaddon
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= nlohmann-json>0:devel/nlohmann-json
+LIB_DEPENDS= libcurl.so:ftp/curl \
+ libfmt.so:devel/libfmt \
+ libfontconfig.so:x11-fonts/fontconfig \
+ libfreetype.so:print/freetype2 \
+ libhandy-1.so:x11-toolkits/libhandy \
+ libopus.so:audio/opus \
+ librnnoise.so:audio/rnnoise \
+ libsecret-1.so:security/libsecret \
+ libsodium.so:security/libsodium \
+ libspdlog.so:devel/spdlog
+
+USES= cmake compiler:c++17-lang gnome pkgconfig sqlite ssl
+
+USE_GITHUB= yes
+GH_ACCOUNT= uowuo
+GH_TUPLE= machinezone:IXWebSocket:bc765e7:ixwebsocket/subprojects/ixwebsocket \
+ hrantzsch:keychain:8846e78:keychain/subprojects/keychain \
+ mackron:miniaudio:350784a:miniaudio/subprojects/miniaudio \
+ nayuki:QR-Code-generator:22fac31:qrcodegenerator/subprojects/qrcodegen
+USE_GNOME= gtkmm30
+
+post-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
+ ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.svg \
+ ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
+ ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop \
+ ${STAGEDIR}${DESKTOPDIR}
+
+.include <bsd.port.mk>