feat: Use system Deno to avoid makepkg stripping the Deno-compiled protocol binary
This commit was merged in pull request #2.
This commit is contained in:
1 parent
9e3831a8cf
commit
f71f7e1585
2 files changed
+9
-3
No files matched your search
@@ -1,7 +1,7 @@
|
||||
pkgbase = line-gtk
|
||||
pkgdesc = Unofficial native LINE client for Linux. GTK4 / Libadwaita UI with a Deno protocol sidecar (linejs) - Prebuilt binary
|
||||
pkgver = 0.1.2
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://github.com/MidnightTale/Line-GTK
|
||||
arch = x86_64
|
||||
license = GPL-3.0-or-later
|
||||
@@ -9,6 +9,7 @@ pkgbase = line-gtk
|
||||
depends = libadwaita
|
||||
depends = ffmpeg
|
||||
depends = hicolor-icon-theme
|
||||
depends = deno
|
||||
optdepends = poppler: PDF preview in media viewer
|
||||
optdepends = gst-plugins-good: extra video playback codecs
|
||||
optdepends = gst-libav: extra video playback codecs
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
|
||||
pkgname="line-gtk"
|
||||
pkgver=0.1.2
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Unofficial native LINE client for Linux. GTK4 / Libadwaita UI with a Deno protocol sidecar (linejs) - Prebuilt binary"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/MidnightTale/Line-GTK"
|
||||
license=('GPL-3.0-or-later')
|
||||
depends=('gtk4' 'libadwaita' 'ffmpeg' 'hicolor-icon-theme')
|
||||
depends=('gtk4' 'libadwaita' 'ffmpeg' 'hicolor-icon-theme' 'deno')
|
||||
optdepends=(
|
||||
'poppler: PDF preview in media viewer'
|
||||
'gst-plugins-good: extra video playback codecs'
|
||||
@@ -28,6 +28,11 @@ package() {
|
||||
cp -a protocol "${pkgdir}/usr/share/${pkgname}/protocol"
|
||||
cp -a assets "${pkgdir}/usr/share/${pkgname}/assets"
|
||||
|
||||
# Use system Deno to avoid makepkg stripping the Deno-compiled protocol binary
|
||||
rm -f "${pkgdir}/usr/share/${pkgname}/protocol/line-gtk-protocol"
|
||||
rm -rf "${pkgdir}/usr/share/${pkgname}/protocol/node_modules" \
|
||||
"${pkgdir}/usr/share/${pkgname}/protocol/.deno" 2>/dev/null || true
|
||||
|
||||
install -Dm644 "dev.linegtk.LineGtk.desktop" "${pkgdir}/usr/share/applications/dev.linegtk.LineGtk.desktop"
|
||||
|
||||
for size in 48x48 64x64 128x128 256x256; do
|
||||
|
||||
Reference in new issue
Block a user