blob: 81eaf4d5237ba094e3136254e5f6dc683b0bd132 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Nbiba bedis <bedisnbiba@gmail.com>
pkgname=fedora-firefox-wayland-bin
pkgver=65.0.2
pkgrel=1
epoch=1
# fedora version
fc="fc29"
pkgdesc="Fedora's firefox build wtih wayland enabled by default"
arch=(x86_64)
license=(MPL GPL LGPL)
url="https://www.mozilla.org/firefox/"
provides=('firefox')
conflicts=('firefox')
options=(!emptydirs !strip)
makedepends=(sed)
depends=(gtk3 mozilla-common libxt startup-notification mime-types dbus-glib
ffmpeg nss hunspell-en_US sqlite ttf-font libpulse libvpx icu libjpeg6-turbo pipewire
libvpx-1.7)
optdepends=('networkmanager: Location detection via available WiFi networks'
'libnotify: Notification integration'
'pulseaudio: Audio support'
'speech-dispatcher: Text-to-Speech')
source=("https://kojipkgs.fedoraproject.org//packages/firefox/$pkgver/$pkgrel.$fc/x86_64/firefox-$pkgver-$pkgrel.$fc.x86_64.rpm")
md5sums=('69e26751ddeb067a64c9e928d48f3c5b')
prepare() {
# remove a bit of fedora's custom sutff
rm -f usr/lib64/firefox/browser/defaults/preferences/firefox-redhat-default-prefs.js
# Enable wayland by default
sed -i '72d;73d;75d;76d;' usr/bin/firefox
}
package() {
rm -rf usr/lib
mv usr/lib64 usr/lib
cp -r usr/ $pkgdir/
}
|