Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: qt6-speech
@ 2023-10-27  8:57 chrysos349
  2023-10-27  8:58 ` [PR PATCH] [Closed]: " chrysos349
  0 siblings, 1 reply; 2+ messages in thread
From: chrysos349 @ 2023-10-27  8:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 636 bytes --]

There is a new pull request by chrysos349 against master on the void-packages repository

https://github.com/chrysos349/void-packages qt6-speech
https://github.com/void-linux/void-packages/pull/46925

New package: qt6-speech
closes #46866

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl x
  - armv7l x
  - armv6l-musl x

A patch file from https://github.com/void-linux/void-packages/pull/46925.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qt6-speech-46925.patch --]
[-- Type: text/x-diff, Size: 2910 bytes --]

From e1738cb4ebf99f0978e7001f66886b31ab6fddef Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Fri, 27 Oct 2023 11:56:20 +0300
Subject: [PATCH] New package: qt6-speech

---
 common/shlibs               |  1 +
 srcpkgs/qt6-speech-devel    |  1 +
 srcpkgs/qt6-speech/template | 38 +++++++++++++++++++++++++++++++++++++
 srcpkgs/qt6-speech/update   |  3 +++
 4 files changed, 43 insertions(+)
 create mode 120000 srcpkgs/qt6-speech-devel
 create mode 100644 srcpkgs/qt6-speech/template
 create mode 100644 srcpkgs/qt6-speech/update

diff --git a/common/shlibs b/common/shlibs
index 67e0812c68e19..05e5d99683248 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4267,3 +4267,4 @@ libgrass_gproj.8.3.so grass-8.3.0_1
 libgrass_imagery.8.3.so grass-8.3.0_1
 libgrass_raster.8.3.so grass-8.3.0_1
 libgrass_vector.8.3.so grass-8.3.0_1
+libQt6TextToSpeech.so.6 qt6-speech-6.5.2_1
diff --git a/srcpkgs/qt6-speech-devel b/srcpkgs/qt6-speech-devel
new file mode 120000
index 0000000000000..995d6b2a31d72
--- /dev/null
+++ b/srcpkgs/qt6-speech-devel
@@ -0,0 +1 @@
+qt6-speech
\ No newline at end of file
diff --git a/srcpkgs/qt6-speech/template b/srcpkgs/qt6-speech/template
new file mode 100644
index 0000000000000..bdc899af122f5
--- /dev/null
+++ b/srcpkgs/qt6-speech/template
@@ -0,0 +1,38 @@
+# Template file for 'qt6-speech'
+pkgname=qt6-speech
+version=6.5.2
+revision=1
+build_style=cmake
+configure_args="--log-level=STATUS"
+hostmakedepends="pkg-config"
+makedepends="alsa-lib-devel flite-devel qt6-declarative-devel
+ qt6-multimedia-devel speech-dispatcher-devel"
+short_desc="Cross-platform application and UI framework - Speech"
+maintainer="chrysos349 <chrysostom349@gmail.com>"
+license="(LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only) AND GPL-3.0-only with Qt-GPL-exception-1.0"
+homepage="https://qt.io/"
+distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtspeech-everywhere-src-${version}.tar.xz"
+checksum=88ff9c2876f4a76632bfee7f58c3277aab9ff49e24d628e4a19f6b0e7a62d4b2
+
+if [ "$CROSS_BUILD" ]; then
+	hostmakedepends+=" qt6-base qt6-declarative-host-tools"
+fi
+
+if [ "$XBPS_CHECK_PKGS" ]; then
+	configure_args+=" -DQT_BUILD_TESTS=ON"
+fi
+
+qt6-speech-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove "usr/lib/*.prl"
+		vmove "usr/lib/*.so"
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove usr/lib/qt6/metatypes
+		vmove usr/lib/qt6/mkspecs
+		vmove usr/lib/qt6/modules
+	}
+}
diff --git a/srcpkgs/qt6-speech/update b/srcpkgs/qt6-speech/update
new file mode 100644
index 0000000000000..93d6601e02eed
--- /dev/null
+++ b/srcpkgs/qt6-speech/update
@@ -0,0 +1,3 @@
+site="https://download.qt.io/official_releases/qt
+https://download.qt.io/official_releases/qt/${version%.*}"
+pattern='>\K6\.[\d\.]+(?=/<)'

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Closed]: New package: qt6-speech
  2023-10-27  8:57 [PR PATCH] New package: qt6-speech chrysos349
@ 2023-10-27  8:58 ` chrysos349
  0 siblings, 0 replies; 2+ messages in thread
From: chrysos349 @ 2023-10-27  8:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 476 bytes --]

There's a closed pull request on the void-packages repository

New package: qt6-speech
https://github.com/void-linux/void-packages/pull/46925

Description:
closes #46866

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl x
  - armv7l x
  - armv6l-musl x

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-27  8:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-27  8:57 [PR PATCH] New package: qt6-speech chrysos349
2023-10-27  8:58 ` [PR PATCH] [Closed]: " chrysos349

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).