summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaglis Jonaitis2021-06-18 22:29:00 +0300
committerNaglis Jonaitis2021-06-18 22:36:25 +0300
commitd8a17e8704155f0935f3e27fd943d693c89ebb41 (patch)
treef04186a8d6da505721f28372148a80f82ced7de8
parentc4a46e4286785795685d8b7bfd6a8f4fb6eb9ea5 (diff)
downloadpackages-d8a17e8704155f0935f3e27fd943d693c89ebb41.tar.gz
packages-d8a17e8704155f0935f3e27fd943d693c89ebb41.tar.bz2
packages-d8a17e8704155f0935f3e27fd943d693c89ebb41.zip
Update to 1.7.1
Remove `no_zip_mime` patch, it is no longer needed since 1.7.1.
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD12
-rw-r--r--no_zip_mime.patch14
3 files changed, 8 insertions, 31 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2e3c7d1..564ca57 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
1pkgbase = thorium-bin 1pkgbase = thorium-bin
2 pkgdesc = A cross platform desktop reading app, based on the Readium Desktop toolkit 2 pkgdesc = A cross platform desktop reading app, based on the Readium Desktop toolkit
3 pkgver = 1.7.0 3 pkgver = 1.7.1
4 pkgrel = 3 4 pkgrel = 1
5 url = https://github.com/edrlab/thorium-reader 5 url = https://github.com/edrlab/thorium-reader
6 arch = x86_64 6 arch = x86_64
7 license = BSD3 7 license = BSD3
@@ -11,12 +11,9 @@ pkgbase = thorium-bin
11 depends = xdg-utils 11 depends = xdg-utils
12 depends = libappindicator-gtk3 12 depends = libappindicator-gtk3
13 depends = libsecret 13 depends = libsecret
14 source = https://github.com/edrlab/thorium-reader/releases/download/v1.7.0/EDRLab.ThoriumReader_1.7.0_amd64.deb 14 source = https://github.com/edrlab/thorium-reader/releases/download/v1.7.1/EDRLab.ThoriumReader_1.7.1_amd64.deb
15 source = https://github.com/edrlab/thorium-reader/raw/v1.7.0/LICENSE 15 source = https://github.com/edrlab/thorium-reader/raw/v1.7.1/LICENSE
16 source = no_zip_mime.patch 16 sha512sums = a2f3b28704ebd459e82c346a2e7ac54e991ba5f8443f2522dc2ce63965a78b7b5f2e1d4f3cd0ae92524813eb3e59ba55216744b01225a1f6d37177d16b372b32
17 sha512sums = c1d637a8b59522ca16e53c9553c67f0c549b05132cf6a311130a3593d5629747205347360fc6373009741d12eb39e7ff22f5fc48fb28399d38c79724e6cba4d9
18 sha512sums = SKIP 17 sha512sums = SKIP
19 sha512sums = e0308f1bd718014d12c5fb930ad154ef5f79a55e312e5d59dbcaf72bfecd63c57376f3decb6aecf8d51af1058a4b4139d280d3ff0a547877368b3cbc94653238
20 18
21pkgname = thorium-bin 19pkgname = thorium-bin
22
diff --git a/PKGBUILD b/PKGBUILD
index 5eddb15..f00b464 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
1# Maintainer: Naglis Jonaitis <naglis@mailbox.org> 1# Maintainer: Naglis Jonaitis <naglis@mailbox.org>
2 2
3pkgname=thorium-bin 3pkgname=thorium-bin
4pkgver=1.7.0 4pkgver=1.7.1
5pkgrel=3 5pkgrel=1
6pkgdesc="A cross platform desktop reading app, based on the Readium Desktop toolkit" 6pkgdesc="A cross platform desktop reading app, based on the Readium Desktop toolkit"
7arch=('x86_64') 7arch=('x86_64')
8license=('BSD3') 8license=('BSD3')
@@ -12,12 +12,10 @@ _filename=EDRLab.ThoriumReader_${pkgver}_amd64.deb
12source=( 12source=(
13 ${url}/releases/download/v${pkgver}/${_filename} 13 ${url}/releases/download/v${pkgver}/${_filename}
14 ${url}/raw/v${pkgver}/LICENSE 14 ${url}/raw/v${pkgver}/LICENSE
15 no_zip_mime.patch
16) 15)
17sha512sums=( 16sha512sums=(
18 c1d637a8b59522ca16e53c9553c67f0c549b05132cf6a311130a3593d5629747205347360fc6373009741d12eb39e7ff22f5fc48fb28399d38c79724e6cba4d9 17 a2f3b28704ebd459e82c346a2e7ac54e991ba5f8443f2522dc2ce63965a78b7b5f2e1d4f3cd0ae92524813eb3e59ba55216744b01225a1f6d37177d16b372b32
19 SKIP 18 SKIP
20 e0308f1bd718014d12c5fb930ad154ef5f79a55e312e5d59dbcaf72bfecd63c57376f3decb6aecf8d51af1058a4b4139d280d3ff0a547877368b3cbc94653238
21) 19)
22 20
23package() { 21package() {
@@ -33,8 +31,4 @@ package() {
33 # Fix "no icon" issue (see also https://github.com/edrlab/thorium-reader/issues/1241) 31 # Fix "no icon" issue (see also https://github.com/edrlab/thorium-reader/issues/1241)
34 mv ${pkgdir}/usr/share/icons/hicolor/0x0 ${pkgdir}/usr/share/icons/hicolor/1024x1024 32 mv ${pkgdir}/usr/share/icons/hicolor/0x0 ${pkgdir}/usr/share/icons/hicolor/1024x1024
35 install -Dm 644 "${pkgdir}/usr/share/icons/hicolor/1024x1024/apps/thorium.png" "${pkgdir}/usr/share/pixmaps/thorium.png" 33 install -Dm 644 "${pkgdir}/usr/share/icons/hicolor/1024x1024/apps/thorium.png" "${pkgdir}/usr/share/pixmaps/thorium.png"
36
37 # Do not change the icon of *.zip files to `x-office-document`.
38 # See also: https://github.com/edrlab/thorium-reader/issues/1468
39 patch -d "${pkgdir}" --strip=1 < ../no_zip_mime.patch
40} 34}
diff --git a/no_zip_mime.patch b/no_zip_mime.patch
deleted file mode 100644
index c0170f4..0000000
--- a/no_zip_mime.patch
+++ /dev/null
@@ -1,14 +0,0 @@
1--- thorium-bin/usr/share/mime/packages/thorium.xml 2021-05-15 13:12:52.000000000 +0300
2+++ thorium-bin/usr/share/mime/packages/thorium.xml 2021-05-15 13:56:19.932753057 +0300
3@@ -15,11 +15,6 @@
4
5 <icon name="x-office-document" />
6 </mime-type>
7-<mime-type type="application/zip">
8- <glob pattern="*.zip"/>
9-
10- <icon name="x-office-document" />
11-</mime-type>
12 <mime-type type="application/oebps-package+xml">
13 <glob pattern="*.opf"/>
14