commit: f76ed261853a2b650d70c7f30ad96c91934716a2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Mon Apr 14 17:05:12 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Mon Apr 14 21:14:54 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f76ed261
app-emulation/q4wine: add Qt6-based 1.4.0 Closes: https://bugs.gentoo.org/894726 Closes: https://bugs.gentoo.org/907998 Bug: https://bugs.gentoo.org/949838 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> app-emulation/q4wine/Manifest | 1 + .../q4wine/files/q4wine-1.4.0-cmake.patch | 11 ++++++ app-emulation/q4wine/q4wine-1.4.0.ebuild | 43 ++++++++++++++++++++++ 3 files changed, 55 insertions(+) diff --git a/app-emulation/q4wine/Manifest b/app-emulation/q4wine/Manifest index 5f97e112b9a9..1488e620f897 100644 --- a/app-emulation/q4wine/Manifest +++ b/app-emulation/q4wine/Manifest @@ -1 +1,2 @@ DIST q4wine-1.3.13.tar.bz2 2862153 BLAKE2B ad70ec0c4122d7eb6acc14976fc8194e1250beadd38762f726ccb9f40fe0f61e5c46fa40727fd2323521db4ba01a759c678d5ead7cb247fdd2e7da6ae47d9e05 SHA512 1e364519889713192f39115093740827c96ee33092ac0a3ee6c548790fc380687481e999bfb0e9df725e6497877d6b3808714a698f794e97ad86c360d505509b +DIST q4wine-1.4.0.tar.gz 3197514 BLAKE2B 9a858211bf16a441cb960325677df4f69c09887538ea30c6e961413592c3648d7467807bec891f1ed12577a700f5627debcf6123770fd36153cae2dcfe13c898 SHA512 faba9fda15d1067940abbef3b3ba9a30b8bfd759892b2c05963c3cf69bb331afb101016afd3485a9be2b6b03944a920d05664b01e4af4f3e554c739511ff3c4a diff --git a/app-emulation/q4wine/files/q4wine-1.4.0-cmake.patch b/app-emulation/q4wine/files/q4wine-1.4.0-cmake.patch new file mode 100644 index 000000000000..00bbc4cabad4 --- /dev/null +++ b/app-emulation/q4wine/files/q4wine-1.4.0-cmake.patch @@ -0,0 +1,11 @@ +--- a/src/l10n/CMakeLists.txt ++++ b/src/l10n/CMakeLists.txt +@@ -11,7 +11,7 @@ + ) + SET (QM_L10N + ${QM_L10N} +- ${CMAKE_SOURCE_DIR}/src/l10n/q4wine_${LANG}.qm ++ ${CMAKE_BINARY_DIR}/src/l10n/q4wine_${LANG}.qm + ) + set(I18N_TRANSLATED_LANGUAGES + ${I18N_TRANSLATED_LANGUAGES} diff --git a/app-emulation/q4wine/q4wine-1.4.0.ebuild b/app-emulation/q4wine/q4wine-1.4.0.ebuild new file mode 100644 index 000000000000..bfd8a91da2fc --- /dev/null +++ b/app-emulation/q4wine/q4wine-1.4.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg + +DESCRIPTION="Qt GUI configuration tool for Wine" +HOMEPAGE="https://q4wine.brezblock.org.ua/" +SRC_URI="https://github.com/brezerk/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug +ico +iso +wineappdb" + +DEPEND=" + dev-qt/qtbase:6[dbus,gui,network,sql,sqlite,ssl,widgets,xml] + ico? ( >=media-gfx/icoutils-0.26.0 ) +" +RDEPEND="${DEPEND} + app-admin/sudo + >=sys-apps/which-2.19 + iso? ( sys-fs/fuseiso ) +" +BDEPEND="dev-qt/qttools:6[linguist]" + +DOCS=( {AUTHORS,Changelog,README}.md ) + +PATCHES=( "${FILESDIR}/${P}-cmake.patch" ) + +src_configure() { + local mycmakeargs=( + -DDEBUG=$(usex debug ON OFF) + -DWITH_ICOUTILS=$(usex ico ON OFF) + -DWITH_SYSTEM_SINGLEAPP=OFF + -DWITH_WINEAPPDB=$(usex wineappdb ON OFF) + -DUSE_BZIP2=OFF + -DUSE_GZIP=OFF + -DWITH_DBUS=ON + ) + cmake_src_configure +}
