Skip to content

Commit 213dfd6

Browse files
musicpod: Fix build error, modify dependencies
Using the option --no-pub with flutter build can lead to build failure. Signed-off-by: Dee HY <dongfengweixiao@hotmail.com>
1 parent 9bd5bc7 commit 213dfd6

1 file changed

Lines changed: 9 additions & 11 deletions

File tree

archlinuxcn/musicpod/PKGBUILD

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,15 @@ url="https://github.com/ubuntu-flutter-community/musicpod"
1515
license=('GPL-3.0-or-later')
1616
arch=('x86_64' 'aarch64')
1717
depends=(
18-
'glibc'
19-
'glib2'
20-
'mpv'
21-
'cairo'
22-
'gdk-pixbuf2'
23-
'pango'
24-
'libepoxy'
25-
'fontconfig'
26-
'at-spi2-core'
2718
'gtk3'
28-
'gcc-libs'
2919
'alsa-lib'
3020
'libnotify'
21+
'libarchive'
22+
'libxss'
23+
'libxv'
24+
'libpulse'
25+
'libvdpau'
26+
'libva'
3127
)
3228
makedepends=(
3329
'clang'
@@ -51,14 +47,16 @@ sha256sums=('ed4ef5567322de535a8b194126d0ddee7bbd422018df50c1f997bc356071581c')
5147

5248
build() {
5349
export FVM_CACHE_PATH="$SRCDEST/fvm-cache"
50+
export LDFLAGS="-Wl,-z,relro,-z,now"
51+
export LINKFLAGS="$LDFLAGS"
5452

5553
cd "$_pkgsrc"
5654
fvm install
5755

5856
fvm flutter --disable-analytics
5957
#fvm flutter pub upgrade --major-versions
6058
fvm flutter --no-version-check pub get
61-
fvm flutter clean && fvm flutter build linux --no-pub --release
59+
fvm flutter clean && fvm flutter build linux --release
6260
}
6361

6462
package() {

0 commit comments

Comments
 (0)