1 Star 0 Fork 0

Jingling / vvave

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Base On vvave (https://github.com/KDE/vvave)

Building

Build for Android

Use qmake:

# Clone the code
git clone github.com/jingOS-team/jing-media-player
cd jing-media-player
# Create build dir
mkdir build && cd build
# Build
qmake -o Makefile ../vvave.pro
make

Build for Desktop

Use cmake:

# Clone the code
git clone github.com/jingOS-team/jing-media-player
cd jing-media-player
# Create build dir
mkdir build && cd build
# Build
cmake ..
make
sudo make install

Dependencies

If you've built Media Player on some distro, please contribute here!

Ubuntu

sudo apt install kirigami2-dev libkf5syntaxhighlighting-dev extra-cmake-modules libtag1-dev libkf5notifications-dev libqt5websockets5-dev qtdeclarative5-dev qtmultimedia5-dev qtwebengine5-dev qtbase5-dev

For other distros, the buildInputs part of the next section is a good clue for what you need.

Using a nix shell

If you use nix you don't have to get your environment dirty, here are all the dependencies and environment variables you need to load:

with import <nixpkgs> {};

let qtx = qt5; in
stdenv.mkDerivation {
  name = "Media Player";

  buildInputs = [
    appstream
    taglib
    gettext
  ] ++ (with libsForQt5; [
    ki18n
    kconfig
    knotifications
    kservice
    kio
    kirigami2
  ]) ++ (with qtx; [
    qtbase
    qtwebsockets
    qtquickcontrols
    qtquickcontrols2
    qtmultimedia
    qtwebengine
    qtgraphicaleffects
    qtdeclarative
  ]) ++ (with gst_all_1; [
    gst-plugins-base
    gst-plugins-good
    gst-plugins-bad
    gst-plugins-ugly
    gst-libav
  ]);

  shellHook = with qtx; ''
    export QT_QPA_PLATFORM_PLUGIN_PATH="${qtbase}/${qtbase.qtPluginPrefix}/platforms"
    export QT_PLUGIN_PATH="$QT_PLUGIN_PATH:${qtbase.bin}/${qtbase.qtPluginPrefix}"
    export QML2_IMPORT_PATH="$QML2_IMPORT_PATH:${qtquickcontrols2.bin}/${qtbase.qtQmlPrefix}"
    export QML2_IMPORT_PATH="$QML2_IMPORT_PATH:${qtquickcontrols}/${qtbase.qtQmlPrefix}"
    export QML2_IMPORT_PATH="$QML2_IMPORT_PATH:${qtgraphicaleffects}/${qtbase.qtQmlPrefix}"
    export QML2_IMPORT_PATH="$QML2_IMPORT_PATH:${qtdeclarative.bin}/${qtbase.qtQmlPrefix}"
    export QML2_IMPORT_PATH="$QML2_IMPORT_PATH:${libsForQt5.kirigami2}/${qtbase.qtQmlPrefix}"
  '';
}

Troubleshooting

QML complains module X is not installed

Check that all of the following Qt Components are installed:

qtbase qtquickcontrols2 qtquickcontrols qtgraphicaleffects qtdeclarative kirigami2

Next check that module X can be found in $QML2_IMPORT_PATH.

Media Player is built and running but no sound comes out!

Check that you have all the correct gstreamer plugins installed:

gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav

Features

  • Support the scan and display of audio and video files

  • Brand new UI & UE with JingOS-style , based on JingUI Framework

  • Run on JingOS platform

  • Support keyboard & touchpad & mouse & screen touch

Links

空文件

简介

暂无描述 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C++
1
https://gitee.com/jingos/vvave.git
git@gitee.com:jingos/vvave.git
jingos
vvave
vvave
master

搜索帮助