* [gentoo-commits] repo/gentoo:master commit in: media-sound/kid3/files/, media-sound/kid3/
@ 2016-01-19 13:28 Michael Palimaka
0 siblings, 0 replies; 4+ messages in thread
From: Michael Palimaka @ 2016-01-19 13:28 UTC (permalink / raw
To: gentoo-commits
commit: c07b0057f202a1a73d02a055dfd1ae2250aac971
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Tue Jan 19 13:26:58 2016 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Tue Jan 19 13:28:43 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c07b0057
media-sound/kid3: install libs to correct directory
Package-Manager: portage-2.2.27
media-sound/kid3/files/kid3-3.2.1-libdir.patch | 43 ++++++++++++++++++++++
.../{kid3-3.2.1.ebuild => kid3-3.2.1-r1.ebuild} | 7 +++-
2 files changed, 48 insertions(+), 2 deletions(-)
diff --git a/media-sound/kid3/files/kid3-3.2.1-libdir.patch b/media-sound/kid3/files/kid3-3.2.1-libdir.patch
new file mode 100644
index 0000000..b65eb3b
--- /dev/null
+++ b/media-sound/kid3/files/kid3-3.2.1-libdir.patch
@@ -0,0 +1,43 @@
+Install libraries to the correct directory.
+
+Gentoo-bug: 562624
+Gentoo-bug: 570976
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -134,7 +134,7 @@
+ endif (BUILD_KDE_APP OR BUILD_SHARED_LIBS)
+ set(WITH_QMLDIR_DEFAULT "share/kid3/qml")
+ set(WITH_BINDIR_DEFAULT "bin")
+- set(WITH_LIBDIR_DEFAULT "lib${LIB_SUFFIX}/kid3")
++ set(WITH_LIBDIR_DEFAULT "lib${LIB_SUFFIX}")
+ set(WITH_PLUGINSDIR_DEFAULT "${WITH_LIBDIR_DEFAULT}/plugins")
+ endif (APPLE)
+
+@@ -203,6 +203,7 @@
+ find_package(Qt4 COMPONENTS ${_QT4_COMPONENTS})
+ if (Qt4_FOUND OR QT4_FOUND)
+ include (${QT_USE_FILE})
++ set(QTVER "qt4")
+ if (NOT WITH_QT4)
+ message(STATUS "Qt4 found, explicitly set WITH_QT5 or QT_QMAKE_EXECUTABLE to use a different version.")
+ endif (NOT WITH_QT4)
+@@ -235,6 +236,7 @@
+ endif (_qt5Dir)
+ if (Qt5Core_FOUND)
+ set(HAVE_QT5 1)
++ set(QTVER "qt5")
+ set(WITH_PHONON OFF)
+ set(QT_INCLUDES)
+ set(QT_DEFINITIONS)
+@@ -340,6 +342,10 @@
+ link_directories($ENV{LIB})
+ endif (WIN32)
+
++if (NOT APPLE AND NOT WIN32)
++ set(WITH_PLUGINSDIR "${WITH_LIBDIR_DEFAULT}/${QTVER}/plugins/kid3")
++endif ()
++
+ if (BUILD_SHARED_LIBS)
+ add_definitions(-DKID3_SHARED)
+
diff --git a/media-sound/kid3/kid3-3.2.1.ebuild b/media-sound/kid3/kid3-3.2.1-r1.ebuild
similarity index 92%
rename from media-sound/kid3/kid3-3.2.1.ebuild
rename to media-sound/kid3/kid3-3.2.1-r1.ebuild
index 3afd6e6..d1c6226 100644
--- a/media-sound/kid3/kid3-3.2.1.ebuild
+++ b/media-sound/kid3/kid3-3.2.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -48,7 +48,10 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
-PATCHES=( "${FILESDIR}/${P}-fix-cmake.patch" )
+PATCHES=(
+ "${FILESDIR}/${P}-libdir.patch"
+ "${FILESDIR}/${P}-fix-cmake.patch"
+)
src_configure() {
local mycmakeargs=(
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-sound/kid3/files/, media-sound/kid3/
@ 2021-04-26 15:36 Miroslav Šulc
0 siblings, 0 replies; 4+ messages in thread
From: Miroslav Šulc @ 2021-04-26 15:36 UTC (permalink / raw
To: gentoo-commits
commit: 2bb7e809267780778eb7bb9053dc1902d970f25e
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 26 15:33:59 2021 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Mon Apr 26 15:35:54 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bb7e809
media-sound/kid3: removed obsolete 3.8.5
Bug: https://bugs.gentoo.org/785520
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
media-sound/kid3/Manifest | 1 -
.../kid3/files/kid3-3.8.5-tests-optional.patch | 80 ----------------
media-sound/kid3/kid3-3.8.5.ebuild | 102 ---------------------
3 files changed, 183 deletions(-)
diff --git a/media-sound/kid3/Manifest b/media-sound/kid3/Manifest
index e7089aae142..a2c8c55eabc 100644
--- a/media-sound/kid3/Manifest
+++ b/media-sound/kid3/Manifest
@@ -1,2 +1 @@
-DIST kid3-3.8.5.tar.gz 3181228 BLAKE2B 8e409c0697cc6045c0a1da4b19a8eae952bc63fa824e21aca19e6ad2130ef71a3fff2c25fa34078ea72e3cbd84459c77bbb616b1d1fb62d0f1023aa2fd6cfccd SHA512 d1f0bc91d50538c29807ddca2a039e758c58850d1224675a1674e3e1d89936bf80db34ffd3cf3678e1008eb600476ebb722ca78796eba2537defcc57664ff00c
DIST kid3-3.8.6.tar.gz 3183673 BLAKE2B c862c1da05ed85ecce8b0c666ddb9e18bdcabafe569f62f3264ebf1e0b7b16c11d25a10e1b1e6cd395442500275f9ee73ef1f6225e049790a09eac68b811df06 SHA512 11613ea72b23a80473699c61141ae2eb9a76b47da87704cd673b70a65bb334bd8232d3a66a7ff2b7f552751145613dbcfb8dcf0746eebb9fa2bd45979f4ba5d4
diff --git a/media-sound/kid3/files/kid3-3.8.5-tests-optional.patch b/media-sound/kid3/files/kid3-3.8.5-tests-optional.patch
deleted file mode 100644
index 44af299f13c..00000000000
--- a/media-sound/kid3/files/kid3-3.8.5-tests-optional.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-From fe096c5d05c95bfdcfae6a5976e242e324f4152d Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
-Date: Fri, 5 Feb 2021 06:17:42 +0000
-Subject: [PATCH] Use include(CTest) and BUILD_TESTING to make tests optional
-
-Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
----
- CMakeLists.txt | 29 ++++++++++++++++++++---------
- src/CMakeLists.txt | 2 +-
- 2 files changed, 21 insertions(+), 10 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 92d50265..ee476ac5 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -211,8 +211,15 @@ endif()
- set(CFG_QMLSRCDIR "${kid3_SOURCE_DIR}/src/qml")
-
- find_package(Threads)
--set(Python_ADDITIONAL_VERSIONS 3)
--find_package(PythonInterp REQUIRED)
-+include(CTest)
-+if(CMAKE_VERSION VERSION_LESS 3.12.0)
-+ set(Python_ADDITIONAL_VERSIONS 3)
-+ find_package(PythonInterp REQUIRED)
-+ # PythonInterp sets PYTHON_EXECUTABLE
-+else()
-+ find_package(Python3 COMPONENTS Interpreter REQUIRED)
-+ set(PYTHON_EXECUTABLE "${Python3_EXECUTABLE}")
-+endif()
- include (CheckCXXSourceCompiles)
- include (CheckCXXCompilerFlag)
- include (CheckLibraryExists)
-@@ -256,7 +263,10 @@ else()
- find_package(Qt5Core)
- endif()
- if(Qt5Core_FOUND)
-- set(_qtComponents Core Gui Widgets Network Xml Multimedia LinguistTools Test)
-+ set(_qtComponents Core Gui Widgets Network Xml Multimedia LinguistTools)
-+ if(BUILD_TESTING)
-+ set(_qtComponents ${_qtComponents} Test)
-+ endif()
- if(WITH_DBUS)
- set(_qtComponents ${_qtComponents} DBus)
- endif()
-@@ -472,12 +482,13 @@ if(ANDROID)
- endif()
-
-
--enable_testing()
--add_test(NAME test_cli_functions
-- COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/src/test/test_cli_functions.py)
--add_custom_target(check ${CMAKE_CTEST_COMMAND} --output-on-failure)
--if(NOT CMAKE_VERSION VERSION_LESS "3.17")
-- list(APPEND CMAKE_CTEST_ARGUMENTS --output-on-failure)
-+if(BUILD_TESTING)
-+ add_test(NAME test_cli_functions
-+ COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/src/test/test_cli_functions.py)
-+ add_custom_target(check ${CMAKE_CTEST_COMMAND} --output-on-failure)
-+ if(NOT CMAKE_VERSION VERSION_LESS "3.17")
-+ list(APPEND CMAKE_CTEST_ARGUMENTS --output-on-failure)
-+ endif()
- endif()
-
-
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index c6c703ac..db067265 100644
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -8,6 +8,6 @@ if(WITH_QML)
- add_subdirectory(qml)
- endif()
-
--if(BUILD_TEST_APP)
-+if(BUILD_TESTING AND BUILD_TEST_APP)
- add_subdirectory(test)
- endif()
---
-GitLab
-
diff --git a/media-sound/kid3/kid3-3.8.5.ebuild b/media-sound/kid3/kid3-3.8.5.ebuild
deleted file mode 100644
index 7ef800b5978..00000000000
--- a/media-sound/kid3/kid3-3.8.5.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-inherit cmake kde.org python-any-r1 xdg
-
-DESCRIPTION="Simple tag editor based on Qt"
-HOMEPAGE="https://kid3.kde.org/"
-
-if [[ ${KDE_BUILD_TYPE} != live ]]; then
- SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
- KEYWORDS="amd64 x86"
-fi
-
-LICENSE="GPL-2+"
-SLOT="5"
-IUSE="acoustid flac kde mp3 mp4 +mpris +taglib test vorbis"
-
-REQUIRED_USE="flac? ( vorbis )"
-RESTRICT+=" !test? ( test )"
-
-BDEPEND="${PYTHON_DEPS}
- dev-qt/linguist-tools:5
- kde? ( kde-frameworks/extra-cmake-modules:5 )
-"
-COMMON_DEPEND="
- dev-qt/qtcore:5
- dev-qt/qtdeclarative:5
- dev-qt/qtgui:5
- dev-qt/qtmultimedia:5
- dev-qt/qtnetwork:5
- dev-qt/qtwidgets:5
- dev-qt/qtxml:5
- sys-libs/readline:0=
- acoustid? (
- media-libs/chromaprint
- media-video/ffmpeg
- )
- flac? (
- media-libs/flac[cxx]
- media-libs/libvorbis
- )
- kde? (
- kde-frameworks/kconfig:5
- kde-frameworks/kconfigwidgets:5
- kde-frameworks/kcoreaddons:5
- kde-frameworks/kio:5
- kde-frameworks/kwidgetsaddons:5
- kde-frameworks/kxmlgui:5
- )
- mp3? ( media-libs/id3lib )
- mp4? ( media-libs/libmp4v2:0 )
- mpris? ( dev-qt/qtdbus:5 )
- taglib? ( >=media-libs/taglib-1.9.1 )
- vorbis? (
- media-libs/libogg
- media-libs/libvorbis
- )
-"
-DEPEND="${COMMON_DEPEND}
- test? ( dev-qt/qttest:5 )
-"
-RDEPEND="${COMMON_DEPEND}
- !media-sound/kid3:4
-"
-
-PATCHES=( "${FILESDIR}/${P}-tests-optional.patch" )
-
-pkg_setup() {
- use test && python-any-r1_pkg_setup
-}
-
-src_prepare() {
- # overengineered upstream build system
- cmake_src_prepare
- # applies broken python hacks, bug #614950
- cmake_comment_add_subdirectory doc
-}
-
-src_configure() {
- local mycmakeargs=(
- -DPython3_EXECUTABLE="${PYTHON}"
- -DWITH_CHROMAPRINT=$(usex acoustid)
- -DWITH_DBUS=$(usex mpris)
- -DWITH_FLAC=$(usex flac)
- -DWITH_ID3LIB=$(usex mp3)
- -DWITH_MP4V2=$(usex mp4)
- -DWITH_TAGLIB=$(usex taglib)
- -DBUILD_TESTING=$(usex test)
- -DWITH_VORBIS=$(usex vorbis)
- )
-
- if use kde ; then
- mycmakeargs+=( "-DWITH_APPS=KDE;CLI" )
- else
- mycmakeargs+=( "-DWITH_APPS=Qt;CLI" )
- fi
-
- cmake_src_configure
-}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-sound/kid3/files/, media-sound/kid3/
@ 2022-10-10 16:11 Andreas Sturmlechner
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2022-10-10 16:11 UTC (permalink / raw
To: gentoo-commits
commit: fdb1782174e7db8b4674d678312de7c8b85b6716
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 10 16:11:10 2022 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Oct 10 16:11:42 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdb17821
media-sound/kid3: Fix build with musl
Closes: https://bugs.gentoo.org/832301
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
media-sound/kid3/files/kid3-3.9.2-musl.patch | 27 +++++++++++++++++++++++++++
media-sound/kid3/kid3-3.9.2-r1.ebuild | 2 ++
2 files changed, 29 insertions(+)
diff --git a/media-sound/kid3/files/kid3-3.9.2-musl.patch b/media-sound/kid3/files/kid3-3.9.2-musl.patch
new file mode 100644
index 000000000000..05eb15536386
--- /dev/null
+++ b/media-sound/kid3/files/kid3-3.9.2-musl.patch
@@ -0,0 +1,27 @@
+From 15655cd3f19b95d5533bdfd52b0f38c51a4fdf88 Mon Sep 17 00:00:00 2001
+From: Bart Ribbers <bribbers@disroot.org>
+Date: Sat, 24 Sep 2022 17:20:06 +0200
+Subject: [PATCH] Fix build on Musl libc
+
+malloc_trim is only implemented on glibc, so rather than checking if the
+OS is Linux and not Android, check if it's Linux and glibc.
+---
+ src/core/model/kid3application.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/core/model/kid3application.cpp b/src/core/model/kid3application.cpp
+index d40bca83..03409d1b 100644
+--- a/src/core/model/kid3application.cpp
++++ b/src/core/model/kid3application.cpp
+@@ -995,7 +995,7 @@ void Kid3Application::unloadAllTags()
+ taggedFile->closeFileHandle();
+ }
+ }
+-#if defined Q_OS_LINUX && !defined Q_OS_ANDROID
++#if defined Q_OS_LINUX && defined __GLIBC__
+ if (::malloc_trim(0)) {
+ qDebug("Memory released by malloc_trim()");
+ }
+--
+GitLab
+
diff --git a/media-sound/kid3/kid3-3.9.2-r1.ebuild b/media-sound/kid3/kid3-3.9.2-r1.ebuild
index b298c0f7a0d9..332eb6c4f7d3 100644
--- a/media-sound/kid3/kid3-3.9.2-r1.ebuild
+++ b/media-sound/kid3/kid3-3.9.2-r1.ebuild
@@ -63,6 +63,8 @@ BDEPEND="${PYTHON_DEPS}
kde? ( kde-frameworks/extra-cmake-modules:5 )
"
+PATCHES=( "${FILESDIR}/${P}-musl.patch" )
+
pkg_setup() {
use test && python-any-r1_pkg_setup
}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-sound/kid3/files/, media-sound/kid3/
@ 2023-02-27 19:29 Andreas Sturmlechner
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2023-02-27 19:29 UTC (permalink / raw
To: gentoo-commits
commit: e77ce858041053e89f626994de3f6c239dbe9d73
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 27 19:28:11 2023 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Feb 27 19:29:23 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e77ce858
media-sound/kid3: drop 3.9.2-r1
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
media-sound/kid3/Manifest | 1 -
media-sound/kid3/files/kid3-3.9.2-musl.patch | 27 -------
media-sound/kid3/kid3-3.9.2-r1.ebuild | 102 ---------------------------
3 files changed, 130 deletions(-)
diff --git a/media-sound/kid3/Manifest b/media-sound/kid3/Manifest
index 7ed23cbdb72e..93466b386a18 100644
--- a/media-sound/kid3/Manifest
+++ b/media-sound/kid3/Manifest
@@ -1,2 +1 @@
-DIST kid3-3.9.2.tar.xz 1952344 BLAKE2B 5a44a05f614f97dc7ddab39694a1773e1e6c55af7a9dc4ac7b793a520e54a8892c2181903a58f150885b3b4e17ebf921db719863f7ac4fd540f711a444990df3 SHA512 fc0b9db33ea948a2345968ab5da65f959bea829130f4250604d68df778218173d49f92b015d9be4e43f57ba5ae3388b0e97f558774df590b5959aa6f6293acd3
DIST kid3-3.9.3.tar.xz 1820640 BLAKE2B ea030328d88f583e88959e7536f4e3e086354befc40395700fac8314a1e7c3da7a2f9a614ff9ad98491d9ec4d8b24ead05a2214b94f55786a5e493c1a585056c SHA512 f40c7eaa186eb7d3163635286a8ad89bf6b29dce851b4fadc0814eec7759ed7fbac37e4596365bac4df93c5b655a7e943f8414e7c8f661b29aea7bde5367ed73
diff --git a/media-sound/kid3/files/kid3-3.9.2-musl.patch b/media-sound/kid3/files/kid3-3.9.2-musl.patch
deleted file mode 100644
index 05eb15536386..000000000000
--- a/media-sound/kid3/files/kid3-3.9.2-musl.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 15655cd3f19b95d5533bdfd52b0f38c51a4fdf88 Mon Sep 17 00:00:00 2001
-From: Bart Ribbers <bribbers@disroot.org>
-Date: Sat, 24 Sep 2022 17:20:06 +0200
-Subject: [PATCH] Fix build on Musl libc
-
-malloc_trim is only implemented on glibc, so rather than checking if the
-OS is Linux and not Android, check if it's Linux and glibc.
----
- src/core/model/kid3application.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/core/model/kid3application.cpp b/src/core/model/kid3application.cpp
-index d40bca83..03409d1b 100644
---- a/src/core/model/kid3application.cpp
-+++ b/src/core/model/kid3application.cpp
-@@ -995,7 +995,7 @@ void Kid3Application::unloadAllTags()
- taggedFile->closeFileHandle();
- }
- }
--#if defined Q_OS_LINUX && !defined Q_OS_ANDROID
-+#if defined Q_OS_LINUX && defined __GLIBC__
- if (::malloc_trim(0)) {
- qDebug("Memory released by malloc_trim()");
- }
---
-GitLab
-
diff --git a/media-sound/kid3/kid3-3.9.2-r1.ebuild b/media-sound/kid3/kid3-3.9.2-r1.ebuild
deleted file mode 100644
index 506b585726a8..000000000000
--- a/media-sound/kid3/kid3-3.9.2-r1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit cmake kde.org python-any-r1 xdg
-
-DESCRIPTION="Simple tag editor based on Qt"
-HOMEPAGE="https://kid3.kde.org/"
-
-if [[ ${KDE_BUILD_TYPE} != live ]]; then
- SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
- KEYWORDS="amd64 x86"
-fi
-
-LICENSE="GPL-2+"
-SLOT="5"
-IUSE="acoustid flac kde mp3 mp4 +mpris +taglib test vorbis"
-
-REQUIRED_USE="flac? ( vorbis )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-qt/qtcore:5
- dev-qt/qtdeclarative:5
- dev-qt/qtgui:5
- dev-qt/qtmultimedia:5
- dev-qt/qtnetwork:5
- dev-qt/qtwidgets:5
- dev-qt/qtxml:5
- sys-libs/readline:=
- acoustid? (
- media-libs/chromaprint:=
- media-video/ffmpeg:=
- )
- flac? (
- media-libs/flac:=[cxx]
- media-libs/libvorbis
- )
- kde? (
- kde-frameworks/kconfig:5
- kde-frameworks/kconfigwidgets:5
- kde-frameworks/kcoreaddons:5
- kde-frameworks/kio:5
- kde-frameworks/kwidgetsaddons:5
- kde-frameworks/kxmlgui:5
- )
- mp3? ( media-libs/id3lib )
- mp4? ( media-libs/libmp4v2 )
- mpris? ( dev-qt/qtdbus:5 )
- taglib? ( >=media-libs/taglib-1.9.1 )
- vorbis? (
- media-libs/libogg
- media-libs/libvorbis
- )
-"
-DEPEND="${RDEPEND}
- test? ( dev-qt/qttest:5 )
-"
-BDEPEND="${PYTHON_DEPS}
- dev-qt/linguist-tools:5
- kde? ( kde-frameworks/extra-cmake-modules:5 )
-"
-
-PATCHES=( "${FILESDIR}/${P}-musl.patch" )
-
-pkg_setup() {
- use test && python-any-r1_pkg_setup
-}
-
-src_prepare() {
- # overengineered upstream build system
- cmake_src_prepare
- # applies broken python hacks, bug #614950
- cmake_comment_add_subdirectory doc
-
- sed -e "/^find_package.*QT NAMES/s/Qt6 //" \
- -i CMakeLists.txt || die # ensure Qt5 build
-}
-
-src_configure() {
- local mycmakeargs=(
- -DPython3_EXECUTABLE="${PYTHON}"
- -DWITH_CHROMAPRINT=$(usex acoustid)
- -DWITH_DBUS=$(usex mpris)
- -DWITH_FLAC=$(usex flac)
- -DWITH_ID3LIB=$(usex mp3)
- -DWITH_MP4V2=$(usex mp4)
- -DWITH_TAGLIB=$(usex taglib)
- -DBUILD_TESTING=$(usex test)
- -DWITH_VORBIS=$(usex vorbis)
- )
-
- if use kde ; then
- mycmakeargs+=( "-DWITH_APPS=KDE;CLI" )
- else
- mycmakeargs+=( "-DWITH_APPS=Qt;CLI" )
- fi
-
- cmake_src_configure
-}
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-02-27 19:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-26 15:36 [gentoo-commits] repo/gentoo:master commit in: media-sound/kid3/files/, media-sound/kid3/ Miroslav Šulc
-- strict thread matches above, loose matches on Subject: below --
2023-02-27 19:29 Andreas Sturmlechner
2022-10-10 16:11 Andreas Sturmlechner
2016-01-19 13:28 Michael Palimaka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox