summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlávio Tapajós2019-01-23 03:12:35 -0200
committerFlávio Tapajós2019-01-23 03:12:35 -0200
commit9a8cf97e92912ac585b973dd4ec6a5043fe40bfc (patch)
tree43b14244987a6a66a672e953e58eea8b69b69c08
downloadaur-9a8cf97e92912ac585b973dd4ec6a5043fe40bfc.tar.gz
first commit
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD28
-rw-r--r--pocket3
-rw-r--r--pocket.desktop10
-rw-r--r--pocket.qtws9
-rw-r--r--pocket.svg1
6 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c49774c94ab
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = pocket-qdesktop
+ pkgdesc = Get pocket web-app based on qtws
+ pkgver = 0.1
+ pkgrel = 1
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ depends = qtws-base
+ source = pocket.qtws
+ source = pocket.svg
+ source = pocket.desktop
+ source = pocket
+ md5sums = d8680788badee8f5171773941caaf516
+ md5sums = 3f96abae2159da1a336e1a586340f1a4
+ md5sums = a30b4df5389d1e5e8c984173d780ed5c
+ md5sums = b8e272f5aa2d74414dc840919f474758
+
+pkgname = pocket-qdesktop
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e6bb92ecfb4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Flávio Tapajós <flavio dot pereira at usp dot br>
+# Maintainer: Simone Scalabrino <s dot scalabrino 9 at gmail dot com>
+
+webappname=pocket
+pkgname=${webappname}-qdesktop
+pkgver=0.1
+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=('d8680788badee8f5171773941caaf516'
+ '3f96abae2159da1a336e1a586340f1a4'
+ 'a30b4df5389d1e5e8c984173d780ed5c'
+ 'b8e272f5aa2d74414dc840919f474758')
+
+
+package() {
+ mkdir -p ${pkgdir}/usr/share/qtws-apps/$webappname
+ echo ${srcdir}
+
+ install -Dm644 ${srcdir}/$webappname.qtws ${pkgdir}/usr/share/qtws-apps/$webappname/$webappname.qtws
+ 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
+}
+
diff --git a/pocket b/pocket
new file mode 100644
index 00000000000..7dd6a87be5b
--- /dev/null
+++ b/pocket
@@ -0,0 +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
diff --git a/pocket.desktop b/pocket.desktop
new file mode 100644
index 00000000000..ab3684f0f7b
--- /dev/null
+++ b/pocket.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+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"
+Icon=get-pocket.svg
+StartupNotify=true
+Terminal=false
+Type=Application
+Name[pt_BR]=pocket.desktop
diff --git a/pocket.qtws b/pocket.qtws
new file mode 100644
index 00000000000..88fca3cbdb1
--- /dev/null
+++ b/pocket.qtws
@@ -0,0 +1,9 @@
+{
+ "name": "Pocket",
+ "scope": ["getpocket.com/"],
+ "plugins": [],
+ "home": "https://getpocket.com/a/queue/",
+ "icon": "/usr/share/pixmaps/get-pocket.svg",
+ "saveSession": true,
+ "multimedia": true
+}
diff --git a/pocket.svg b/pocket.svg
new file mode 100644
index 00000000000..7246a9a4a39
--- /dev/null
+++ b/pocket.svg
@@ -0,0 +1 @@
+<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'><svg enable-background="new 0 0 512 512" height="512px" id="Layer_1" version="1.1" viewBox="0 0 512 512" width="512px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M492.775,442.759c0,34.171-27.703,61.872-61.873,61.872H81.159c-34.171,0-61.874-27.701-61.874-61.872 V93.014c0-34.171,27.703-61.872,61.874-61.872h349.744c34.17,0,61.873,27.701,61.873,61.872V442.759z" fill="#9B273A"/><path d="M492.775,418.016c0,34.17-27.703,61.871-61.873,61.871H81.159c-34.171,0-61.874-27.701-61.874-61.871V68.27 c0-34.171,27.703-61.872,61.874-61.872h349.744c34.17,0,61.873,27.701,61.873,61.872V418.016z" fill="#E84352"/><path d="M492.775,255.808c-2.746-2.747-5.523-5.463-8.268-8.206c-4.166-4.164-8.266-8.409-12.505-12.496 c-4.081-4.245-8.329-8.342-12.495-12.504c-4.166-4.164-8.266-8.409-12.505-12.496c-4.081-4.245-8.329-8.342-12.495-12.504 c-4.166-4.164-8.266-8.409-12.505-12.496c-4.081-4.245-8.329-8.342-12.495-12.504c-4.166-4.164-8.266-8.409-12.505-12.496 c-4.081-4.245-8.329-8.342-12.495-12.504c-4.123-4.121-8.188-8.31-12.372-12.369c-6.165-5.981-14.491-9.344-23.077-9.344 c-1.241,0-2.481,0-3.723,0c-6.959,0-13.917,0-20.876,0c-11.107,0-22.214,0-33.321,0c-13.069,0-26.139,0-39.208,0 c-12.845,0-25.69,0-38.536,0c-10.435,0-20.869,0-31.304,0c-5.838,0-11.677,0-17.515,0c-2.592,0-5.162,0.08-7.725,0.555 c-8.717,1.62-16.531,6.839-21.455,14.2c-3.782,5.654-5.642,12.275-5.642,19.054c0,2.584,0,5.168,0,7.752c0,11.369,0,22.738,0,34.107 c0,12.255,0,24.51,0,36.765c0,3.691,0,7.383,0,11.074c0,0.752,0,1.505,0,2.257c0,1.027,0.037,2.053,0.125,3.077 c0.062,0.715,0.147,1.429,0.256,2.14c-0.082,0.78-0.15,1.562-0.205,2.343c-0.12,1.707-0.177,3.418-0.177,5.129 c0,21.633,9.833,41.795,24.753,57.112c8.198,8.417,16.585,16.667,24.927,24.942c8.367,8.299,16.632,16.7,25,25 c16.735,16.597,33.265,33.402,50,50c12.615,12.511,39.036,39.063,58.451,58.489h118.017c34.17,0,61.873-27.702,61.873-61.872 V255.808z" fill="#BF3243"/><path d="M349.16,125.889H162.899c-18.306,0-33.145,14.959-33.145,33.4v92.529c0,1.717,0.129,3.404,0.382,5.053 c-0.259,2.464-0.382,4.956-0.382,7.472c0,53.038,56.532,96.05,126.274,96.05c69.741,0,126.276-43.012,126.276-96.05 c0-2.517-0.135-5.008-0.383-7.472c0.248-1.648,0.383-3.336,0.383-5.053V159.29C382.305,140.843,367.449,125.889,349.16,125.889z M333.465,218.909l-65.221,65.214c-3.313,3.313-7.666,4.945-12.01,4.908c-4.479,0.154-9.004-1.48-12.432-4.908l-65.206-65.214 c-6.552-6.549-6.536-17.172,0-23.709c6.544-6.551,17.148-6.561,23.709,0l53.724,53.727l53.727-53.727 c6.531-6.551,17.174-6.534,23.709,0C340.018,201.747,340.018,212.35,333.465,218.909z" fill="#FFFFFF"/></svg> \ No newline at end of file