diff --git a/srcpkgs/CopyQ/patches/qt610.patch b/srcpkgs/CopyQ/patches/qt610.patch deleted file mode 100644 index 3cb3951d13eeb1..00000000000000 --- a/srcpkgs/CopyQ/patches/qt610.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -49,6 +49,7 @@ if (WITH_QT6) - find_package(Qt6Widgets 6.1.0 REQUIRED) - set(copyq_qt Qt6) - add_definitions( -DQT_DEPRECATED_WARNINGS_SINCE=0x051500 ) -+ find_package(Qt6 6.10.0 REQUIRED COMPONENTS Gui GuiPrivate Linguist) - else() - set(QT_DEFAULT_MAJOR_VERSION 5) - find_package(Qt5Widgets 5.15.0 REQUIRED) ---- a/src/platform/x11/systemclipboard/CMakeLists.txt -+++ b/src/platform/x11/systemclipboard/CMakeLists.txt -@@ -33,6 +33,7 @@ endif() - - target_link_libraries(systemclipboard - ${copyq_qt}::Gui -+ ${copyq_qt}::GuiPrivate - ${copyq_qt}::WaylandClient - Wayland::Client - ) ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -45,7 +45,6 @@ endif() - # translations - file(GLOB copyq_TRANSLATIONS ../translations/*.ts) - --find_package(${copyq_qt}LinguistTools) - if (${copyq_qt}LinguistTools_FOUND) - qt_add_translation(copyq_QM ${copyq_TRANSLATIONS}) - endif() diff --git a/srcpkgs/CopyQ/template b/srcpkgs/CopyQ/template index 646309d5193a71..e2fde41a7513aa 100644 --- a/srcpkgs/CopyQ/template +++ b/srcpkgs/CopyQ/template @@ -1,14 +1,16 @@ # Template file for 'CopyQ' pkgname=CopyQ -version=13.0.0 -revision=2 +version=16.0.0 +revision=1 build_style=cmake -configure_args="-DWITH_QT6=ON" +configure_args="-DWITH_QT6=ON + -DMINIAUDIO_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include/miniaudio/" hostmakedepends="extra-cmake-modules pkg-config qt6-base qt6-tools wayland-devel" makedepends="qt6-base-private-devel qt6-declarative-devel qt6-svg-devel - kf6-knotifications-devel kf6-kstatusnotifieritem-devel - kf6-kguiaddons-devel wayland-devel libX11-devel qt6-tools-devel" + qca-qt6-devel qtkeychain-qt6-devel kf6-knotifications-devel + kf6-kstatusnotifieritem-devel kf6-kguiaddons-devel wayland-devel + libX11-devel qt6-tools-devel miniaudio" depends="qt6-svg" short_desc="Clipboard manager with searchable and editable history" maintainer="mobinmob " @@ -16,4 +18,4 @@ license="GPL-3.0-or-later" homepage="https://hluk.github.io/CopyQ/" changelog="https://raw.githubusercontent.com/hluk/CopyQ/master/CHANGES.md" distfiles="https://github.com/hluk/CopyQ/archive/v${version}.tar.gz" -checksum=c7e0c9aa95b5653dee547f168d58cf5aae4f66ad5f94856a61741ebe9527ad72 +checksum=3d876f74cf32913e37b1cdeaca0c61cce857174f064bb128f76fd0fa3abdb326 diff --git a/srcpkgs/miniaudio/template b/srcpkgs/miniaudio/template new file mode 100644 index 00000000000000..e3bfbc9a1e078f --- /dev/null +++ b/srcpkgs/miniaudio/template @@ -0,0 +1,13 @@ +# Template file for 'miniaudio' +pkgname=miniaudio +version=0.11.25 +revision=1 +build_style=cmake +configure_args="-DMINIAUDIO_ENABLE_ALSA=ON -DMINIAUDIO_ENABLE_PULSEAUDIO=ON" +makedepends="alsa-lib-devel pulseaudio-devel" +short_desc="Audio playback and capture library written in C" +maintainer="Michael Aldridge " +license="Public Domain" +homepage="https://miniaud.io/" +distfiles="https://github.com/mackron/miniaudio/archive/refs/tags/$version.tar.gz" +checksum=b900edcffe979816e2560a0580b9b1216d674b4f17fbadeca8f777a7f8ab0274