Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Abhängigkeiten bei overlay-ebuild haruna player ändern/ ergä
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3530
Location: Berlin

PostPosted: Tue Jul 30, 2024 6:36 pm    Post subject: Abhängigkeiten bei overlay-ebuild haruna player ändern/ ergä Reply with quote

Hallo, ich würde gern den haruna-player über ebuild installieren. Ich habe den schon mal zur Probe selbst "gebaut"
Code:
cmake -B build -G Ninja
  cmake --build build
Hier (https://gpo.zugaina.org) gibt es ein ebuild, welches ich modifizieren möchte (qt6 statt5 und kde6 statt5). Allerdings kann ich die qt Abhängigkeiten den ebuilds nicht zuordnen.https://gpo.zugaina.org
Code:
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake xdg

MY_P="${PN}-v${PV}"

DESCRIPTION="Video player built with Qt/QML on top of libmpv"
HOMEPAGE="https://invent.kde.org/multimedia/haruna"
SRC_URI="https://invent.kde.org/multimedia/${PN}/-/archive/v${PV}/${MY_P}.tar.gz"

LICENSE="GPL-3"
KEYWORDS="~amd64 ~x86"
SLOT="0"

RDEPEND="dev-qt/qtconcurrent:5 <---
   dev-qt/qtcore:5 <---
   dev-qt/qtdbus:5 <---
   dev-qt/qtdeclarative:5 <---
   dev-qt/qtgui:5 <---
   dev-qt/qtnetwork:5 <---
   dev-qt/qtquickcontrols2:5
   dev-qt/qtwidgets:5 <---
   dev-qt/qtx11extras:5 <---
   dev-qt/qtxml:5 <---
   kde-frameworks/breeze-icons:6
   kde-frameworks/kconfig:6
   kde-frameworks/kcoreaddons:6
   kde-frameworks/kfilemetadata:6
   kde-frameworks/ki18n:6
   kde-frameworks/kiconthemes:6
   kde-frameworks/kio:6
   kde-apps/kio-extras:6
   kde-frameworks/kirigami:6
   kde-frameworks/kxmlgui:6
   kde-frameworks/qqc2-desktop-style:6
   media-video/mpv[libmpv]
   net-misc/yt-dlp"
DEPEND="${RDEPEND}"
BDEPEND="kde-frameworks/extra-cmake-modules
   sys-devel/gettext"

S="${WORKDIR}/${MY_P}"

src_configure() {
   local mycmakeargs=(
      -DKDE_INSTALL_DOCBUNDLEDIR="${EPREFIX}/usr/share/help"
   )
   cmake_src_configure

Code:
cmake -B build -G Ninja
  cmake --build build

-- The following OPTIONAL packages have been found:
Code:
* OpenGL ---> virtual/opengl
 * Qt6DBusTools (required version >= 6.7.2)
 * Qt6QmlTools (required version >= 6.7.2)
 * Qt6CoreTools (required version >= 6.7.2)
 * Qt6WidgetsTools (required version >= 6.7.2)
 * XKB (required version >= 0.5.0), XKB API common to servers and clients., <http://xkbcommon.org>
 * WrapVulkanHeaders ---> dev-util/vulkan-headers-1.3.283.0
 * Qt6GuiTools (required version >= 6.7.2)
 * Qt6QuickTools (required version >= 6.7.2)

-- The following RECOMMENDED packages have been found:
Code:
 * Breeze --->kde-plasma/breeze-6.1.3

-- The following REQUIRED packages have been found:
Code:
 * ECM (required version >= 6.0.0), extra cmake modules, <https://api.kde.org/ecm/>
 * Qt6Core5Compat (required version >= 6.6.0)
 * Qt6QuickControls2 (required version >= 6.6.0)
 * MpvQt ---> media-libs/mpvqt-1.0.0-r1
 * FFmpeg ---> media-video/ffmpeg-6.1.1-r8
 * Qt6DBus (required version >= 6.5.0)
 * Qt6Qml (required version >= 6.5.0)
 * KF6ColorScheme (required version >= 6.0.0), <https://invent.kde.org/frameworks/kcolorscheme>
 * KF6Config (required version >= 6.0.0), <https://api.kde.org/frameworks/kconfig/html/index.html>
 * Qt6Core (required version >= 6.5.0)
 * KF6FileMetaData ---> kde-frameworks/kfilemetadata-6.4.0
 * Gettext ---> sys-devel/gettext-0.22.4
 * KF6I18n ---> kde-frameworks/ki18n-6.4.0
 * KF6IconThemes ---> kde-frameworks/kiconthemes-6.4.0
 * KF6CoreAddons ---> kde-frameworks/kcoreaddons-6.4.0
 * Qt6Gui (required version >= 6.5.0)
 * KF6KIO ---> kde-frameworks/kio-6.4.0-r1
 * Qt6Quick ---> dev-qt/qtquick3d-6.7.2
 * KF6Kirigami ---> kde-frameworks/kirigami-6.4.0
 * KF6WindowSystem ---> kde-frameworks/kwindowsystem-6.4.0-r1
 * MpvQt ---> media-libs/mpvqt-1.0.0-r1

optional
Code:
 * Ytdlp ---> net-misc/yt-dlp

optional (fehlt bei mir)
Code:
The qml plugin 'Kirigamiplugin' is a dependency of 'haruna', but the link
  target it defines (Kirigamiplugin) does not exist in the current scope.
  The plugin will not be linked.
Kann hier jemand helfen?
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3530
Location: Berlin

PostPosted: Thu Aug 01, 2024 7:40 pm    Post subject: Reply with quote

Code:
haruna-1.1.2.ebuild
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake xdg

MY_P="${PN}-v${PV}"

DESCRIPTION="Video player built with Qt/QML on top of libmpv"
HOMEPAGE="https://invent.kde.org/multimedia/haruna"
SRC_URI="https://invent.kde.org/multimedia/${PN}/-/archive/v${PV}/${MY_P}.tar.gz"

LICENSE="GPL-3"
KEYWORDS="~amd64 ~x86"
SLOT="0"

RDEPEND="
                dev-qt/qtbase:6
                dev-qt/qt5compat:6
                dev-qt/qtsvg:6


        kde-frameworks/breeze-icons:6
        kde-frameworks/kconfig:6
        kde-frameworks/kcoreaddons:6
        kde-frameworks/kfilemetadata:6
        kde-frameworks/ki18n:6
        kde-frameworks/kiconthemes:6
        kde-frameworks/kio:6
        kde-apps/kio-extras:6
        kde-frameworks/kirigami:6
        kde-frameworks/kxmlgui:6
        kde-frameworks/qqc2-desktop-style:6
        media-video/mpv[libmpv]
        net-misc/yt-dlp"
DEPEND="${RDEPEND}"
BDEPEND="kde-frameworks/extra-cmake-modules
        sys-devel/gettext"

S="${WORKDIR}/${MY_P}"

src_configure() {
        local mycmakeargs=(
                -DKDE_INSTALL_DOCBUNDLEDIR="${EPREFIX}/usr/share/help"
        )
        cmake_src_configure
}
funktioniert erst einmal. (Haruna ist bei mir der einzige Player unter gentoo kde6 bei dem ich außerhalb der mittels flatpak installierten Player die Tasten Pause/Play an meinem Kopfhörer benutzen kann...)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum