summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorneeshy2019-08-20 12:04:32 -0400
committerneeshy2019-08-20 12:04:32 -0400
commit1de11e878b248e9ca770848c8d668ce510c1826c (patch)
tree2c10e8d09d2fec5050b46a667a247e952cfcbde2
parentdd3e2bdfff070209f6f0b16218648689a8060894 (diff)
downloadaur-1de11e878b248e9ca770848c8d668ce510c1826c.tar.gz
basilisk: temporary fix for crashes -- build against bundled libraries
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD26
2 files changed, 2 insertions, 39 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 577a0eb3223..ee52e96ebae 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -19,22 +19,7 @@ pkgbase = basilisk
depends = mime-types
depends = alsa-lib
depends = ffmpeg
- depends = libvpx
- depends = libevent
- depends = nspr
- depends = nss
- depends = hunspell
- depends = hyphen
- depends = sqlite
depends = ttf-font
- depends = icu
- depends = libpng
- depends = libjpeg
- depends = bzip2
- depends = zlib
- depends = libffi
- depends = cairo
- depends = pixman
options = !emptydirs
source = https://github.com/MoonchildProductions/UXP/archive/v2019.06.08.tar.gz
source = https://github.com/MoonchildProductions/UXP/commit/9ded0778ee548fd8837bb35bdb5617cae0a791d1.patch
diff --git a/PKGBUILD b/PKGBUILD
index f4eb18aa951..1b1644e3df7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,9 +5,7 @@ pkgdesc="Standalone web browser forked from mozilla.org, UXP version"
arch=('x86_64')
license=('MPL' 'GPL' 'LGPL')
url="https://www.basilisk-browser.org"
-depends=('gtk2' 'libxt' 'mime-types' 'alsa-lib' 'ffmpeg' 'libvpx' 'libevent'
- 'nspr' 'nss' 'hunspell' 'hyphen' 'sqlite' 'ttf-font' 'icu' 'libpng' 'libjpeg'
- 'bzip2' 'zlib' 'libffi' 'cairo' 'pixman')
+depends=('gtk2' 'libxt' 'mime-types' 'alsa-lib' 'ffmpeg' 'ttf-font')
makedepends=('unzip' 'zip' 'gcc8' 'python2' 'yasm' 'mesa' 'autoconf2.13')
options=('!emptydirs')
source=("https://github.com/MoonchildProductions/UXP/archive/v$pkgver.tar.gz"
@@ -60,21 +58,6 @@ ac_add_options --disable-gio
ac_add_options --disable-necko-wifi
ac_add_options --disable-startup-notification
-ac_add_options --with-system-nspr
-ac_add_options --with-system-nss
-ac_add_options --with-system-icu
-ac_add_options --with-system-libevent
-ac_add_options --with-system-bz2
-ac_add_options --with-system-zlib
-ac_add_options --with-system-jpeg
-ac_add_options --with-system-png
-ac_add_options --with-system-libvpx
-ac_add_options --enable-system-ffi
-ac_add_options --enable-system-hunspell
-ac_add_options --enable-system-sqlite
-ac_add_options --enable-system-cairo
-ac_add_options --enable-system-pixman
-
ac_add_options --enable-devtools
ac_add_options --disable-debug
@@ -137,13 +120,8 @@ package() {
-e "s@https://start.palemoon.org@about:newtab@" \
"$pkgdir/usr/share/applications/basilisk.desktop"
- # Use system-provided dictionaries
- local _mozhome="$pkgdir/usr/lib/basilisk-$(< application/basilisk/config/version.txt)"
- rm -rf "$_mozhome/"{dictionaries,hyphenation}
- ln -s /usr/share/hunspell "$_mozhome/dictionaries"
- ln -s /usr/share/hyphen "$_mozhome/hyphenation"
-
# Replace duplicate binary with symlink
# https://bugzilla.mozilla.org/show_bug.cgi?id=658850
+ local _mozhome="$pkgdir/usr/lib/basilisk-$(< application/basilisk/config/version.txt)"
ln -sf basilisk "$_mozhome/basilisk-bin"
}