summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Santini2018-08-11 14:39:10 +0200
committerGiovanni Santini2018-08-11 14:39:10 +0200
commitcc73577a1d4095110f5cdfddb22be0ac40e5c2c1 (patch)
tree364cf9deb8ddde7bc5cb1b3e810793699a2d5055
downloadaur-cc73577a1d4095110f5cdfddb22be0ac40e5c2c1.tar.gz
upgpkg: epiphany-mse 3.28.3.1-1
- Initial release.
-rw-r--r--.SRCINFO32
-rw-r--r--PKGBUILD45
-rw-r--r--enable_mse.patch26
3 files changed, 103 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9a42fcc3e9c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,32 @@
+pkgbase = epiphany-mse
+ pkgdesc = A GNOME web browser based on the WebKit rendering engine
+ pkgver = 3.28.3.1
+ pkgrel = 1
+ url = https://wiki.gnome.org/Apps/Web
+ arch = i686
+ arch = x86_64
+ groups = gnome
+ license = GPL
+ makedepends = itstool
+ makedepends = docbook-xml
+ makedepends = startup-notification
+ makedepends = lsb-release
+ makedepends = gobject-introspection
+ makedepends = yelp-tools
+ makedepends = appstream-glib
+ makedepends = git
+ makedepends = meson
+ depends = webkit2gtk
+ depends = gcr
+ depends = icu
+ provides = epiphany
+ conflicts = epiphany
+ source = epiphany-mse::git+https://gitlab.gnome.org/GNOME/epiphany.git#commit=a5a9a7e2904e2206b3cc863ab13748255247e3eb
+ source = pluginsdir.diff::https://git.archlinux.org/svntogit/packages.git/plain/repos/extra-x86_64/pluginsdir.diff?h=packages/epiphany&id=83efda
+ source = enable_mse.patch
+ sha256sums = SKIP
+ sha256sums = b6c8ee6ace934c053f2fd89758e0b587cb8953c6b0246c1359aecaae4de70289
+ sha256sums = e7eb909859f4fa5ac56fe57a927dbb213a05af8fee271ab2f735a90456d65924
+
+pkgname = epiphany-mse
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b2cc95b8fae
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=epiphany-mse
+_pkgname=epiphany
+pkgver=3.28.3.1
+pkgrel=1
+pkgdesc="A GNOME web browser based on the WebKit rendering engine"
+url="https://wiki.gnome.org/Apps/Web"
+arch=(i686 x86_64)
+license=(GPL)
+depends=(webkit2gtk gcr icu)
+makedepends=(itstool docbook-xml startup-notification lsb-release
+ gobject-introspection yelp-tools appstream-glib git meson)
+groups=(gnome)
+_commit=a5a9a7e2904e2206b3cc863ab13748255247e3eb # tags/3.28.3.1^0
+source=("$pkgname::git+https://gitlab.gnome.org/GNOME/epiphany.git#commit=$_commit"
+ "pluginsdir.diff::https://git.archlinux.org/svntogit/packages.git/plain/repos/extra-x86_64/pluginsdir.diff?h=packages/epiphany&id=83efda"
+ enable_mse.patch)
+provides=($_pkgname)
+conflicts=($_pkgname)
+sha256sums=('SKIP'
+ 'b6c8ee6ace934c053f2fd89758e0b587cb8953c6b0246c1359aecaae4de70289'
+ 'e7eb909859f4fa5ac56fe57a927dbb213a05af8fee271ab2f735a90456d65924')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ patch -Np1 -i ../pluginsdir.diff
+ patch -Np1 -i ../enable_mse.patch
+}
+
+build() {
+ arch-meson $pkgname build \
+ -D distributor_name="Arch Linux®"
+ ninja -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+}
diff --git a/enable_mse.patch b/enable_mse.patch
new file mode 100644
index 00000000000..b931ab3def3
--- /dev/null
+++ b/enable_mse.patch
@@ -0,0 +1,26 @@
+From 54234fe9e5652408d1a6cbf046ac66dd212c20b1 Mon Sep 17 00:00:00 2001
+From: Giovanni Santini <giovannisantini93@yahoo.it>
+Date: Sat, 14 Apr 2018 16:30:33 +0200
+Subject: [PATCH] Enabling MSE (Media Source Extensions) MSE support has been
+ merged already within WebkitGTK+ and is useful for many video and audio
+ streaming websites (one to mention, Youtube). This simple line enables MSE
+ when WebkitGTK+ is built with the proper flag.
+
+---
+ embed/ephy-embed-prefs.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/embed/ephy-embed-prefs.c b/embed/ephy-embed-prefs.c
+index d85413732..1e2679464 100644
+--- a/embed/ephy-embed-prefs.c
++++ b/embed/ephy-embed-prefs.c
+@@ -433,6 +433,7 @@ ephy_embed_prefs_init (gpointer user_data)
+ "enable-dns-prefetching", TRUE,
+ "hardware-acceleration-policy", WEBKIT_HARDWARE_ACCELERATION_POLICY_NEVER,
+ "javascript-can-open-windows-automatically", TRUE,
++ "enable-mediasource", TRUE,
+ NULL);
+
+ for (i = 0; i < G_N_ELEMENTS (webkit_pref_entries); i++) {
+--
+2.17.0