Removed outdated packages in favour of newly maintained packages in AUR.

This commit is contained in:
2019-07-14 14:40:26 +01:00
parent c764242335
commit d1546d727a
3 changed files with 0 additions and 129 deletions

View File

@@ -1,14 +0,0 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 71058f0..1b5ab4b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -170,8 +170,7 @@ target_link_libraries(matrix_client
OpenSSL::Crypto
OpenSSL::SSL
Olm::Olm
- ZLIB::ZLIB
- nlohmann_json::nlohmann_json)
+ ZLIB::ZLIB)
if(NOT MSVC AND NOT APPLE)
target_link_libraries(matrix_client PUBLIC Threads::Threads)

View File

@@ -1,49 +0,0 @@
pkgname=mtxclient-git
pkgver=v0.2.1.r0.g975ce89
pkgrel=1
pkgdesc="Client API library for Matrix, built on top of Boost.Asio"
arch=('x86_64' 'i686')
url="https://github.com/Nheko-Reborn/mtxclient"
license=('MIT')
depends=('libolm' 'libsodium' 'openssl' 'boost-libs')
makedepends=('cmake' 'nlohmann-json' 'boost')
source=("$pkgname::git+https://github.com/Nheko-Reborn/mtxclient.git"
"CMakeLists.patch")
sha256sums=('SKIP'
'4a45205b07ece8e24db6fb5c513cd331a058b1018a3f32cd35ab93fe40a83c02')
conflicts=('mtxclient')
provides=('mtxclient')
pkgver() {
cd "$pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
mkdir -p build
}
build() {
cd "$pkgname"
pwd
git apply -3 ../CMakeLists.patch
cd ../build
cmake "../$pkgname" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_LIB_TESTS=OFF \
-DBUILD_LIB_EXAMPLES=OFF \
-DBUILD_SHARED_LIBS=ON
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
install -Dm644 "../$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

View File

@@ -1,66 +0,0 @@
pkgname=nheko-git
pkgver=v0.6.2.r1.g6a90ed5
pkgrel=1
pkgdesc="Desktop client for the Matrix protocol"
arch=("i686" "x86_64")
url="https://github.com/Nheko-Reborn/nheko"
license=("GPL3")
depends=("qt5-base" "lmdb" "qt5-multimedia" "qt5-svg" "boost" "libsodium" "openssl" "cmark" "mtxclient")
makedepends=("git" "cmake" "gcc" "fontconfig" "qt5-tools")
provides=("nheko")
conflicts=("nheko")
source=($pkgname::git://github.com/mujx/nheko.git)
md5sums=("SKIP")
pkgver() {
cd "$pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "$pkgname"
# 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>|'
}
build() {
cd "$pkgname"
rm -f cmake/FindOlm.cmake
cmake -Hdeps -B.deps -DUSE_BUNDLED_BOOST=OFF -DUSE_BUNDLED_CMARK=OFF
cmake --build .deps
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release \
-DLMDBXX_INCLUDE_DIR=.deps/usr/include \
-DTWEENY_INCLUDE_DIR=.deps/usr/include
cmake --build build
}
package() {
# Creating needed directories
install -dm755 "$pkgdir/usr/bin"
install -dm755 "$pkgdir/usr/share/pixmaps/"
install -dm755 "$pkgdir/usr/share/applications/"
# Program
install -Dm755 "$pkgname/build/nheko" "$pkgdir/usr/bin/nheko"
# Desktop launcher
install -Dm644 "$srcdir/$pkgname/resources/nheko-256.png" "$pkgdir/usr/share/pixmaps/nheko.png"
install -Dm644 "$srcdir/$pkgname/resources/nheko.desktop" "$pkgdir/usr/share/applications/nheko.desktop"
# Icons
local icon_size icon_dir
for icon_size in 16 32 48 64 128 256 512; do
icon_dir="$pkgdir/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps"
install -d "$icon_dir"
install -m644 "$srcdir/$pkgname/resources/nheko-${icon_size}.png" "$icon_dir/nheko.png"
done
}