Github messages for voidlinux
 help / color / mirror / Atom feed
From: Luciogi <Luciogi@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: phonon-qt6
Date: Wed, 06 Mar 2024 08:27:20 +0100	[thread overview]
Message-ID: <20240306072720.9AC3322172@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49141@inbox.vuxu.org>

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

There is an updated pull request by Luciogi against master on the void-packages repository

https://github.com/Luciogi/void-packages ph-qt6
https://github.com/void-linux/void-packages/pull/49141

New package: phonon-qt6
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-GLIBC)


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

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

From 9ed98a413f092f1922a4df43b5c01c1a59596d4c Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Wed, 6 Mar 2024 12:02:52 +0500
Subject: [PATCH 1/2] phonon-qt5: update to 4.12.0.

---
 srcpkgs/phonon-qt5/template | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/phonon-qt5/template b/srcpkgs/phonon-qt5/template
index 150ef594bb8b8c..ef6c85f70ad5ed 100644
--- a/srcpkgs/phonon-qt5/template
+++ b/srcpkgs/phonon-qt5/template
@@ -1,9 +1,10 @@
 # Template file for 'phonon-qt5'
 pkgname=phonon-qt5
-version=4.11.1
-revision=2
+version=4.12.0
+revision=1
 build_style=cmake
-configure_args="-DPHONON_BUILD_PHONON4QT5=ON -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON"
+configure_args="-DPHONON_BUILD_QT6=OFF -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON
+ -DPHONON_BUILD_SETTINGS=OFF"
 hostmakedepends="extra-cmake-modules qt5-host-tools qt5-devel"
 makedepends="glib-devel qt5-devel qt5-tools-devel pulseaudio-devel"
 short_desc="Multimedia framework for KDE"
@@ -11,7 +12,12 @@ maintainer="John <me@johnnynator.dev>"
 license="LGPL-2.1-or-later"
 homepage="https://phonon.kde.org/"
 distfiles="${KDE_SITE}/${pkgname%-*}/${version}/${pkgname%-*}-${version}.tar.xz"
-checksum=b4431ea2600df8137a717741ad9ebc7f7ec1649fa3e138541d8f42597144de2d
+checksum=3287ffe0fbcc2d4aa1363f9e15747302d0b080090fe76e5f211d809ecb43f39a
+
+post_install() {
+	# conflicts with phonon-qt6
+	rm ${DESTDIR}/usr/share/locale -rf
+}
 
 phonon-qt5-devel_package() {
 	depends="qt5-devel ${sourcepkg}-${version}_${revision}"
@@ -20,8 +26,7 @@ phonon-qt5-devel_package() {
 		vmove usr/lib/qt5/mkspecs
 		vmove usr/lib/cmake
 		vmove usr/lib/pkgconfig
-		vmove usr/share/phonon4qt5
-		vmove usr/lib/qt5/plugins/designer/phononwidgets.so
+		vmove "usr/lib/qt5/plugins/designer/*.so"
 		vmove "usr/lib/*.so"
 	}
 }

From 47e2f1a95d27945755c79fa8223697e78b95daa0 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Wed, 6 Mar 2024 12:02:03 +0500
Subject: [PATCH 2/2] New package: phonon-qt6-4.12.0

---
 srcpkgs/phonon-qt6-devel    |  1 +
 srcpkgs/phonon-qt6/template | 25 +++++++++++++++++++++++++
 srcpkgs/phonon-qt6/update   |  1 +
 3 files changed, 27 insertions(+)
 create mode 120000 srcpkgs/phonon-qt6-devel
 create mode 100644 srcpkgs/phonon-qt6/template
 create mode 100644 srcpkgs/phonon-qt6/update

diff --git a/srcpkgs/phonon-qt6-devel b/srcpkgs/phonon-qt6-devel
new file mode 120000
index 00000000000000..6ba9c6d3b3b3e0
--- /dev/null
+++ b/srcpkgs/phonon-qt6-devel
@@ -0,0 +1 @@
+phonon-qt6
\ No newline at end of file
diff --git a/srcpkgs/phonon-qt6/template b/srcpkgs/phonon-qt6/template
new file mode 100644
index 00000000000000..984b619f77dd09
--- /dev/null
+++ b/srcpkgs/phonon-qt6/template
@@ -0,0 +1,25 @@
+# Template file for 'phonon-qt6'
+pkgname=phonon-qt6
+version=4.12.0
+revision=1
+build_style=cmake
+configure_args="-DPHONON_BUILD_QT5=OFF -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON"
+hostmakedepends="extra-cmake-modules qt6-tools"
+makedepends="glib-devel qt6-base-devel qt6-tools-devel qt6-qt5compat-devel pulseaudio-devel"
+short_desc="Multimedia framework for KDE"
+maintainer="John <me@johnnynator.dev>"
+license="LGPL-2.1-or-later"
+homepage="https://phonon.kde.org/"
+distfiles="${KDE_SITE}/${pkgname%-*}/${version}/${pkgname%-*}-${version}.tar.xz"
+checksum=3287ffe0fbcc2d4aa1363f9e15747302d0b080090fe76e5f211d809ecb43f39a
+
+phonon-qt6-devel_package() {
+	depends="qt6-base-devel ${sourcepkg}-${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/qt6/plugins/designer/*.so"
+		vmove "usr/lib/*.so"
+	}
+}
diff --git a/srcpkgs/phonon-qt6/update b/srcpkgs/phonon-qt6/update
new file mode 100644
index 00000000000000..45bccdf8f38875
--- /dev/null
+++ b/srcpkgs/phonon-qt6/update
@@ -0,0 +1 @@
+pkgname=${pkgname%-*}

  reply	other threads:[~2024-03-06  7:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-06  7:15 [PR PATCH] " Luciogi
2024-03-06  7:27 ` Luciogi [this message]
2024-03-06  7:37 ` [PR PATCH] [Updated] " Luciogi
2024-03-06  8:00 ` [PR REVIEW] " meator
2024-03-06  8:01 ` Luciogi
2024-03-06  8:07 ` [PR PATCH] [Updated] " Luciogi
2024-03-06  8:09 ` Luciogi
2024-03-06  8:20 ` Johnnynator
2024-03-06  8:27 ` [PR REVIEW] " sgn
2024-03-06  8:27 ` [PR PATCH] [Updated] " sgn
2024-03-06  8:44 ` Luciogi
2024-03-06  8:45 ` Luciogi
2024-03-06 15:53 ` [PR PATCH] [Closed]: " Luciogi
2024-03-06 15:53 ` Luciogi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240306072720.9AC3322172@inbox.vuxu.org \
    --to=luciogi@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).