nheko: remove
This commit is contained in:
parent
f585530297
commit
6f323d077a
|
@ -0,0 +1 @@
|
||||||
|
nheko is no longer provided by Void Linux, and will be fully removed from the repos on 2019/02/17
|
|
@ -1,40 +1,9 @@
|
||||||
# Template file for 'nheko'
|
# Template file for 'nheko'
|
||||||
pkgname=nheko
|
pkgname=nheko
|
||||||
version=0.6.2
|
version=0.6.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
noarch=yes
|
||||||
configure_args="-DTWEENY_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include/tweeny
|
build_style=meta
|
||||||
-DCMAKE_SKIP_RPATH=TRUE"
|
short_desc="Desktop client for the Matrix protocol (removed package)"
|
||||||
hostmakedepends="git qt5-host-tools qt5-qmake pkg-config"
|
license="metapackage"
|
||||||
makedepends="lmdb-devel qt5-multimedia-devel qt5-svg-devel qt5-tools-devel
|
|
||||||
tweeny spdlog mtxclient-devel boost-devel cmark-devel olm-devel json-c++
|
|
||||||
lmdb++ libsodium-devel"
|
|
||||||
short_desc="Desktop client for the Matrix protocol"
|
|
||||||
maintainer="Orphaned <orphan@voidlinux.eu>"
|
|
||||||
license="GPL-3.0-or-later"
|
|
||||||
homepage="https://github.com/mujx/nheko"
|
homepage="https://github.com/mujx/nheko"
|
||||||
distfiles="https://github.com/mujx/nheko/archive/v${version}.tar.gz"
|
|
||||||
checksum=869dea68ad53258cbff4e41bb3e2894742ef90568779787d8eb5391112eb3d48
|
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
# Fix up includes to nlohmann json
|
|
||||||
grep -rl '#include <json.hpp>' | xargs sed -i 's|#include <json.hpp>|#include <nlohmann/json.hpp>|'
|
|
||||||
grep -rl '#include "json.hpp"' | xargs sed -i 's|#include "json.hpp"|#include <nlohmann/json.hpp>|'
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vmkdir usr/share/pixmaps
|
|
||||||
vmkdir usr/share/applications
|
|
||||||
|
|
||||||
vbin build/nheko
|
|
||||||
|
|
||||||
vinstall resources/nheko-256.png 644 usr/share/pixmaps
|
|
||||||
vinstall resources/nheko.desktop 644 usr/share/applications
|
|
||||||
|
|
||||||
local icon_size icon_dir
|
|
||||||
for icon_size in 16 32 48 64 128 256 512; do
|
|
||||||
icon_dir="usr/share/icons/hicolor/${icon_size}x${icon_size}/apps"
|
|
||||||
vmkdir "$icon_dir"
|
|
||||||
vinstall resources/nheko-${icon_size}.png 644 $icon_dir/nheko.png
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue