public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: media-video/mediaelch/
@ 2023-11-20 19:23 Alexander Weber
  0 siblings, 0 replies; 7+ messages in thread
From: Alexander Weber @ 2023-11-20 19:23 UTC (permalink / raw
  To: gentoo-commits

commit:     6e49463c5bc0133ba2825c4ee3346cb61402881e
Author:     Alexander Weber <web.alexander <AT> web <DOT> de>
AuthorDate: Mon Nov 20 19:21:38 2023 +0000
Commit:     Alexander Weber <web.alexander <AT> web <DOT> de>
CommitDate: Mon Nov 20 19:23:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6e49463c

Add media-video/mediaelch ebuilds

Signed-off-by: Alexander Weber <web.alexander <AT> web.de>

 media-video/mediaelch/Manifest                |  1 +
 media-video/mediaelch/mediaelch-2.10.4.ebuild | 49 +++++++++++++++++++++++++++
 media-video/mediaelch/mediaelch-9999.ebuild   | 49 +++++++++++++++++++++++++++
 media-video/mediaelch/metadata.xml            | 11 ++++++
 4 files changed, 110 insertions(+)

diff --git a/media-video/mediaelch/Manifest b/media-video/mediaelch/Manifest
new file mode 100644
index 0000000000..90fa25ce71
--- /dev/null
+++ b/media-video/mediaelch/Manifest
@@ -0,0 +1 @@
+DIST mediaelch-2.10.4.tar.gz 3280636 BLAKE2B 432f24a874f0843232e10909ba08393604acd75e0c49ea0ca660a64a7ec7ea55e8f79f21074bdac64d8e3815370f31978db8de25e79939682818aacad7aaeb76 SHA512 725b03cd179e2c14f94a5744675ac2cc570da1a2fa6818dcd1854542b354eb83f10c5653d92b946308740d7964cb91855f7d57ec314d784c1cbacd96b4c22aeb

diff --git a/media-video/mediaelch/mediaelch-2.10.4.ebuild b/media-video/mediaelch/mediaelch-2.10.4.ebuild
new file mode 100644
index 0000000000..1ecc1e1c10
--- /dev/null
+++ b/media-video/mediaelch/mediaelch-2.10.4.ebuild
@@ -0,0 +1,49 @@
+EAPI=7
+inherit cmake
+
+MY_PN=MediaElch
+S=$WORKDIR/$MY_PN-$PV
+
+DESCRIPTION="Video metadata scraper"
+HOMEPAGE="https://www.mediaelch.de/"
+
+IUSE="debug"
+
+if [[ ${PV} == *9999 ]] ; then
+	EGIT_REPO_URI="https://github.com/Komet/MediaElch"
+	EGIT_BRANCH="master"
+	EGIT_SUBMODULES=()
+	inherit git-r3
+	S="${WORKDIR}/mediaelch-9999"
+else
+	RESTRICT="mirror"
+	SRC_URI="https://github.com/Komet/$MY_PN/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="amd64"
+fi
+
+SLOT="0"
+LICENSE="LGPL-3"
+
+DEPEND="dev-libs/quazip
+	dev-qt/qtconcurrent:5
+	dev-qt/qtmultimedia:5[widgets]
+	dev-qt/qtsql:5
+	dev-qt/qtsvg:5
+	dev-qt/qtxmlpatterns:5
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+	dev-util/cmake
+	media-video/mediainfo
+	media-libs/libzen
+	media-libs/phonon"
+
+src_configure() {
+	local mycmakeargs=("-DUSE_EXTERN_QUAZIP=ON")
+	if use debug; then
+		CMAKE_BUILD_TYPE=Debug
+		mycmakeargs+=("-DSANITIZE_ADDRESS=on")
+		CXXFLAGS+=("-fsanitize=address")
+	fi
+
+	cmake_src_configure
+}

diff --git a/media-video/mediaelch/mediaelch-9999.ebuild b/media-video/mediaelch/mediaelch-9999.ebuild
new file mode 100644
index 0000000000..1ecc1e1c10
--- /dev/null
+++ b/media-video/mediaelch/mediaelch-9999.ebuild
@@ -0,0 +1,49 @@
+EAPI=7
+inherit cmake
+
+MY_PN=MediaElch
+S=$WORKDIR/$MY_PN-$PV
+
+DESCRIPTION="Video metadata scraper"
+HOMEPAGE="https://www.mediaelch.de/"
+
+IUSE="debug"
+
+if [[ ${PV} == *9999 ]] ; then
+	EGIT_REPO_URI="https://github.com/Komet/MediaElch"
+	EGIT_BRANCH="master"
+	EGIT_SUBMODULES=()
+	inherit git-r3
+	S="${WORKDIR}/mediaelch-9999"
+else
+	RESTRICT="mirror"
+	SRC_URI="https://github.com/Komet/$MY_PN/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="amd64"
+fi
+
+SLOT="0"
+LICENSE="LGPL-3"
+
+DEPEND="dev-libs/quazip
+	dev-qt/qtconcurrent:5
+	dev-qt/qtmultimedia:5[widgets]
+	dev-qt/qtsql:5
+	dev-qt/qtsvg:5
+	dev-qt/qtxmlpatterns:5
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+	dev-util/cmake
+	media-video/mediainfo
+	media-libs/libzen
+	media-libs/phonon"
+
+src_configure() {
+	local mycmakeargs=("-DUSE_EXTERN_QUAZIP=ON")
+	if use debug; then
+		CMAKE_BUILD_TYPE=Debug
+		mycmakeargs+=("-DSANITIZE_ADDRESS=on")
+		CXXFLAGS+=("-fsanitize=address")
+	fi
+
+	cmake_src_configure
+}

diff --git a/media-video/mediaelch/metadata.xml b/media-video/mediaelch/metadata.xml
new file mode 100644
index 0000000000..b84629bfde
--- /dev/null
+++ b/media-video/mediaelch/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+	<maintainer type="person">
+		<email>web.alexander@web.de</email>
+		<name>Alexander Weber</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">Komet/MediaElch</remote-id>
+	</upstream>
+</pkgmetadata>


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

* [gentoo-commits] repo/proj/guru:dev commit in: media-video/mediaelch/
@ 2023-11-21  8:45 Alexander Weber
  0 siblings, 0 replies; 7+ messages in thread
From: Alexander Weber @ 2023-11-21  8:45 UTC (permalink / raw
  To: gentoo-commits

commit:     8c3a2a93d6d7a245cbb8445d33065d9115947784
Author:     Alexander Weber <web.alexander <AT> web <DOT> de>
AuthorDate: Tue Nov 21 08:43:02 2023 +0000
Commit:     Alexander Weber <web.alexander <AT> web <DOT> de>
CommitDate: Tue Nov 21 08:43:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8c3a2a93

media-video/mediaelch: fullfil GURU regulations

Signed-off-by: Alexander Weber <web.alexander <AT> web.de>

 media-video/mediaelch/mediaelch-2.10.4.ebuild | 21 ++++++++++++---------
 media-video/mediaelch/mediaelch-9999.ebuild   | 21 ++++++++++++---------
 2 files changed, 24 insertions(+), 18 deletions(-)

diff --git a/media-video/mediaelch/mediaelch-2.10.4.ebuild b/media-video/mediaelch/mediaelch-2.10.4.ebuild
index 1ecc1e1c10..602f874c17 100644
--- a/media-video/mediaelch/mediaelch-2.10.4.ebuild
+++ b/media-video/mediaelch/mediaelch-2.10.4.ebuild
@@ -1,28 +1,31 @@
-EAPI=7
-inherit cmake
+# Copyright 2021-223 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
 
-MY_PN=MediaElch
-S=$WORKDIR/$MY_PN-$PV
+EAPI=8
+
+inherit cmake
 
 DESCRIPTION="Video metadata scraper"
 HOMEPAGE="https://www.mediaelch.de/"
 
-IUSE="debug"
+MY_PN=MediaElch
 
 if [[ ${PV} == *9999 ]] ; then
-	EGIT_REPO_URI="https://github.com/Komet/MediaElch"
+	EGIT_REPO_URI="https://github.com/Komet/$MY_PN"
 	EGIT_BRANCH="master"
 	EGIT_SUBMODULES=()
 	inherit git-r3
-	S="${WORKDIR}/mediaelch-9999"
+	S="${WORKDIR}/${PN}-9999"
 else
 	RESTRICT="mirror"
 	SRC_URI="https://github.com/Komet/$MY_PN/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="amd64"
+	KEYWORDS="~amd64"
+	S=$WORKDIR/${MY_PN}-${PV}
 fi
 
-SLOT="0"
 LICENSE="LGPL-3"
+SLOT="0"
+IUSE="debug"
 
 DEPEND="dev-libs/quazip
 	dev-qt/qtconcurrent:5

diff --git a/media-video/mediaelch/mediaelch-9999.ebuild b/media-video/mediaelch/mediaelch-9999.ebuild
index 1ecc1e1c10..602f874c17 100644
--- a/media-video/mediaelch/mediaelch-9999.ebuild
+++ b/media-video/mediaelch/mediaelch-9999.ebuild
@@ -1,28 +1,31 @@
-EAPI=7
-inherit cmake
+# Copyright 2021-223 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
 
-MY_PN=MediaElch
-S=$WORKDIR/$MY_PN-$PV
+EAPI=8
+
+inherit cmake
 
 DESCRIPTION="Video metadata scraper"
 HOMEPAGE="https://www.mediaelch.de/"
 
-IUSE="debug"
+MY_PN=MediaElch
 
 if [[ ${PV} == *9999 ]] ; then
-	EGIT_REPO_URI="https://github.com/Komet/MediaElch"
+	EGIT_REPO_URI="https://github.com/Komet/$MY_PN"
 	EGIT_BRANCH="master"
 	EGIT_SUBMODULES=()
 	inherit git-r3
-	S="${WORKDIR}/mediaelch-9999"
+	S="${WORKDIR}/${PN}-9999"
 else
 	RESTRICT="mirror"
 	SRC_URI="https://github.com/Komet/$MY_PN/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="amd64"
+	KEYWORDS="~amd64"
+	S=$WORKDIR/${MY_PN}-${PV}
 fi
 
-SLOT="0"
 LICENSE="LGPL-3"
+SLOT="0"
+IUSE="debug"
 
 DEPEND="dev-libs/quazip
 	dev-qt/qtconcurrent:5


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

* [gentoo-commits] repo/proj/guru:dev commit in: media-video/mediaelch/
@ 2023-11-27  7:04 Alexander Weber
  0 siblings, 0 replies; 7+ messages in thread
From: Alexander Weber @ 2023-11-27  7:04 UTC (permalink / raw
  To: gentoo-commits

commit:     08e215fae246a8dc9bf9cff84664d85354e23e5e
Author:     Alexander Weber <web.alexander <AT> web <DOT> de>
AuthorDate: Mon Nov 27 07:02:32 2023 +0000
Commit:     Alexander Weber <web.alexander <AT> web <DOT> de>
CommitDate: Mon Nov 27 07:02:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=08e215fa

media-video/mediaelch: update build dependencies

Signed-off-by: Alexander Weber <web.alexander <AT> web.de>

 media-video/mediaelch/mediaelch-2.10.4.ebuild | 11 ++++++-----
 media-video/mediaelch/mediaelch-9999.ebuild   | 10 ++++++----
 2 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/media-video/mediaelch/mediaelch-2.10.4.ebuild b/media-video/mediaelch/mediaelch-2.10.4.ebuild
index 602f874c17..149fe5dfa7 100644
--- a/media-video/mediaelch/mediaelch-2.10.4.ebuild
+++ b/media-video/mediaelch/mediaelch-2.10.4.ebuild
@@ -29,17 +29,18 @@ IUSE="debug"
 
 DEPEND="dev-libs/quazip
 	dev-qt/qtconcurrent:5
+	dev-qt/qtcore:5
+	dev-qt/qtdeclarative:5
+	dev-qt/qtgui:5
 	dev-qt/qtmultimedia:5[widgets]
+	dev-qt/qtopengl:5
 	dev-qt/qtsql:5
 	dev-qt/qtsvg:5
 	dev-qt/qtxmlpatterns:5
-	dev-qt/qtcore:5
-	dev-qt/qtgui:5
 	dev-util/cmake
-	media-video/mediainfo
 	media-libs/libzen
-	media-libs/phonon"
-
+	media-libs/phonon
+	media-video/mediainfo"
 src_configure() {
 	local mycmakeargs=("-DUSE_EXTERN_QUAZIP=ON")
 	if use debug; then

diff --git a/media-video/mediaelch/mediaelch-9999.ebuild b/media-video/mediaelch/mediaelch-9999.ebuild
index 602f874c17..6f9eabad9c 100644
--- a/media-video/mediaelch/mediaelch-9999.ebuild
+++ b/media-video/mediaelch/mediaelch-9999.ebuild
@@ -29,16 +29,18 @@ IUSE="debug"
 
 DEPEND="dev-libs/quazip
 	dev-qt/qtconcurrent:5
+	dev-qt/qtcore:5
+	dev-qt/qtdeclarative:5
+	dev-qt/qtgui:5
 	dev-qt/qtmultimedia:5[widgets]
+	dev-qt/qtopengl:5
 	dev-qt/qtsql:5
 	dev-qt/qtsvg:5
 	dev-qt/qtxmlpatterns:5
-	dev-qt/qtcore:5
-	dev-qt/qtgui:5
 	dev-util/cmake
-	media-video/mediainfo
 	media-libs/libzen
-	media-libs/phonon"
+	media-libs/phonon
+	media-video/mediainfo"
 
 src_configure() {
 	local mycmakeargs=("-DUSE_EXTERN_QUAZIP=ON")


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

* [gentoo-commits] repo/proj/guru:dev commit in: media-video/mediaelch/
@ 2023-12-03 19:12 Alexander Weber
  0 siblings, 0 replies; 7+ messages in thread
From: Alexander Weber @ 2023-12-03 19:12 UTC (permalink / raw
  To: gentoo-commits

commit:     bf2d5e78ecaa39483580736c1972508f93e478ad
Author:     Alexander Weber <web.alexander <AT> web <DOT> de>
AuthorDate: Sun Dec  3 15:36:46 2023 +0000
Commit:     Alexander Weber <web.alexander <AT> web <DOT> de>
CommitDate: Sun Dec  3 19:11:52 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bf2d5e78

media-video/mediaelch version bump to 2.10.6
(maybe) fix the bug #919039

Signed-off-by: Alexander Weber <web.alexander <AT> web.de>

 media-video/mediaelch/Manifest                                         | 1 +
 media-video/mediaelch/mediaelch-2.10.4.ebuild                          | 3 +++
 .../mediaelch/{mediaelch-9999.ebuild => mediaelch-2.10.6.ebuild}       | 2 ++
 media-video/mediaelch/mediaelch-9999.ebuild                            | 2 ++
 4 files changed, 8 insertions(+)

diff --git a/media-video/mediaelch/Manifest b/media-video/mediaelch/Manifest
index 90fa25ce71..0a080bc957 100644
--- a/media-video/mediaelch/Manifest
+++ b/media-video/mediaelch/Manifest
@@ -1 +1,2 @@
 DIST mediaelch-2.10.4.tar.gz 3280636 BLAKE2B 432f24a874f0843232e10909ba08393604acd75e0c49ea0ca660a64a7ec7ea55e8f79f21074bdac64d8e3815370f31978db8de25e79939682818aacad7aaeb76 SHA512 725b03cd179e2c14f94a5744675ac2cc570da1a2fa6818dcd1854542b354eb83f10c5653d92b946308740d7964cb91855f7d57ec314d784c1cbacd96b4c22aeb
+DIST mediaelch-2.10.6.tar.gz 3300733 BLAKE2B f0db7f9c8bd4b88664180024ed9e64c56218c8c975c6f35c1031434958f0ddf0654116e463d5f3d927087a42a06279dd0d77de3220ef6d9460db9f277efc6fe5 SHA512 c8d83396b31b95388a19c30d9e7fe657ce125a87cd362da5eb7b97edefcf7b25dde5a6f3e1d527225847404b386c38739c525079b3c754da8ccbead38eb99d0d

diff --git a/media-video/mediaelch/mediaelch-2.10.4.ebuild b/media-video/mediaelch/mediaelch-2.10.4.ebuild
index 149fe5dfa7..2fd803ff06 100644
--- a/media-video/mediaelch/mediaelch-2.10.4.ebuild
+++ b/media-video/mediaelch/mediaelch-2.10.4.ebuild
@@ -41,6 +41,7 @@ DEPEND="dev-libs/quazip
 	media-libs/libzen
 	media-libs/phonon
 	media-video/mediainfo"
+
 src_configure() {
 	local mycmakeargs=("-DUSE_EXTERN_QUAZIP=ON")
 	if use debug; then
@@ -48,6 +49,8 @@ src_configure() {
 		mycmakeargs+=("-DSANITIZE_ADDRESS=on")
 		CXXFLAGS+=("-fsanitize=address")
 	fi
+	mycmakeargs+=("-DCMAKE_C_FLAGS=${CFLAGS}")
+	mycmakeargs+=("-DCMAKE_CXX_FLAGS=${CXXFLAGS}")
 
 	cmake_src_configure
 }

diff --git a/media-video/mediaelch/mediaelch-9999.ebuild b/media-video/mediaelch/mediaelch-2.10.6.ebuild
similarity index 92%
copy from media-video/mediaelch/mediaelch-9999.ebuild
copy to media-video/mediaelch/mediaelch-2.10.6.ebuild
index 6f9eabad9c..2fd803ff06 100644
--- a/media-video/mediaelch/mediaelch-9999.ebuild
+++ b/media-video/mediaelch/mediaelch-2.10.6.ebuild
@@ -49,6 +49,8 @@ src_configure() {
 		mycmakeargs+=("-DSANITIZE_ADDRESS=on")
 		CXXFLAGS+=("-fsanitize=address")
 	fi
+	mycmakeargs+=("-DCMAKE_C_FLAGS=${CFLAGS}")
+	mycmakeargs+=("-DCMAKE_CXX_FLAGS=${CXXFLAGS}")
 
 	cmake_src_configure
 }

diff --git a/media-video/mediaelch/mediaelch-9999.ebuild b/media-video/mediaelch/mediaelch-9999.ebuild
index 6f9eabad9c..2fd803ff06 100644
--- a/media-video/mediaelch/mediaelch-9999.ebuild
+++ b/media-video/mediaelch/mediaelch-9999.ebuild
@@ -49,6 +49,8 @@ src_configure() {
 		mycmakeargs+=("-DSANITIZE_ADDRESS=on")
 		CXXFLAGS+=("-fsanitize=address")
 	fi
+	mycmakeargs+=("-DCMAKE_C_FLAGS=${CFLAGS}")
+	mycmakeargs+=("-DCMAKE_CXX_FLAGS=${CXXFLAGS}")
 
 	cmake_src_configure
 }


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

* [gentoo-commits] repo/proj/guru:dev commit in: media-video/mediaelch/
@ 2023-12-03 19:12 Alexander Weber
  0 siblings, 0 replies; 7+ messages in thread
From: Alexander Weber @ 2023-12-03 19:12 UTC (permalink / raw
  To: gentoo-commits

commit:     115f0298d12a1c816fe646bdb33d315eee9196ff
Author:     Alexander Weber <web.alexander <AT> web <DOT> de>
AuthorDate: Sun Dec  3 19:10:43 2023 +0000
Commit:     Alexander Weber <web.alexander <AT> web <DOT> de>
CommitDate: Sun Dec  3 19:11:52 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=115f0298

media-video/mediaelch: add support for qt6 and lto
add additional ebuild improvements

Signed-off-by: Alexander Weber <web.alexander <AT> web.de>

 media-video/mediaelch/mediaelch-2.10.6.ebuild | 50 +++++++++++++++++++--------
 media-video/mediaelch/mediaelch-9999.ebuild   | 50 +++++++++++++++++++--------
 media-video/mediaelch/metadata.xml            |  3 ++
 3 files changed, 73 insertions(+), 30 deletions(-)

diff --git a/media-video/mediaelch/mediaelch-2.10.6.ebuild b/media-video/mediaelch/mediaelch-2.10.6.ebuild
index 2fd803ff06..43f4bc3089 100644
--- a/media-video/mediaelch/mediaelch-2.10.6.ebuild
+++ b/media-video/mediaelch/mediaelch-2.10.6.ebuild
@@ -25,32 +25,52 @@ fi
 
 LICENSE="LGPL-3"
 SLOT="0"
-IUSE="debug"
-
-DEPEND="dev-libs/quazip
-	dev-qt/qtconcurrent:5
-	dev-qt/qtcore:5
-	dev-qt/qtdeclarative:5
-	dev-qt/qtgui:5
-	dev-qt/qtmultimedia:5[widgets]
-	dev-qt/qtopengl:5
-	dev-qt/qtsql:5
-	dev-qt/qtsvg:5
-	dev-qt/qtxmlpatterns:5
+IUSE="debug qt5 +qt6 lto"
+REQUIRED_USE="|| ( qt5 qt6 )"
+
+DEPEND=">dev-libs/quazip-1.3[qt5?,qt6]
+	qt5? (
+		dev-qt/qtconcurrent:5
+		dev-qt/qtcore:5
+		dev-qt/qtdeclarative:5
+		dev-qt/qtgui:5
+		dev-qt/qtmultimedia:5[widgets]
+		dev-qt/qtopengl:5
+		dev-qt/qtsql:5
+		dev-qt/qtsvg:5
+		dev-qt/qtxmlpatterns:5
+	)
+	qt6? (
+		dev-qt/qt5compat:6
+		dev-qt/qtbase:6
+		dev-qt/qtdeclarative:6
+		dev-qt/qtmultimedia:6
+		dev-qt/qtsvg:6
+		dev-qt/qttools:6
+	)
 	dev-util/cmake
-	media-libs/libzen
-	media-libs/phonon
+	media-video/ffmpeg
 	media-video/mediainfo"
 
 src_configure() {
-	local mycmakeargs=("-DUSE_EXTERN_QUAZIP=ON")
+	local mycmakeargs=(
+		"-DUSE_EXTERN_QUAZIP=ON"
+		"-DDISABLE_UPDATER=ON"
+	)
+
 	if use debug; then
 		CMAKE_BUILD_TYPE=Debug
 		mycmakeargs+=("-DSANITIZE_ADDRESS=on")
 		CXXFLAGS+=("-fsanitize=address")
 	fi
+
 	mycmakeargs+=("-DCMAKE_C_FLAGS=${CFLAGS}")
 	mycmakeargs+=("-DCMAKE_CXX_FLAGS=${CXXFLAGS}")
 
+	use qt5 && mycmakeargs+=("-DMEDIAELCH_FORCE_QT5=ON")
+	use qt6 && mycmakeargs+=("-DMEDIAELCH_FORCE_QT6=ON")
+
+	use lto && mycmakeargs+=("-DENABLE_LTO=ON")
+
 	cmake_src_configure
 }

diff --git a/media-video/mediaelch/mediaelch-9999.ebuild b/media-video/mediaelch/mediaelch-9999.ebuild
index 2fd803ff06..7adf067776 100644
--- a/media-video/mediaelch/mediaelch-9999.ebuild
+++ b/media-video/mediaelch/mediaelch-9999.ebuild
@@ -25,32 +25,52 @@ fi
 
 LICENSE="LGPL-3"
 SLOT="0"
-IUSE="debug"
-
-DEPEND="dev-libs/quazip
-	dev-qt/qtconcurrent:5
-	dev-qt/qtcore:5
-	dev-qt/qtdeclarative:5
-	dev-qt/qtgui:5
-	dev-qt/qtmultimedia:5[widgets]
-	dev-qt/qtopengl:5
-	dev-qt/qtsql:5
-	dev-qt/qtsvg:5
-	dev-qt/qtxmlpatterns:5
+IUSE="debug qt5 +qt6 lto"
+REQUIRED_USE="|| ( qt5 qt6 )"
+
+DEPEND=">dev-libs/quazip-1.2[qt5?,qt6]
+	qt5? (
+		dev-qt/qtconcurrent:5
+		dev-qt/qtcore:5
+		dev-qt/qtdeclarative:5
+		dev-qt/qtgui:5
+		dev-qt/qtmultimedia:5[widgets]
+		dev-qt/qtopengl:5
+		dev-qt/qtsql:5
+		dev-qt/qtsvg:5
+		dev-qt/qtxmlpatterns:5
+	)
+	qt6? (
+		dev-qt/qt5compat:6
+		dev-qt/qtbase:6
+		dev-qt/qtdeclarative:6
+		dev-qt/qtmultimedia:6
+		dev-qt/qtsvg:6
+		dev-qt/qttools:6
+	)
 	dev-util/cmake
-	media-libs/libzen
-	media-libs/phonon
+	media-video/ffmpeg
 	media-video/mediainfo"
 
 src_configure() {
-	local mycmakeargs=("-DUSE_EXTERN_QUAZIP=ON")
+	local mycmakeargs=(
+		"-DUSE_EXTERN_QUAZIP=ON"
+		"-DDISABLE_UPDATER=ON"
+	)
+
 	if use debug; then
 		CMAKE_BUILD_TYPE=Debug
 		mycmakeargs+=("-DSANITIZE_ADDRESS=on")
 		CXXFLAGS+=("-fsanitize=address")
 	fi
+
 	mycmakeargs+=("-DCMAKE_C_FLAGS=${CFLAGS}")
 	mycmakeargs+=("-DCMAKE_CXX_FLAGS=${CXXFLAGS}")
 
+	use qt5 && mycmakeargs+=("-DMEDIAELCH_FORCE_QT5=ON")
+	use qt6 && mycmakeargs+=("-DMEDIAELCH_FORCE_QT6=ON")
+
+	use lto && mycmakeargs+=("-DENABLE_LTO=ON")
+
 	cmake_src_configure
 }

diff --git a/media-video/mediaelch/metadata.xml b/media-video/mediaelch/metadata.xml
index b84629bfde..7f3ce81029 100644
--- a/media-video/mediaelch/metadata.xml
+++ b/media-video/mediaelch/metadata.xml
@@ -5,6 +5,9 @@
 		<email>web.alexander@web.de</email>
 		<name>Alexander Weber</name>
 	</maintainer>
+	<use>
+		<flag name="lto">Enable link-time-optimization. Increases link time.</flag>
+	</use>
 	<upstream>
 		<remote-id type="github">Komet/MediaElch</remote-id>
 	</upstream>


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

* [gentoo-commits] repo/proj/guru:dev commit in: media-video/mediaelch/
@ 2023-12-04 10:07 Alexander Weber
  0 siblings, 0 replies; 7+ messages in thread
From: Alexander Weber @ 2023-12-04 10:07 UTC (permalink / raw
  To: gentoo-commits

commit:     477ed168538faeac0d69f9b0ba6969a5df54c9c7
Author:     Alexander Weber <web.alexander <AT> web <DOT> de>
AuthorDate: Mon Dec  4 10:05:35 2023 +0000
Commit:     Alexander Weber <web.alexander <AT> web <DOT> de>
CommitDate: Mon Dec  4 10:06:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=477ed168

media-video/mediaelch: adjust qt6 dependencies

Signed-off-by: Alexander Weber <web.alexander <AT> web.de>

 media-video/mediaelch/mediaelch-2.10.6.ebuild | 2 +-
 media-video/mediaelch/mediaelch-9999.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-video/mediaelch/mediaelch-2.10.6.ebuild b/media-video/mediaelch/mediaelch-2.10.6.ebuild
index 43f4bc3089..af7a027648 100644
--- a/media-video/mediaelch/mediaelch-2.10.6.ebuild
+++ b/media-video/mediaelch/mediaelch-2.10.6.ebuild
@@ -42,7 +42,7 @@ DEPEND=">dev-libs/quazip-1.3[qt5?,qt6]
 	)
 	qt6? (
 		dev-qt/qt5compat:6
-		dev-qt/qtbase:6
+		dev-qt/qtbase:6[concurrent,gui,opengl,sql,widgets,xml]
 		dev-qt/qtdeclarative:6
 		dev-qt/qtmultimedia:6
 		dev-qt/qtsvg:6

diff --git a/media-video/mediaelch/mediaelch-9999.ebuild b/media-video/mediaelch/mediaelch-9999.ebuild
index 7adf067776..5dc498335d 100644
--- a/media-video/mediaelch/mediaelch-9999.ebuild
+++ b/media-video/mediaelch/mediaelch-9999.ebuild
@@ -42,7 +42,7 @@ DEPEND=">dev-libs/quazip-1.2[qt5?,qt6]
 	)
 	qt6? (
 		dev-qt/qt5compat:6
-		dev-qt/qtbase:6
+		dev-qt/qtbase:6[concurrent,gui,opengl,sql,widgets,xml]
 		dev-qt/qtdeclarative:6
 		dev-qt/qtmultimedia:6
 		dev-qt/qtsvg:6


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

* [gentoo-commits] repo/proj/guru:dev commit in: media-video/mediaelch/
@ 2024-10-25 18:03 Alexander Weber
  0 siblings, 0 replies; 7+ messages in thread
From: Alexander Weber @ 2024-10-25 18:03 UTC (permalink / raw
  To: gentoo-commits

commit:     878aa28d7828d9f34d90043e98aa85ab0843c1e4
Author:     Alexander Weber <web.alexander <AT> web <DOT> de>
AuthorDate: Fri Oct 25 18:01:46 2024 +0000
Commit:     Alexander Weber <web.alexander <AT> web <DOT> de>
CommitDate: Fri Oct 25 18:02:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=878aa28d

media-video/mediaelch: Version bump to 2.12.0

Signed-off-by: Alexander Weber <web.alexander <AT> web.de>

 media-video/mediaelch/Manifest                     |  2 +-
 ...aelch-2.10.4.ebuild => mediaelch-2.12.0.ebuild} | 55 +++++++++++++++-------
 media-video/mediaelch/mediaelch-9999.ebuild        |  7 ++-
 3 files changed, 45 insertions(+), 19 deletions(-)

diff --git a/media-video/mediaelch/Manifest b/media-video/mediaelch/Manifest
index 0a080bc95..dde9129ca 100644
--- a/media-video/mediaelch/Manifest
+++ b/media-video/mediaelch/Manifest
@@ -1,2 +1,2 @@
-DIST mediaelch-2.10.4.tar.gz 3280636 BLAKE2B 432f24a874f0843232e10909ba08393604acd75e0c49ea0ca660a64a7ec7ea55e8f79f21074bdac64d8e3815370f31978db8de25e79939682818aacad7aaeb76 SHA512 725b03cd179e2c14f94a5744675ac2cc570da1a2fa6818dcd1854542b354eb83f10c5653d92b946308740d7964cb91855f7d57ec314d784c1cbacd96b4c22aeb
 DIST mediaelch-2.10.6.tar.gz 3300733 BLAKE2B f0db7f9c8bd4b88664180024ed9e64c56218c8c975c6f35c1031434958f0ddf0654116e463d5f3d927087a42a06279dd0d77de3220ef6d9460db9f277efc6fe5 SHA512 c8d83396b31b95388a19c30d9e7fe657ce125a87cd362da5eb7b97edefcf7b25dde5a6f3e1d527225847404b386c38739c525079b3c754da8ccbead38eb99d0d
+DIST mediaelch-2.12.0.tar.gz 3365121 BLAKE2B 6847290c64eeba74cdf2d60e8cc2ccb0c819bdee11aaaf7477a914f5ca1526dd303be50593191b77d6130bbe3b0f07d54c9f4c5d9e848628574bcfc9fb850af1 SHA512 b347c313a12e325abe8c5e67cffc53a91fdb87236fb0dca9c8fc4bdd01db3e0028c694ce2766314e38e73df138e2078dd54191593d6c0519f2f719f65c3dda69

diff --git a/media-video/mediaelch/mediaelch-2.10.4.ebuild b/media-video/mediaelch/mediaelch-2.12.0.ebuild
similarity index 50%
rename from media-video/mediaelch/mediaelch-2.10.4.ebuild
rename to media-video/mediaelch/mediaelch-2.12.0.ebuild
index 4f5950e83..c7424e300 100644
--- a/media-video/mediaelch/mediaelch-2.10.4.ebuild
+++ b/media-video/mediaelch/mediaelch-2.12.0.ebuild
@@ -25,31 +25,54 @@ fi
 
 LICENSE="LGPL-3"
 SLOT="0"
-IUSE="debug"
-
-DEPEND="dev-libs/quazip
-	dev-qt/qtconcurrent:5
-	dev-qt/qtcore:5
-	dev-qt/qtdeclarative:5
-	dev-qt/qtgui:5
-	dev-qt/qtmultimedia:5[widgets]
-	dev-qt/qtopengl:5
-	dev-qt/qtsql:5
-	dev-qt/qtsvg:5
-	dev-qt/qtxmlpatterns:5
-	media-libs/libzen
-	media-libs/phonon
-	media-video/mediainfo"
+IUSE="debug qt5 +qt6 lto"
+REQUIRED_USE="|| ( qt5 qt6 )"
+
+DEPEND=">dev-libs/quazip-1.3[qt5?,qt6]
+	qt5? (
+		dev-qt/qtconcurrent:5
+		dev-qt/qtcore:5
+		dev-qt/qtdeclarative:5
+		dev-qt/qtgui:5
+		dev-qt/qtmultimedia:5[widgets]
+		dev-qt/qtopengl:5
+		dev-qt/qtsql:5
+		dev-qt/qtsvg:5
+		dev-qt/qtxmlpatterns:5
+	)
+	qt6? (
+		dev-qt/qt5compat:6
+		dev-qt/qtbase:6[concurrent,gui,opengl,sql,widgets,xml]
+		dev-qt/qtdeclarative:6
+		dev-qt/qtmultimedia:6
+		dev-qt/qtsvg:6
+		dev-qt/qttools:6
+	)
+	media-video/ffmpeg
+	media-video/mediainfo
+	x11-libs/libxkbcommon"
+
+RDEPEND="$DEPEND"
 
 src_configure() {
-	local mycmakeargs=("-DUSE_EXTERN_QUAZIP=ON")
+	local mycmakeargs=(
+		"-DUSE_EXTERN_QUAZIP=ON"
+		"-DDISABLE_UPDATER=ON"
+	)
+
 	if use debug; then
 		CMAKE_BUILD_TYPE=Debug
 		mycmakeargs+=("-DSANITIZE_ADDRESS=on")
 		CXXFLAGS+=("-fsanitize=address")
 	fi
+
 	mycmakeargs+=("-DCMAKE_C_FLAGS=${CFLAGS}")
 	mycmakeargs+=("-DCMAKE_CXX_FLAGS=${CXXFLAGS}")
 
+	use qt5 && mycmakeargs+=("-DMEDIAELCH_FORCE_QT5=ON")
+	use qt6 && mycmakeargs+=("-DMEDIAELCH_FORCE_QT6=ON")
+
+	use lto && mycmakeargs+=("-DENABLE_LTO=ON")
+
 	cmake_src_configure
 }

diff --git a/media-video/mediaelch/mediaelch-9999.ebuild b/media-video/mediaelch/mediaelch-9999.ebuild
index bf339f577..c7424e300 100644
--- a/media-video/mediaelch/mediaelch-9999.ebuild
+++ b/media-video/mediaelch/mediaelch-9999.ebuild
@@ -28,7 +28,7 @@ SLOT="0"
 IUSE="debug qt5 +qt6 lto"
 REQUIRED_USE="|| ( qt5 qt6 )"
 
-DEPEND=">dev-libs/quazip-1.2[qt5?,qt6]
+DEPEND=">dev-libs/quazip-1.3[qt5?,qt6]
 	qt5? (
 		dev-qt/qtconcurrent:5
 		dev-qt/qtcore:5
@@ -49,7 +49,10 @@ DEPEND=">dev-libs/quazip-1.2[qt5?,qt6]
 		dev-qt/qttools:6
 	)
 	media-video/ffmpeg
-	media-video/mediainfo"
+	media-video/mediainfo
+	x11-libs/libxkbcommon"
+
+RDEPEND="$DEPEND"
 
 src_configure() {
 	local mycmakeargs=(


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

end of thread, other threads:[~2024-10-25 18:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-03 19:12 [gentoo-commits] repo/proj/guru:dev commit in: media-video/mediaelch/ Alexander Weber
  -- strict thread matches above, loose matches on Subject: below --
2024-10-25 18:03 Alexander Weber
2023-12-04 10:07 Alexander Weber
2023-12-03 19:12 Alexander Weber
2023-11-27  7:04 Alexander Weber
2023-11-21  8:45 Alexander Weber
2023-11-20 19:23 Alexander Weber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox