Projects
Eulaceura:Factory
deepin-music
_service:obs_scm:deepin-music.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:deepin-music.spec of Package deepin-music
Name: deepin-music Version: 5.0.1 Release: 6 Summary: Deepin Music Player Summary(zh_CN): 深度音乐播放器 License: GPLv3 Url: https://github.com/linuxdeepin/deepin-music Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz Source1: %{name}.appdata.xml Patch0: modify-QPainterPath-error.patch Patch1: 0001-remove-av_register_all-and-avcodec_register_all-at-f.patch BuildRequires: desktop-file-utils BuildRequires: qt5-linguist BuildRequires: dtkcore2-devel BuildRequires: dtkwidget2-devel BuildRequires: pkgconfig(icu-uc) BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libcue) BuildRequires: pkgconfig(mpris-qt5) BuildRequires: pkgconfig(taglib) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5Sql) BuildRequires: pkgconfig(Qt5Xml) BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: pkgconfig(Qt5Multimedia) BuildRequires: gcc BuildRequires: libappstream-glib BuildRequires: qt5-qtbase-private-devel Requires: hicolor-icon-theme Requires: deepin-desktop-base Requires: gstreamer1-plugins-good Requires: dbus %description Deepin Music Player with brilliant and tweakful UI Deepin-UI based, gstreamer front-end, with features likes search music by pinyin, quanpin, colorful lyrics supports, and more powerful functions you will found. %description -l zh_CN 深度音乐播放器界面基于 Deepin-UI , 后端使用 gstreamer , 其他特性如音乐搜索, 丰富多彩的歌词支持, 更多功能等待您发现. %prep %autosetup -p1 sed -i '/vendor/d' src/src.pro sed -i '/%1/s|lib|%{_lib}|' src/music-player/core/pluginmanager.cpp sed -i '/target.path/s|lib|%{_lib}|' src/libdmusic/libdmusic.pro \ src/plugin/netease-meta-search/netease-meta-search.pro sed -i 's|$$PWD/../vendor/mpris-qt/src|%{_qt5_includedir}/MprisQt/|g' src/music-player/build.pri sed -i 's|$$PWD/../vendor/dbusextended-qt/src|%{_qt5_includedir}/DBusExtended|g' src/music-player/build.pri rm src/vendor -rf %{!?ffmpeg_version: %global ffmpeg_version %(rpm -qa|grep ffmpeg-devel|cut -d '-' -f 3)} %if "%{ffmpeg_version}" < "6.1.1" %patch1 -R -p1 %endif %build export PATH=%{_qt5_bindir}:$PATH %qmake_qt5 PREFIX=%{_prefix} %make_build %install %make_install INSTALL_ROOT=%{buildroot} install -pDm644 %{S:1} %{buildroot}/%{_metainfodir}/%{name}.appdata.xml rm %{buildroot}/%{_datadir}/translations -rf %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/%{name}.appdata.xml %files %doc README.md %license LICENSE %{_bindir}/%{name} %{_libdir}/lib*.so %{_libdir}/lib*.so.* %{_datadir}/%{name} %{_datadir}/%{name}/* %{_datadir}/dman/%{name}/ %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_metainfodir}/%{name}.appdata.xml %changelog * Wed May 08 2024 zhangxianting <zhangxianting@uniontech.com> - 5.0.1-6 - fix build error, because av_register_all is removed at ffmpeg 6.1.1 * Mon Feb 07 2022 liweigang <liweiganga@uniontech.com> - 5.0.1-5 - fix build error * Fri Dec 10 2021 weidong <weidong@uniontech.com> - 5.0.1-4 - Delete dist macro * Tue Aug 03 2021 weidong <weidong@uniontech.com> - 5.0.1-3 - Init package
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2