void-packages

Void Source Packages
git clone git://ezup.dev/void-packages.git
Log | Files | Refs | README | LICENSE

commit e274ce4fc4b864d1851436a4b9222bd9fc0583d6
parent e9b5990ca112935675a085bfd2665859df60eb1d
Author: Dash Eclipse <dash@ezup.dev>
Date:   Wed, 29 Jul 2020 09:11:57 +0000

New package: swaylock-effects

Remove package: telegram-desktop

Diffstat:
MREADME | 35++++++++++++++++++++++-------------
Asrcpkgs/swaylock-effects/template | 21+++++++++++++++++++++
Dsrcpkgs/telegram-desktop/patches/0001-musl.patch | 48------------------------------------------------
Dsrcpkgs/telegram-desktop/patches/0002-PPC-big-endian.patch | 22----------------------
Dsrcpkgs/telegram-desktop/patches/cmake-pkgconfig-rlottie.patch | 17-----------------
Dsrcpkgs/telegram-desktop/template | 67-------------------------------------------------------------------
Dsrcpkgs/telegram-desktop/update | 3---
7 files changed, 43 insertions(+), 170 deletions(-)

diff --git a/README b/README @@ -1,17 +1,26 @@ Dash Eclipse's Void Linux source packages collection ---------------------------------------------------- -[new] [git] [pkg] [patches/notes] +Tags: #git #unavailable -* * dwl - dwm systray, nordtheme color -* * https-dns-proxy [not available] - lilo keytab-lilo patch - * pass -* rig -* * scroll - slock scrollback, scrollback-mouse, nordtheme -* * wshowkeys - telegram-desktop [not available] -* * wterm -* ydotool +Modified packages +----------------- + + dwm systray, nordtheme color + lilo keytab-lilo patch + pass #git + slock scrollback, scrollback-mouse, nordtheme + + +New packages +------------ + + dwl #git + https-dns-proxy #git #unavailable + rig + scroll #git + swaylock-effects + trojan + wshowkeys #git + wterm #git + ydotool diff --git a/srcpkgs/swaylock-effects/template b/srcpkgs/swaylock-effects/template @@ -0,0 +1,21 @@ +# Template file for 'swaylock-effects' +pkgname=swaylock-effects +version=1.6 +revision=1 +build_style=meson +conf_files="/etc/pam.d/swaylock" +hostmakedepends="pkg-config wayland-devel scdoc git" +makedepends="wayland-protocols cairo-devel gdk-pixbuf-devel pam-devel + libxkbcommon-devel wayland-devel libomp-devel libgomp-devel" +conflicts="swaylock" +short_desc="Swaylock, with fancy effects" +maintainer="Dash Eclipse <dash@ezup.dev>" +license="MIT" +homepage="https://github.com/mortie/${pkgname}" +wrksrc="${pkgname}-${version}-1" +distfiles="${homepage}/archive/v${version}-1.tar.gz" +checksum=d25a809e6cf013612a5c8bdd173ac17a72bd95a414221a3b3f9d60eae2c7ec33 + +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/telegram-desktop/patches/0001-musl.patch b/srcpkgs/telegram-desktop/patches/0001-musl.patch @@ -1,48 +0,0 @@ ---- Telegram/lib_base/base/platform/linux/base_info_linux.cpp 2020-06-03 09:28:30.000000000 +0200 -+++ - 2020-06-08 00:40:30.503197310 +0200 -@@ -13,7 +13,6 @@ - #include <QtCore/QVersionNumber> - #include <QtCore/QDate> - #include <QtGui/QGuiApplication> --#include <gnu/libc-version.h> - - namespace Platform { - namespace { -@@ -84,8 +74,7 @@ - return "Linux " - + (list.isEmpty() ? QString() : list[0] + ' ') - + (IsWayland() ? "Wayland " : "X11 ") -- + "glibc " -- + GetGlibCVersion(); -+ + "void "; - } - - QString SystemCountry() { -@@ -103,11 +92,7 @@ - QDate WhenSystemBecomesOutdated() { - if (IsLinux32Bit()) { - return QDate(2020, 9, 1); -- } else if (const auto version = GetGlibCVersion(); !version.isEmpty()) { -- if (QVersionNumber::fromString(version) < QVersionNumber(2, 23)) { -- return QDate(2020, 9, 1); // Older than Ubuntu 16.04. -- } -- } -+ } - return QDate(); - } - -@@ -129,14 +114,6 @@ - } - } - --QString GetGlibCVersion() { -- static const auto result = [&] { -- const auto version = QString::fromLatin1(gnu_get_libc_version()); -- return QVersionNumber::fromString(version).isNull() ? QString() : version; -- }(); -- return result; --} -- - bool IsWayland() { - return QGuiApplication::platformName().startsWith("wayland", Qt::CaseInsensitive); - } diff --git a/srcpkgs/telegram-desktop/patches/0002-PPC-big-endian.patch b/srcpkgs/telegram-desktop/patches/0002-PPC-big-endian.patch @@ -1,22 +0,0 @@ -Subject: [PATCH] PPC big endian - ---- - Telegram/SourceFiles/config.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git Telegram/SourceFiles/config.h Telegram/SourceFiles/config.h -index fb7b54e4d..6a873fbd7 100644 ---- Telegram/SourceFiles/config.h -+++ Telegram/SourceFiles/config.h -@@ -177,7 +177,7 @@ constexpr auto ApiHash = "344583e45741c457fe1862106095a5eb"; - #endif // TDESKTOP_API_ID && TDESKTOP_API_HASH - - #if Q_BYTE_ORDER == Q_BIG_ENDIAN --#error "Only little endian is supported!" -+#warning "Only little endian is supported!" - #endif // Q_BYTE_ORDER == Q_BIG_ENDIAN - - #if (TDESKTOP_ALPHA_VERSION != 0) --- -2.24.1 - diff --git a/srcpkgs/telegram-desktop/patches/cmake-pkgconfig-rlottie.patch b/srcpkgs/telegram-desktop/patches/cmake-pkgconfig-rlottie.patch @@ -1,17 +0,0 @@ ---- cmake/external/rlottie/CMakeLists.txt 2020-06-17 18:07:24.000000000 +0200 -+++ - 2020-06-19 10:17:31.071247004 +0200 -@@ -8,14 +8,9 @@ - add_library(external_rlottie INTERFACE IMPORTED GLOBAL) - add_library(desktop-app::external_rlottie ALIAS external_rlottie) - -- find_package(rlottie) -- if (rlottie_FOUND) -- target_link_libraries(external_rlottie INTERFACE rlottie::rlottie) -- else() - find_package(PkgConfig REQUIRED) - pkg_check_modules(RLOTTIE REQUIRED IMPORTED_TARGET rlottie) - target_link_libraries(external_rlottie INTERFACE PkgConfig::RLOTTIE) -- endif() - else() - add_library(external_rlottie OBJECT) - add_library(desktop-app::external_rlottie ALIAS external_rlottie) diff --git a/srcpkgs/telegram-desktop/template b/srcpkgs/telegram-desktop/template @@ -1,67 +0,0 @@ -# Template file for 'telegram-desktop' -pkgname=telegram-desktop -version=2.1.20 -revision=1 -wrksrc="tdesktop-${version}-full" -build_style=cmake -build_helper="qemu" -configure_args="-DTDESKTOP_API_ID=209235 - -DTDESKTOP_API_HASH=169ee702e1df4b6e66d80311db36cc43 - -DDESKTOP_APP_USE_GLIBC_WRAPS=OFF - -DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON - -DTDESKTOP_LAUNCHER_BASENAME=org.telegram.desktop.desktop - -DTDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME=ON - -DTDESKTOP_USE_PACKAGED_TGVOIP=OFF - -DDESKTOP_APP_USE_PACKAGED_EXPECTED=OFF - -DDESKTOP_APP_USE_PACKAGED_VARIANT=OFF - -DDESKTOP_APP_USE_PACKAGED_GSL=OFF - -DDESKTOP_APP_DISABLE_SPELLCHECK=$(vopt_if spellcheck 'false' 'true')" -hostmakedepends="pkg-config qt5-qmake qt5-host-tools python qt5-devel qt5-wayland-devel" -makedepends="alsa-lib-devel ffmpeg-devel libdbusmenu-glib-devel libopenal-devel - minizip-devel opus-devel xxHash-devel pulseaudio-devel qt5-devel range-v3 - libva-devel rapidjson liblz4-devel liblzma-devel rlottie-devel gtk+3-devel - MesaLib-devel libdbusmenu-qt5-devel qt5-wayland-devel $(vopt_if spellcheck hunspell-devel)" -depends="qt5-imageformats qt5-core>=5.15.0<5.15.1" -short_desc="Telegram Desktop messaging app" -maintainer="John <me@johnnynator.dev>" -license="GPL-3.0-or-later WITH OpenSSL" -homepage="https://desktop.telegram.org/" -changelog="https://github.com/telegramdesktop/tdesktop/blob/v${version}/changelog.txt" -distfiles="https://github.com/telegramdesktop/tdesktop/releases/download/v${version}/tdesktop-${version}-full.tar.gz" -checksum=ec37a9518388eadc93c849f69da6f1374e408cc20feb0ab2f5fc5c3232a7992c - -build_options="spellcheck" -build_options_default="spellcheck" - -case $XBPS_TARGET_MACHINE in - mips*) broken="unsupported";; -esac - -if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then - makedepends+=" libatomic-devel" -fi - -if [ "$XBPS_WORDSIZE" -eq 32 ]; then - nodebug=yes -fi - -if [ "$CROSS_BUILD" ]; then - hostmakedepends+=" qt5-devel" -fi - -post_extract() { - _qt5_dep_ver="${depends#*>=}" - _qt5_dep_ver="${_qt5_dep_ver%<*}" - _qt5_version="$(xbps-uhelper version qt5-core)" - - if [[ "${_qt5_version%_*}" != "${_qt5_dep_ver}" ]]; then - echo - msg_red "Qt5 version doesn't match version listed in \$depends\\n" - msg_red "${_qt5_version%_*} does not match ${_qt5_dep_ver}\\n" - exit 1 - fi - if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then - vsed -e '/desktop-app::external_openal/ a atomic' \ - -i Telegram/CMakeLists.txt - fi -} diff --git a/srcpkgs/telegram-desktop/update b/srcpkgs/telegram-desktop/update @@ -1,3 +0,0 @@ -site=https://github.com/telegramdesktop/tdesktop/releases/latest -pattern='href="/telegramdesktop/tdesktop/releases/tag/v\K[\d\.]+(?=")' -