Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit b635822

Browse files
committed
archrelease: copy trunk to community-staging-x86_64
git-svn-id: file:///srv/repos/svn-community/svn@1186424 9fca08f4-af9d-4005-b8df-a31f2cc04f65
1 parent 88fedc6 commit b635822

File tree

2 files changed

+59
-0
lines changed

2 files changed

+59
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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)

0 commit comments

Comments
 (0)