kasts/README.md
Bart De Vries eb07e67f70 [KMediaSession] Implement dynamic audio backend framework
KMediaSession is an audio player library that has an API which is close
to QMediaPlayer and which allows to use --- and dynamically switch
between --- different audio backends. At this moment there is
implementation for libVLC, gstreamer and QtMultimedia. Only QtMultimedia
is a hard dependency in order to at least have one functional backend on
all platforms; all other dependencies are optional.

KMediaSession has out-of-the-box, built-in MPRIS2 support, sleep inhibit,
and basic metadata support.

BUG: 462358

Closes #35
2023-01-16 15:36:54 +01:00

61 lines
1.9 KiB
Markdown

# Kasts
Kasts is a convergent podcast application.
<a href='https://flathub.org/apps/details/org.kde.kasts'><img width='190px' alt='Download on Flathub' src='https://flathub.org/assets/badges/flathub-badge-i-en.png'/></a>
# Get it
Nightly Android APKs are available at [KDE's Binary Factory](https://binary-factory.kde.org/view/Android/job/Kasts_Nightly_android-arm64/).
# Bug reports
Please don't use GitLab issues for reporting bugs, instead report them [here](https://bugs.kde.org/enter_bug.cgi?format=guided&product=kasts).
# Building
Note: When using versions of Kasts built from git-master, it's possible that the database format or the name of downloaded files change from one version to another without the necessary migrations to handle it. If you notice bugs after upgrading to a git-master version, export your feeds, delete `~/.local/share/KDE/kasts` and import the feeds again.
## Requirements
- KCoreAddons
- KI18n
- KConfig
- Kirigami
- Kirigami-addons
- Syndication
- TagLib
- QtKeychain
- ThreadWeaver
- libVLC (optional, recommended)
- GStreamer (optional)
### On Debian
```
apt install build-essential cmake extra-cmake-modules qtbase5-dev \
qtdeclarative5-dev qtquickcontrols2-5-dev qtmultimedia5-dev libqt5svg5-dev \
kirigami2-dev kirigami-addons-dev libkf5syndication-dev \
libkf5config-dev libkf5i18n-dev libkf5coreaddons-dev libtag1-dev \
qtkeychain-qt5-dev libkf5networkmanagerqt-dev libkf5threadweaver-dev \
libvlc-dev
```
## Linux
```
git clone https://invent.kde.org/plasma-mobile/kasts
cd kasts
mkdir build && cd build
cmake .. -DCMAKE_PREFIX_PATH=/usr
make
sudo make install
```
This assumes all dependencies are installed. If your distribution does not provide
them, you can use [kdesrc-build](https://kdesrc-build.kde.org/) to build all of them.
## Android
You can build Kasts for Android using KDE's [Docker-based build environment](https://community.kde.org/Android/Environment_via_Container).