summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD12
-rw-r--r--pocket2
-rw-r--r--pocket.desktop2
-rw-r--r--pocket.qtws24
5 files changed, 33 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fceb264dc17..e9af45868df 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = pocket-qdesktop
pkgdesc = Get pocket web-app based on qtws
- pkgver = 0.1.1
+ pkgver = 0.2
pkgrel = 1
arch = i686
arch = x86_64
@@ -10,10 +10,10 @@ pkgbase = pocket-qdesktop
source = pocket.svg
source = pocket.desktop
source = pocket
- md5sums = 3adaae8407237c6aff731a6a8d1c6487
+ md5sums = e0d1dd7a682513f61779e977d115051c
md5sums = 3f96abae2159da1a336e1a586340f1a4
- md5sums = 56bc1a5efc94cfa1d07085c897024277
- md5sums = b8e272f5aa2d74414dc840919f474758
+ md5sums = fbf07eed4578ed53ac2f42041064f754
+ md5sums = 3a40745ef959b039abc55c6a592a7232
pkgname = pocket-qdesktop
diff --git a/PKGBUILD b/PKGBUILD
index eb522cfc2a2..1a7dfe5179d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,19 @@
# Maintainer: Flávio Tapajós <flavio dot pereira at usp dot br>
-# Maintainer: Simone Scalabrino <s dot scalabrino 9 at gmail dot com>
+# Contributor: Simone Scalabrino <s dot scalabrino 9 at gmail dot com>
webappname=pocket
pkgname=${webappname}-qdesktop
-pkgver=0.1.1
+pkgver=0.2
pkgrel=1
pkgdesc='Get pocket web-app based on qtws'
arch=('i686' 'x86_64')
license=('GPL3')
depends=('qtws-base')
source=("$webappname.qtws" "$webappname.svg" "$webappname.desktop" "$webappname")
-md5sums=('3adaae8407237c6aff731a6a8d1c6487'
+md5sums=('e0d1dd7a682513f61779e977d115051c'
'3f96abae2159da1a336e1a586340f1a4'
- '56bc1a5efc94cfa1d07085c897024277'
- 'b8e272f5aa2d74414dc840919f474758')
+ 'fbf07eed4578ed53ac2f42041064f754'
+ '3a40745ef959b039abc55c6a592a7232')
package() {
mkdir -p ${pkgdir}/usr/share/qtws-apps/$webappname
@@ -23,4 +23,4 @@ package() {
install -Dm755 ${srcdir}/$webappname.desktop ${pkgdir}/usr/share/applications/$webappname-desktop.desktop
install -Dm644 ${srcdir}/$webappname.svg ${pkgdir}/usr/share/pixmaps/$webappname-desktop.svg
install -Dm755 ${srcdir}/$webappname ${pkgdir}/usr/bin/$webappname
-}
+} \ No newline at end of file
diff --git a/pocket b/pocket
index 7dd6a87be5b..d27dd922a0e 100644
--- a/pocket
+++ b/pocket
@@ -1,3 +1,3 @@
#! /bin/bash
-qtws /usr/share/qtws-apps/pocket/pocket.qtws --disable-seccomp-filter-sandbox --register-pepper-plugins="/usr/lib/qt/plugins/ppapi/libwidevinecdmadapter.so; application/x-ppapi-widevine-cdm" \ No newline at end of file
+qtws /usr/share/qtws-apps/pocket/pocket.qtws \ No newline at end of file
diff --git a/pocket.desktop b/pocket.desktop
index f325687ecc9..06b9f60ff80 100644
--- a/pocket.desktop
+++ b/pocket.desktop
@@ -2,7 +2,7 @@
Name=Pocket
GenericName=Pocket
Comment=Pocket viewer
-Exec=/usr/bin/qtws /usr/share/qtws-apps/pocket/pocket.qtws --disable-seccomp-filter-sandbox --register-pepper-plugins="/usr/lib/qt/plugins/ppapi/libwidevinecdmadapter.so; application/x-ppapi-widevine-cdm"
+Exec=/usr/bin/qtws /usr/share/qtws-apps/pocket/pocket.qtws
Icon=/usr/share/pixmaps/pocket-desktop.svg
StartupNotify=true
Terminal=false
diff --git a/pocket.qtws b/pocket.qtws
index 76f1dd3c553..93d15d0990d 100644
--- a/pocket.qtws
+++ b/pocket.qtws
@@ -1,9 +1,27 @@
{
"name": "Pocket",
- "scope": ["getpocket.com/"],
+ "scope": ["https?:\/\/getpocket\.com\/a\/(*)"],
"plugins": [],
- "home": "https://getpocket.com/a/queue/",
+ "home": "https://getpocket.com/a/queue/list",
"icon": "/usr/share/pixmaps/pocket-desktop.svg",
"saveSession": true,
- "multimedia": true
+ "multimedia": true,
+ "permissions" : [],
+
+ "menu": [
+ {
+ "title": "My List",
+ "action": "https://getpocket.com/a/queue/list"
+ },
+
+ {
+ "title": "Favorites",
+ "action": "https://getpocket.com/a/favorites/list/"
+ },
+
+ {
+ "title": "Archive",
+ "action": "https://getpocket.com/a/archive/list/"
+ }
+ ]
}