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
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
If you've built Media Player on some distro, please contribute here!
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.
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}"
'';
}
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
.
Check that you have all the correct gstreamer plugins installed:
gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav
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
Home: www.jingos.com
Project page: https://github.com/JingOS-team/jing-media-player
File issues: https://github.com/JingOS-team/jing-media-player/issues
Development channel: www.jingos.com
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。