# Module definitions for building KDE Frameworks 5
# (cmake, KF5's dependencies, KDE Frameworks 5)

# Usage: Write your own kdesrc-buildrc with only a "global" section
# then include this file, like this:
#
# include extragear/utils/kdesrc-build/kf5-qt5-build-include
# (or using a full path)
#
# You can then add additional modules if desired.
#
# This file uses "branch groups" to decide which git branch to use. If you
# need to add your framework or library here please be sure to update
# kde-build-metadata repo's "logical-module-structure". It includes a simple
# tool you can use to validate your change works (or just "kdesrc-build -p
# your-module" and look for the right branch).

# ============================ Dependencies ==========================

# We used to build this module but it hasn't changed in years, install
# from your distribution's -dev packages instead.
#module libdbusmenu-qt
#    # The lp: prefix refers to Canonical's Launchpad repository
#    repository bzr://lp:libdbusmenu-qt
#    cmake-options -DWITH_DOC=NO
#end module

module taglib
    repository https://github.com/taglib/taglib.git
    branch master
    cmake-options -DBUILD_SHARED_LIBS=TRUE
end module

# kdesrc-build itself, and some "kdesupport" modules needed by KF5, workspace or apps.
module-set kf5-build-support
    repository kde-projects
    use-modules kdesrc-build kde-dev-scripts extra-cmake-modules polkit-qt-1 qca
end module-set

module-set phonon
    repository kde-projects
    use-modules phonon phonon-vlc phonon-gstreamer
end module-set

module-set kdesupport
   repository kde-projects
   use-modules kdesupport/plasma-wayland-protocols
end module-set

# ============================= KDE Frameworks ========================

module-set frameworks
    repository kde-projects
    use-modules frameworks

    #tag v5.75.0-rc1
end module-set

module grantlee
    repository https://github.com/steveire/grantlee.git
    branch master
end module

# If you have options to set for frameworks modules, please set them in
# kf5-common-options-build-include instead of here
include kf5-common-options-build-include
