Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
239 changes: 0 additions & 239 deletions srcpkgs/kvirc/patches/python3.patch

This file was deleted.

10 changes: 0 additions & 10 deletions srcpkgs/kvirc/patches/qt5.15.patch

This file was deleted.

24 changes: 15 additions & 9 deletions srcpkgs/kvirc/template
Original file line number Diff line number Diff line change
@@ -1,25 +1,31 @@
# Template file for 'kvirc'
pkgname=kvirc
version=5.0.0
revision=18
version=5.2.10
revision=1
build_style=cmake
configure_args="-DWANT_ENV_FLAGS=1 -DWANT_KDE=0"
hostmakedepends="perl"
makedepends="zlib-devel qt5-devel qt5-webkit-devel openssl-devel python3-devel perl
qt5-multimedia-devel qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql
qt5-plugin-sqlite qt5-plugin-tds"
hostmakedepends="qt6-base-devel perl"
makedepends="zlib-devel qt6-base-devel openssl-devel python3-devel perl
qt6-multimedia-devel qt6-plugin-mysql qt6-plugin-odbc qt6-plugin-pgsql
qt6-plugin-sqlite qt6-qt5compat-devel"
short_desc="Qt-based IRC client"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-2.0-or-later"
homepage="http://www.kvirc.net"
distfiles="ftp://ftp.kvirc.net/pub/kvirc/${version}/source/KVIrc-${version}.tar.bz2"
checksum=76cd4cdcaca5e4056f086cdcbb6122c2ca7e331d6e66c7ebc57d32565f626a65
distfiles="https://github.com/kvirc/KVIrc/archive/refs/tags/${version}.tar.gz"
checksum=6b448b08aeaf5fd3f2b120525c8c87ddad3336f5b750a557b2022aaad0dda626
nocross=yes

if [ "$CROSS_BUILD" ];then
hostmakedepends+=" qt5-qmake qt5-host-tools"
configure_args+=" -DWANT_PERL=0" # breaks at least on arm
fi

if [ "$XBPS_WORDSIZE" = 32 ]; then
configure_args+=" -DWANT_QTWEBENGINE=0"
else
makedepends+=" qt6-webengine-devel"
fi

pre_configure() {
if [ "$CROSS_BUILD" ]; then
configure_args+=" -C ${FILESDIR}/TryRunResults.cmake"
Expand Down