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