This repository was archived by the owner on May 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +59
-0
lines changed
Expand file tree Collapse file tree 2 files changed +59
-0
lines changed Original file line number Diff line number Diff line change 1+ # Maintainer: Felix Yan <felixonmars@archlinux.org>
2+ # Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
3+ # Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
4+
5+ pkgname=deepin-music
6+ pkgver=6.1.7
7+ pkgrel=3
8+ pkgdesc=' Awesome music player with brilliant and tweakful UI Deepin-UI based.'
9+ arch=(' x86_64' )
10+ url=" https://github.com/linuxdeepin/deepin-music"
11+ license=(' GPL3' )
12+ depends=(' deepin-qt5integration' ' ffmpeg' ' kcodecs' ' libcue' ' qt5-svg' ' qtdbusextended' ' qtmpris'
13+ ' taglib' ' udisks2-qt5' ' vlc' )
14+ makedepends=(' cmake' ' ninja' ' qt5-tools' )
15+ groups=(' deepin-extra' )
16+ options=(' !lto' )
17+ source=(" https://github.com/linuxdeepin/deepin-music/archive/$pkgver /$pkgname -$pkgver .tar.gz"
18+ fix-build-on-x86_64-add-fPIC-option.patch)
19+ sha512sums=(' f5a0c70e24ec05c1a5e2cde4d98707b21e093825f2584f7395db3dfdab0326d2904aa595f15ad186cda505cc816a89017e15a75533343e957039a81bac6d8def'
20+ ' fd04580c943868769d3ba93bbccdff5893052821c067e217df8bd009d6891c475bffba82d66e66112ebee3b83f0de956b0aef1ccafe6680b82ba4ad724a650b3' )
21+
22+ prepare () {
23+ cd deepin-music-$pkgver
24+ # https://github.com/linuxdeepin/deepin-music/pull/118
25+ patch -Np1 -i ../fix-build-on-x86_64-add-fPIC-option.patch
26+ }
27+
28+ build () {
29+ cd deepin-music-$pkgver
30+ cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr .
31+ ninja
32+ }
33+
34+ package () {
35+ cd deepin-music-$pkgver
36+ DESTDIR=" $pkgdir " ninja install
37+ }
Original file line number Diff line number Diff line change 1+ From 236a03dcddbd21b276818c4016991ca137e7a330 Mon Sep 17 00:00:00 2001
2+ From: hillwoodroc <hillwoodroc@gmail.com>
3+ Date: Mon, 21 Feb 2022 16:49:55 +0800
4+ Subject: [PATCH] Fix build on x86_64: add fPIC option
5+
6+ ---
7+ CMakeLists.txt | 2 ++
8+ 1 file changed, 2 insertions(+)
9+
10+ diff --git a/CMakeLists.txt b/CMakeLists.txt
11+ index 86970347..2c4dca9c 100644
12+ --- a/CMakeLists.txt
13+ +++ b/CMakeLists.txt
14+ @@ -9,6 +9,8 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
15+ set(CMAKE_AUTOMOC ON)
16+ set(CMAKE_AUTORCC ON)
17+ set(CMAKE_AUTOUIC ON)
18+ + set(CMAKE_C_FLAGS "-fPIC")
19+ + set(CMAKE_CXX_FLAGS "-fPIC")
20+
21+ option(USE_DXCB "integration with dxcb platform plugin" OFF)
22+ option(DMR_DEBUG "turn on debug output" off)
You can’t perform that action at this time.
0 commit comments