[arch-commits] Commit in flameshot/trunk (PKGBUILD)

2020-10-15 Thread Jiachen Yang via arch-commits
Date: Thursday, October 15, 2020 @ 08:02:11
  Author: farseerfc
Revision: 724063

upgpkg: flameshot 0.8.5-1: flameshot 0.8.5

Modified:
  flameshot/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-15 07:42:17 UTC (rev 724062)
+++ PKGBUILD2020-10-15 08:02:11 UTC (rev 724063)
@@ -2,7 +2,7 @@
 # Contributor: xyzzy <628...@gmail.com>
 
 pkgname=flameshot
-pkgver=0.8.4
+pkgver=0.8.5
 pkgrel=1
 pkgdesc="Powerful yet simple to use screenshot software"
 arch=('x86_64')
@@ -11,7 +11,7 @@
 depends=('qt5-svg' 'hicolor-icon-theme')
 makedepends=('make' 'qt5-tools' 'cmake')
 source=("${pkgname}-v${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('e20739a9268212babf32db6944169afa206303ba38daff9e590f8ce6ce459f15')
+sha256sums=('f820c1f8cd464988cfcfc1af1fbcea2a3d0e5c4fb32accc3f54d93a8b5e1e890')
 
 prepare() {
   cd "${srcdir}/${pkgname}-${pkgver}"


[arch-commits] Commit in flameshot/trunk (PKGBUILD)

2020-10-11 Thread Jiachen Yang via arch-commits
Date: Monday, October 12, 2020 @ 04:28:12
  Author: farseerfc
Revision: 723575

upgpkg: flameshot 0.8.4-1: flameshot 0.8.4

Modified:
  flameshot/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-12 04:01:36 UTC (rev 723574)
+++ PKGBUILD2020-10-12 04:28:12 UTC (rev 723575)
@@ -2,7 +2,7 @@
 # Contributor: xyzzy <628...@gmail.com>
 
 pkgname=flameshot
-pkgver=0.8.3
+pkgver=0.8.4
 pkgrel=1
 pkgdesc="Powerful yet simple to use screenshot software"
 arch=('x86_64')
@@ -11,7 +11,7 @@
 depends=('qt5-svg' 'hicolor-icon-theme')
 makedepends=('make' 'qt5-tools' 'cmake')
 source=("${pkgname}-v${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('73b0e52d389518b58e4488931e14ef40d611a2bd8661c06e187c211fb947fd05')
+sha256sums=('e20739a9268212babf32db6944169afa206303ba38daff9e590f8ce6ce459f15')
 
 prepare() {
   cd "${srcdir}/${pkgname}-${pkgver}"


[arch-commits] Commit in flameshot/trunk (PKGBUILD)

2020-09-29 Thread Jiachen Yang via arch-commits
Date: Wednesday, September 30, 2020 @ 01:49:46
  Author: farseerfc
Revision: 713965

upgpkg: flameshot 0.8.3-1: flameshot 0.8.3

Modified:
  flameshot/trunk/PKGBUILD

--+
 PKGBUILD |   20 
 1 file changed, 4 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-30 00:55:30 UTC (rev 713964)
+++ PKGBUILD2020-09-30 01:49:46 UTC (rev 713965)
@@ -2,8 +2,8 @@
 # Contributor: xyzzy <628...@gmail.com>
 
 pkgname=flameshot
-pkgver=0.8.1
-pkgrel=3
+pkgver=0.8.3
+pkgrel=1
 pkgdesc="Powerful yet simple to use screenshot software"
 arch=('x86_64')
 url="https://github.com/flameshot-org/flameshot;
@@ -10,23 +10,11 @@
 license=('GPL')
 depends=('qt5-svg' 'hicolor-icon-theme')
 makedepends=('make' 'qt5-tools' 'cmake')
-source=("${pkgname}-v${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
-"pr969.patch::https://github.com/flameshot-org/flameshot/commit/0d5386edd4223dca682c0a50e53f6931af080ee9.patch;
-"pr648.patch::https://github.com/flameshot-org/flameshot/commit/e1214e23e5a2641d585e47aa064cfcbb8a2b6111.patch;
-"pr982.patch::https://github.com/flameshot-org/flameshot/commit/ac038474c9b3fef9fe777c2d34def563d19e.patch;
-"pr977.patch::https://github.com/flameshot-org/flameshot/commit/f5d581c89f36c705f65f10193902a2382a5bf595.patch;)
-sha256sums=('92394c469536b264f36e592b51468d9bbe4ea619888bb0090e8a4831c2ce2d7c'
-'c69c5055452e688cd3f2ca8b2d7ba9e3f8985727884f5ee6cba8e1d686e815f2'
-'0f5aeb9cab8540ef0fec2ce71de18aabb7fd8ffeb2b080fab1ff88b88569a22c'
-'566760bce2092e05ca1a53baae30d62eed4bdb15282dfbc2675bc0b1f8a845ff'
-'db7c6190cb96289b8397f484df43f83664c09ca55ec1dcec256088865080c1b8')
+source=("${pkgname}-v${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('73b0e52d389518b58e4488931e14ef40d611a2bd8661c06e187c211fb947fd05')
 
 prepare() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -Np1 -i ${srcdir}/pr969.patch # 
https://github.com/flameshot-org/flameshot/commit/0d5386edd4223dca682c0a50e53f6931af080ee9
-  patch -Np1 -i ${srcdir}/pr648.patch # 
https://github.com/flameshot-org/flameshot/commit/e1214e23e5a2641d585e47aa064cfcbb8a2b6111
-  patch -Np1 -i ${srcdir}/pr982.patch # 
https://github.com/flameshot-org/flameshot/commit/ac038474c9b3fef9fe777c2d34def563d19e
-  patch -Np1 -i ${srcdir}/pr977.patch # 
https://github.com/flameshot-org/flameshot/commit/f5d581c89f36c705f65f10193902a2382a5bf595
 }
 
 build() {


[arch-commits] Commit in flameshot/trunk (PKGBUILD)

2020-09-27 Thread Jiachen Yang via arch-commits
Date: Monday, September 28, 2020 @ 00:11:07
  Author: farseerfc
Revision: 712787

upgpkg: flameshot 0.8.1-3: flameshot 0.8.1-3 backport PR#982 and PR#977

Modified:
  flameshot/trunk/PKGBUILD

--+
 PKGBUILD |   16 +++-
 1 file changed, 11 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-27 23:56:02 UTC (rev 712786)
+++ PKGBUILD2020-09-28 00:11:07 UTC (rev 712787)
@@ -3,24 +3,30 @@
 
 pkgname=flameshot
 pkgver=0.8.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Powerful yet simple to use screenshot software"
 arch=('x86_64')
-url="https://github.com/lupoDharkael/flameshot;
+url="https://github.com/flameshot-org/flameshot;
 license=('GPL')
 depends=('qt5-svg' 'hicolor-icon-theme')
 makedepends=('make' 'qt5-tools' 'cmake')
-source=("${pkgname}-v${pkgver}.tar.gz::https://github.com/lupoDharkael/flameshot/archive/v${pkgver}.tar.gz;
+source=("${pkgname}-v${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
 
"pr969.patch::https://github.com/flameshot-org/flameshot/commit/0d5386edd4223dca682c0a50e53f6931af080ee9.patch;
-"pr648.patch::https://github.com/flameshot-org/flameshot/commit/e1214e23e5a2641d585e47aa064cfcbb8a2b6111.patch;)
+"pr648.patch::https://github.com/flameshot-org/flameshot/commit/e1214e23e5a2641d585e47aa064cfcbb8a2b6111.patch;
+"pr982.patch::https://github.com/flameshot-org/flameshot/commit/ac038474c9b3fef9fe777c2d34def563d19e.patch;
+"pr977.patch::https://github.com/flameshot-org/flameshot/commit/f5d581c89f36c705f65f10193902a2382a5bf595.patch;)
 sha256sums=('92394c469536b264f36e592b51468d9bbe4ea619888bb0090e8a4831c2ce2d7c'
 'c69c5055452e688cd3f2ca8b2d7ba9e3f8985727884f5ee6cba8e1d686e815f2'
-'0f5aeb9cab8540ef0fec2ce71de18aabb7fd8ffeb2b080fab1ff88b88569a22c')
+'0f5aeb9cab8540ef0fec2ce71de18aabb7fd8ffeb2b080fab1ff88b88569a22c'
+'566760bce2092e05ca1a53baae30d62eed4bdb15282dfbc2675bc0b1f8a845ff'
+'db7c6190cb96289b8397f484df43f83664c09ca55ec1dcec256088865080c1b8')
 
 prepare() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   patch -Np1 -i ${srcdir}/pr969.patch # 
https://github.com/flameshot-org/flameshot/commit/0d5386edd4223dca682c0a50e53f6931af080ee9
   patch -Np1 -i ${srcdir}/pr648.patch # 
https://github.com/flameshot-org/flameshot/commit/e1214e23e5a2641d585e47aa064cfcbb8a2b6111
+  patch -Np1 -i ${srcdir}/pr982.patch # 
https://github.com/flameshot-org/flameshot/commit/ac038474c9b3fef9fe777c2d34def563d19e
+  patch -Np1 -i ${srcdir}/pr977.patch # 
https://github.com/flameshot-org/flameshot/commit/f5d581c89f36c705f65f10193902a2382a5bf595
 }
 
 build() {


[arch-commits] Commit in flameshot/trunk (PKGBUILD)

2020-09-24 Thread Jiachen Yang via arch-commits
Date: Friday, September 25, 2020 @ 02:01:47
  Author: farseerfc
Revision: 711948

upgpkg: flameshot 0.8.1-2: flameshot 0.8.1-2 backport PR#648

Modified:
  flameshot/trunk/PKGBUILD

--+
 PKGBUILD |   16 +---
 1 file changed, 13 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-25 00:40:48 UTC (rev 711947)
+++ PKGBUILD2020-09-25 02:01:47 UTC (rev 711948)
@@ -3,7 +3,7 @@
 
 pkgname=flameshot
 pkgver=0.8.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Powerful yet simple to use screenshot software"
 arch=('x86_64')
 url="https://github.com/lupoDharkael/flameshot;
@@ -10,9 +10,19 @@
 license=('GPL')
 depends=('qt5-svg' 'hicolor-icon-theme')
 makedepends=('make' 'qt5-tools' 'cmake')
-source=("${pkgname}-v${pkgver}.tar.gz::https://github.com/lupoDharkael/flameshot/archive/v${pkgver}.tar.gz;)
-sha256sums=('92394c469536b264f36e592b51468d9bbe4ea619888bb0090e8a4831c2ce2d7c')
+source=("${pkgname}-v${pkgver}.tar.gz::https://github.com/lupoDharkael/flameshot/archive/v${pkgver}.tar.gz;
+"pr969.patch::https://github.com/flameshot-org/flameshot/commit/0d5386edd4223dca682c0a50e53f6931af080ee9.patch;
+"pr648.patch::https://github.com/flameshot-org/flameshot/commit/e1214e23e5a2641d585e47aa064cfcbb8a2b6111.patch;)
+sha256sums=('92394c469536b264f36e592b51468d9bbe4ea619888bb0090e8a4831c2ce2d7c'
+'c69c5055452e688cd3f2ca8b2d7ba9e3f8985727884f5ee6cba8e1d686e815f2'
+'0f5aeb9cab8540ef0fec2ce71de18aabb7fd8ffeb2b080fab1ff88b88569a22c')
 
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np1 -i ${srcdir}/pr969.patch # 
https://github.com/flameshot-org/flameshot/commit/0d5386edd4223dca682c0a50e53f6931af080ee9
+  patch -Np1 -i ${srcdir}/pr648.patch # 
https://github.com/flameshot-org/flameshot/commit/e1214e23e5a2641d585e47aa064cfcbb8a2b6111
+}
+
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   mkdir build


[arch-commits] Commit in flameshot/trunk (PKGBUILD)

2020-09-23 Thread Jiachen Yang via arch-commits
Date: Thursday, September 24, 2020 @ 04:39:06
  Author: farseerfc
Revision: 711650

upgpkg: flameshot 0.8.1-1: flameshot 0.8.1

Modified:
  flameshot/trunk/PKGBUILD

--+
 PKGBUILD |   10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-24 00:40:48 UTC (rev 711649)
+++ PKGBUILD2020-09-24 04:39:06 UTC (rev 711650)
@@ -2,7 +2,7 @@
 # Contributor: xyzzy <628...@gmail.com>
 
 pkgname=flameshot
-pkgver=0.8.0
+pkgver=0.8.1
 pkgrel=1
 pkgdesc="Powerful yet simple to use screenshot software"
 arch=('x86_64')
@@ -10,8 +10,8 @@
 license=('GPL')
 depends=('qt5-svg' 'hicolor-icon-theme')
 makedepends=('make' 'qt5-tools' 'cmake')
-source=("https://github.com/lupoDharkael/flameshot/archive/v${pkgver}.tar.gz;)
-sha256sums=('41d04c1ccb5c492768d6b66252b554ff1e5fec11fccb7bb0bdb8ae878dd01909')
+source=("${pkgname}-v${pkgver}.tar.gz::https://github.com/lupoDharkael/flameshot/archive/v${pkgver}.tar.gz;)
+sha256sums=('92394c469536b264f36e592b51468d9bbe4ea619888bb0090e8a4831c2ce2d7c')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
@@ -25,6 +25,6 @@
   cd "${srcdir}/${pkgname}-${pkgver}/build"
   make DESTDIR="${pkgdir}" install
   
-  # provided by zsh-completions so exclude from packaging
-  rm ${pkgdir}/usr/share/zsh/site-functions/_flameshot
+  # zsh _flameshot completion is provided by zsh-completions so exclude from 
packaging
+  rm -rf ${pkgdir}/usr/share/zsh/
 }


[arch-commits] Commit in flameshot/trunk (PKGBUILD)

2020-09-21 Thread Jiachen Yang via arch-commits
Date: Monday, September 21, 2020 @ 07:20:16
  Author: farseerfc
Revision: 711142

upgpkg: flameshot 0.8.0-1: flameshot 0.8.0

Modified:
  flameshot/trunk/PKGBUILD

--+
 PKGBUILD |   46 +-
 1 file changed, 13 insertions(+), 33 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-21 07:17:35 UTC (rev 711141)
+++ PKGBUILD2020-09-21 07:20:16 UTC (rev 711142)
@@ -2,49 +2,29 @@
 # Contributor: xyzzy <628...@gmail.com>
 
 pkgname=flameshot
-pkgver=0.6.0
-pkgrel=4
+pkgver=0.8.0
+pkgrel=1
 pkgdesc="Powerful yet simple to use screenshot software"
 arch=('x86_64')
 url="https://github.com/lupoDharkael/flameshot;
 license=('GPL')
 depends=('qt5-svg' 'hicolor-icon-theme')
-makedepends=('make' 'qt5-tools')
-source=("https://github.com/lupoDharkael/flameshot/archive/v${pkgver}.tar.gz;
-   
"fix311.patch::https://github.com/lupoDharkael/flameshot/commit/415b059fb248eec4b4ee3be85a1594ce99bfce67.patch;
-   
"pr470.patch::https://patch-diff.githubusercontent.com/raw/lupoDharkael/flameshot/pull/470.patch;
-   
"pr678.patch::https://patch-diff.githubusercontent.com/raw/lupoDharkael/flameshot/pull/678.patch;
-   )
-sha256sums=('61b3a1969d6e17d80d5d90a3fce53ca5ae78fa21f9a45e5a19b0b32ea815a589'
-'ab73202901f9f531ce7b3cc7d59c026a00ea347f9aeef1bc427b97154bb741d5'
-'cffd645935583d0b5b77b163e38063d457500f706003b4014ef5ed4620f14b49'
-'4d373238da105734ea25097c4f088bd204285b9df9e2b1a7a2f71142c49dbf00')
-install="${pkgname}.install"
+makedepends=('make' 'qt5-tools' 'cmake')
+source=("https://github.com/lupoDharkael/flameshot/archive/v${pkgver}.tar.gz;)
+sha256sums=('41d04c1ccb5c492768d6b66252b554ff1e5fec11fccb7bb0bdb8ae878dd01909')
 
-prepare() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  ## fix https://github.com/lupoDharkael/flameshot/issues/311
-  patch -Np1 -i ../fix311.patch
-  ## fix https://github.com/lupoDharkael/flameshot/issues/459
-  ## see https://github.com/lupoDharkael/flameshot/pull/470
-  patch -Np1 -i ../pr470.patch
-
-  ## fix issues #564 #265 #650
-  ## see https://github.com/lupoDharkael/flameshot/pull/678
-  patch -Np1 -i ../pr678.patch
-
-  ## add a version number from pkgver
-  sed -i "s|TAG_VERSION = .*|TAG_VERSION = v${pkgver}|" flameshot.pro 
-}
-
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  qmake CONFIG+=packaging BASEDIR="${pkgdir}"
+  mkdir build
+  cd build
+  cmake .. -DCMAKE_INSTALL_PREFIX=/usr
   make
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make INSTALL_ROOT="${pkgdir}" install
+  cd "${srcdir}/${pkgname}-${pkgver}/build"
+  make DESTDIR="${pkgdir}" install
+  
+  # provided by zsh-completions so exclude from packaging
+  rm ${pkgdir}/usr/share/zsh/site-functions/_flameshot
 }


[arch-commits] Commit in flameshot/trunk (PKGBUILD)

2020-04-01 Thread Jiachen Yang via arch-commits
Date: Wednesday, April 1, 2020 @ 16:27:09
  Author: farseerfc
Revision: 609003

upgpkg: flameshot 0.6.0-4: flameshot backport pr#678

Modified:
  flameshot/trunk/PKGBUILD

--+
 PKGBUILD |   12 +---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-01 16:22:19 UTC (rev 609002)
+++ PKGBUILD2020-04-01 16:27:09 UTC (rev 609003)
@@ -3,7 +3,7 @@
 
 pkgname=flameshot
 pkgver=0.6.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Powerful yet simple to use screenshot software"
 arch=('x86_64')
 url="https://github.com/lupoDharkael/flameshot;
@@ -13,10 +13,12 @@
 source=("https://github.com/lupoDharkael/flameshot/archive/v${pkgver}.tar.gz;

"fix311.patch::https://github.com/lupoDharkael/flameshot/commit/415b059fb248eec4b4ee3be85a1594ce99bfce67.patch;

"pr470.patch::https://patch-diff.githubusercontent.com/raw/lupoDharkael/flameshot/pull/470.patch;
+   
"pr678.patch::https://patch-diff.githubusercontent.com/raw/lupoDharkael/flameshot/pull/678.patch;
)
 sha256sums=('61b3a1969d6e17d80d5d90a3fce53ca5ae78fa21f9a45e5a19b0b32ea815a589'
-'94da922546ce1b41d702e13d4ec2141f6383b2410bd9b2ddd34ce75e1d8c9209'
-'d9cdf793db3b4637a8bd00475d9e936d4e7e94af3295feaf4c6c8e952de58a18')
+'ab73202901f9f531ce7b3cc7d59c026a00ea347f9aeef1bc427b97154bb741d5'
+'cffd645935583d0b5b77b163e38063d457500f706003b4014ef5ed4620f14b49'
+'4d373238da105734ea25097c4f088bd204285b9df9e2b1a7a2f71142c49dbf00')
 install="${pkgname}.install"
 
 prepare() {
@@ -28,6 +30,10 @@
   ## see https://github.com/lupoDharkael/flameshot/pull/470
   patch -Np1 -i ../pr470.patch
 
+  ## fix issues #564 #265 #650
+  ## see https://github.com/lupoDharkael/flameshot/pull/678
+  patch -Np1 -i ../pr678.patch
+
   ## add a version number from pkgver
   sed -i "s|TAG_VERSION = .*|TAG_VERSION = v${pkgver}|" flameshot.pro 
 }


[arch-commits] Commit in flameshot/trunk (PKGBUILD)

2019-02-19 Thread Jiachen Yang via arch-commits
Date: Wednesday, February 20, 2019 @ 05:13:30
  Author: farseerfc
Revision: 434653

upgpkg: flameshot 0.6.0-3

flameshot 0.6.0-3 fixing screenshot area using keys to move and resize, 
upstream #459 pr #470

Modified:
  flameshot/trunk/PKGBUILD

--+
 PKGBUILD |9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-02-20 04:13:07 UTC (rev 434652)
+++ PKGBUILD2019-02-20 05:13:30 UTC (rev 434653)
@@ -3,7 +3,7 @@
 
 pkgname=flameshot
 pkgver=0.6.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Powerful yet simple to use screenshot software"
 arch=('x86_64')
 url="https://github.com/lupoDharkael/flameshot;
@@ -12,9 +12,11 @@
 makedepends=('make' 'qt5-tools')
 source=("https://github.com/lupoDharkael/flameshot/archive/v${pkgver}.tar.gz;

"fix311.patch::https://github.com/lupoDharkael/flameshot/commit/415b059fb248eec4b4ee3be85a1594ce99bfce67.patch;
+   
"pr470.patch::https://patch-diff.githubusercontent.com/raw/lupoDharkael/flameshot/pull/470.patch;
)
 sha256sums=('61b3a1969d6e17d80d5d90a3fce53ca5ae78fa21f9a45e5a19b0b32ea815a589'
-'94da922546ce1b41d702e13d4ec2141f6383b2410bd9b2ddd34ce75e1d8c9209')
+'94da922546ce1b41d702e13d4ec2141f6383b2410bd9b2ddd34ce75e1d8c9209'
+'d9cdf793db3b4637a8bd00475d9e936d4e7e94af3295feaf4c6c8e952de58a18')
 install="${pkgname}.install"
 
 prepare() {
@@ -22,6 +24,9 @@
 
   ## fix https://github.com/lupoDharkael/flameshot/issues/311
   patch -Np1 -i ../fix311.patch
+  ## fix https://github.com/lupoDharkael/flameshot/issues/459
+  ## see https://github.com/lupoDharkael/flameshot/pull/470
+  patch -Np1 -i ../pr470.patch
 
   ## add a version number from pkgver
   sed -i "s|TAG_VERSION = .*|TAG_VERSION = v${pkgver}|" flameshot.pro 


[arch-commits] Commit in flameshot/trunk (PKGBUILD)

2018-12-28 Thread Jiachen Yang via arch-commits
Date: Friday, December 28, 2018 @ 15:32:11
  Author: farseerfc
Revision: 418649

upgpkg: flameshot 0.6.0-2

flameshot fix upstream #311

Modified:
  flameshot/trunk/PKGBUILD

--+
 PKGBUILD |   10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-12-28 14:59:38 UTC (rev 418648)
+++ PKGBUILD2018-12-28 15:32:11 UTC (rev 418649)
@@ -3,7 +3,7 @@
 
 pkgname=flameshot
 pkgver=0.6.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Powerful yet simple to use screenshot software"
 arch=('x86_64')
 url="https://github.com/lupoDharkael/flameshot;
@@ -11,15 +11,17 @@
 depends=('qt5-svg' 'hicolor-icon-theme')
 makedepends=('make' 'qt5-tools')
 source=("https://github.com/lupoDharkael/flameshot/archive/v${pkgver}.tar.gz;
+   
"fix311.patch::https://github.com/lupoDharkael/flameshot/commit/415b059fb248eec4b4ee3be85a1594ce99bfce67.patch;
)
-sha256sums=('61b3a1969d6e17d80d5d90a3fce53ca5ae78fa21f9a45e5a19b0b32ea815a589')
+sha256sums=('61b3a1969d6e17d80d5d90a3fce53ca5ae78fa21f9a45e5a19b0b32ea815a589'
+'94da922546ce1b41d702e13d4ec2141f6383b2410bd9b2ddd34ce75e1d8c9209')
 install="${pkgname}.install"
 
 prepare() {
   cd "${srcdir}/${pkgname}-${pkgver}"
 
-  ### fix locale setting
-  #sed -i 's|QLocale::system[(][)][.]language[(][)]|QLocale()|' src/main.cpp
+  ## fix https://github.com/lupoDharkael/flameshot/issues/311
+  patch -Np1 -i ../fix311.patch
 
   ## add a version number from pkgver
   sed -i "s|TAG_VERSION = .*|TAG_VERSION = v${pkgver}|" flameshot.pro 


[arch-commits] Commit in flameshot/trunk (PKGBUILD)

2018-08-17 Thread Jiachen Yang via arch-commits
Date: Friday, August 17, 2018 @ 13:05:15
  Author: farseerfc
Revision: 372481

upgpkg: flameshot 0.6.0-1

flameshot 0.6.0

Modified:
  flameshot/trunk/PKGBUILD

--+
 PKGBUILD |   23 +++
 1 file changed, 7 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-08-17 12:49:16 UTC (rev 372480)
+++ PKGBUILD2018-08-17 13:05:15 UTC (rev 372481)
@@ -2,33 +2,24 @@
 # Contributor: xyzzy <628...@gmail.com>
 
 pkgname=flameshot
-pkgver=0.5.1
-pkgrel=6
+pkgver=0.6.0
+pkgrel=1
 pkgdesc="Powerful yet simple to use screenshot software"
 arch=('x86_64')
 url="https://github.com/lupoDharkael/flameshot;
 license=('GPL')
-depends=('qt5-base')
+depends=('qt5-svg' 'hicolor-icon-theme')
 makedepends=('make' 'qt5-tools')
 source=("https://github.com/lupoDharkael/flameshot/archive/v${pkgver}.tar.gz;
-   
"pr174.patch::https://github.com/lupoDharkael/flameshot/commit/986b7741428e1f00a5b0688e254665eab90c025a.patch;
-   
"pr149.patch::https://github.com/lupoDharkael/flameshot/commit/1bf282921744d3b3332d626c3ca00367ac7e6a44.patch;
-   
"pr171.patch::https://github.com/lupoDharkael/flameshot/commit/b4ba65588df33ead8bd0e9898a2f0b48be9f979d.patch;
)
-sha256sums=('35220eabb8c4203abb0732c63e0b4d955e17ddd0c03c3d2c7a5beb875728e44e'
-'ad8d85d72e0729fb7629f04b1250fab354340987efd58f3fdd09ae6a7f075b27'
-'25cade2e09da0afa77e62178d847d4198407cff6a198bb6db7c14db128f3921e'
-'e6479eb2a6e489e33a57d74f25c00adead799d4bd2af9e013f92b2f22d59f50d')
+sha256sums=('61b3a1969d6e17d80d5d90a3fce53ca5ae78fa21f9a45e5a19b0b32ea815a589')
 install="${pkgname}.install"
 
 prepare() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -Np1 -i ../pr174.patch
-  patch -Np1 -i ../pr149.patch
-  patch -Np1 -i ../pr171.patch
 
-  ## fix locale setting
-  sed -i 's|QLocale::system[(][)][.]language[(][)]|QLocale()|' src/main.cpp
+  ### fix locale setting
+  #sed -i 's|QLocale::system[(][)][.]language[(][)]|QLocale()|' src/main.cpp
 
   ## add a version number from pkgver
   sed -i "s|TAG_VERSION = .*|TAG_VERSION = v${pkgver}|" flameshot.pro 
@@ -42,5 +33,5 @@
 
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  make install
+  make INSTALL_ROOT="${pkgdir}" install
 }


[arch-commits] Commit in flameshot/trunk (PKGBUILD)

2018-08-11 Thread Jiachen Yang via arch-commits
Date: Sunday, August 12, 2018 @ 00:48:25
  Author: farseerfc
Revision: 371198

upgpkg: flameshot 0.5.1-6

flameshot fix zh_TW locale loading

Modified:
  flameshot/trunk/PKGBUILD

--+
 PKGBUILD |   13 -
 1 file changed, 8 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-08-11 23:39:15 UTC (rev 371197)
+++ PKGBUILD2018-08-12 00:48:25 UTC (rev 371198)
@@ -3,7 +3,7 @@
 
 pkgname=flameshot
 pkgver=0.5.1
-pkgrel=5
+pkgrel=6
 pkgdesc="Powerful yet simple to use screenshot software"
 arch=('x86_64')
 url="https://github.com/lupoDharkael/flameshot;
@@ -17,16 +17,19 @@
)
 sha256sums=('35220eabb8c4203abb0732c63e0b4d955e17ddd0c03c3d2c7a5beb875728e44e'
 'ad8d85d72e0729fb7629f04b1250fab354340987efd58f3fdd09ae6a7f075b27'
-'2f5b165f43831f1447b28df57cb3853a0eeaa9a52b72faddc06764e4e8715ac2'
+'25cade2e09da0afa77e62178d847d4198407cff6a198bb6db7c14db128f3921e'
 'e6479eb2a6e489e33a57d74f25c00adead799d4bd2af9e013f92b2f22d59f50d')
 install="${pkgname}.install"
 
 prepare() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -Np1 <../pr174.patch
-  patch -Np1 <../pr149.patch
-  patch -Np1 <../pr171.patch
+  patch -Np1 -i ../pr174.patch
+  patch -Np1 -i ../pr149.patch
+  patch -Np1 -i ../pr171.patch
 
+  ## fix locale setting
+  sed -i 's|QLocale::system[(][)][.]language[(][)]|QLocale()|' src/main.cpp
+
   ## add a version number from pkgver
   sed -i "s|TAG_VERSION = .*|TAG_VERSION = v${pkgver}|" flameshot.pro 
 }


[arch-commits] Commit in flameshot/trunk (PKGBUILD)

2018-05-14 Thread Jiachen Yang via arch-commits
Date: Tuesday, May 15, 2018 @ 00:48:22
  Author: farseerfc
Revision: 322238

upgpkg: flameshot 0.5.1-5

flameshot 0.5.1-5 add version info

Modified:
  flameshot/trunk/PKGBUILD

--+
 PKGBUILD |5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-15 00:37:50 UTC (rev 322237)
+++ PKGBUILD2018-05-15 00:48:22 UTC (rev 322238)
@@ -3,7 +3,7 @@
 
 pkgname=flameshot
 pkgver=0.5.1
-pkgrel=4
+pkgrel=5
 pkgdesc="Powerful yet simple to use screenshot software"
 arch=('x86_64')
 url="https://github.com/lupoDharkael/flameshot;
@@ -26,6 +26,9 @@
   patch -Np1 <../pr174.patch
   patch -Np1 <../pr149.patch
   patch -Np1 <../pr171.patch
+
+  ## add a version number from pkgver
+  sed -i "s|TAG_VERSION = .*|TAG_VERSION = v${pkgver}|" flameshot.pro 
 }
 
 build() {


[arch-commits] Commit in flameshot/trunk (PKGBUILD)

2018-05-14 Thread Jiachen Yang via arch-commits
Date: Monday, May 14, 2018 @ 09:04:03
  Author: farseerfc
Revision: 321878

upgpkg: flameshot 0.5.1-4

flameshot 0.5.1-4 backport PR171

Modified:
  flameshot/trunk/PKGBUILD

--+
 PKGBUILD |7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-14 08:58:14 UTC (rev 321877)
+++ PKGBUILD2018-05-14 09:04:03 UTC (rev 321878)
@@ -3,7 +3,7 @@
 
 pkgname=flameshot
 pkgver=0.5.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Powerful yet simple to use screenshot software"
 arch=('x86_64')
 url="https://github.com/lupoDharkael/flameshot;
@@ -13,10 +13,12 @@
 source=("https://github.com/lupoDharkael/flameshot/archive/v${pkgver}.tar.gz;

"pr174.patch::https://github.com/lupoDharkael/flameshot/commit/986b7741428e1f00a5b0688e254665eab90c025a.patch;

"pr149.patch::https://github.com/lupoDharkael/flameshot/commit/1bf282921744d3b3332d626c3ca00367ac7e6a44.patch;
+   
"pr171.patch::https://github.com/lupoDharkael/flameshot/commit/b4ba65588df33ead8bd0e9898a2f0b48be9f979d.patch;
)
 sha256sums=('35220eabb8c4203abb0732c63e0b4d955e17ddd0c03c3d2c7a5beb875728e44e'
 'ad8d85d72e0729fb7629f04b1250fab354340987efd58f3fdd09ae6a7f075b27'
-'2f5b165f43831f1447b28df57cb3853a0eeaa9a52b72faddc06764e4e8715ac2')
+'2f5b165f43831f1447b28df57cb3853a0eeaa9a52b72faddc06764e4e8715ac2'
+'e6479eb2a6e489e33a57d74f25c00adead799d4bd2af9e013f92b2f22d59f50d')
 install="${pkgname}.install"
 
 prepare() {
@@ -23,6 +25,7 @@
   cd "${srcdir}/${pkgname}-${pkgver}"
   patch -Np1 <../pr174.patch
   patch -Np1 <../pr149.patch
+  patch -Np1 <../pr171.patch
 }
 
 build() {


[arch-commits] Commit in flameshot/trunk (PKGBUILD)

2018-05-03 Thread Balló György via arch-commits
Date: Thursday, May 3, 2018 @ 20:15:56
  Author: bgyorgy
Revision: 318895

Revert pkgrel

No release yet.

Modified:
  flameshot/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-03 20:13:49 UTC (rev 318894)
+++ PKGBUILD2018-05-03 20:15:56 UTC (rev 318895)
@@ -3,7 +3,7 @@
 
 pkgname=flameshot
 pkgver=0.5.1
-pkgrel=4
+pkgrel=3
 pkgdesc="Powerful yet simple to use screenshot software"
 arch=('x86_64')
 url="https://github.com/lupoDharkael/flameshot;


[arch-commits] Commit in flameshot/trunk (PKGBUILD flameshot.install)

2018-05-03 Thread Balló György via arch-commits
Date: Thursday, May 3, 2018 @ 20:10:40
  Author: bgyorgy
Revision: 318893

Remove libappindicator-gtk3 from optdepends

It's completely unrelated to a Qt application. flameshot works fine in 
GNOME if topicons extension is installed.

Modified:
  flameshot/trunk/PKGBUILD
  flameshot/trunk/flameshot.install

---+
 PKGBUILD  |5 ++---
 flameshot.install |2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-03 20:07:43 UTC (rev 318892)
+++ PKGBUILD2018-05-03 20:10:40 UTC (rev 318893)
@@ -1,9 +1,9 @@
 # Maintainer: Jiachen YANG 
-# AUR Maintainer: xyzzy <628...@gmail.com>
+# Contributor: xyzzy <628...@gmail.com>
 
 pkgname=flameshot
 pkgver=0.5.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Powerful yet simple to use screenshot software"
 arch=('x86_64')
 url="https://github.com/lupoDharkael/flameshot;
@@ -10,7 +10,6 @@
 license=('GPL')
 depends=('qt5-base')
 makedepends=('make' 'qt5-tools')
-optdepends=('libappindicator-gtk3: For Gnome3 tray icon support')
 source=("https://github.com/lupoDharkael/flameshot/archive/v${pkgver}.tar.gz;

"pr174.patch::https://github.com/lupoDharkael/flameshot/commit/986b7741428e1f00a5b0688e254665eab90c025a.patch;

"pr149.patch::https://github.com/lupoDharkael/flameshot/commit/1bf282921744d3b3332d626c3ca00367ac7e6a44.patch;

Modified: flameshot.install
===
--- flameshot.install   2018-05-03 20:07:43 UTC (rev 318892)
+++ flameshot.install   2018-05-03 20:10:40 UTC (rev 318893)
@@ -3,7 +3,7 @@
 }
 
 echo_gnome3() {
-   echo "For Gnome3 users: please install libappindicator-gtk3 and one of 
the tray icons extension to use the systray icons"
+   echo "For Gnome3 users: please install one of the tray icons extension 
to use the systray icon"
 }
 
 post_upgrade(){


[arch-commits] Commit in flameshot/trunk (PKGBUILD)

2018-04-03 Thread Jiachen Yang via arch-commits
Date: Tuesday, April 3, 2018 @ 17:09:24
  Author: farseerfc
Revision: 313985

upgpkg: flameshot 0.5.1-2

flameshot backport pr174 and pr149

Modified:
  flameshot/trunk/PKGBUILD

--+
 PKGBUILD |   17 ++---
 1 file changed, 14 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-04-03 16:57:07 UTC (rev 313984)
+++ PKGBUILD2018-04-03 17:09:24 UTC (rev 313985)
@@ -3,7 +3,7 @@
 
 pkgname=flameshot
 pkgver=0.5.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Powerful yet simple to use screenshot software"
 arch=('x86_64')
 url="https://github.com/lupoDharkael/flameshot;
@@ -10,10 +10,21 @@
 license=('GPL')
 depends=('qt5-base')
 makedepends=('make' 'qt5-tools')
-source=("https://github.com/lupoDharkael/flameshot/archive/v${pkgver}.tar.gz;)
-sha256sums=('35220eabb8c4203abb0732c63e0b4d955e17ddd0c03c3d2c7a5beb875728e44e')
+source=("https://github.com/lupoDharkael/flameshot/archive/v${pkgver}.tar.gz;
+   
"pr174.patch::https://github.com/lupoDharkael/flameshot/commit/986b7741428e1f00a5b0688e254665eab90c025a.patch;
+   
"pr149.patch::https://github.com/lupoDharkael/flameshot/commit/1bf282921744d3b3332d626c3ca00367ac7e6a44.patch;
+   )
+sha256sums=('35220eabb8c4203abb0732c63e0b4d955e17ddd0c03c3d2c7a5beb875728e44e'
+'ad8d85d72e0729fb7629f04b1250fab354340987efd58f3fdd09ae6a7f075b27'
+'2f5b165f43831f1447b28df57cb3853a0eeaa9a52b72faddc06764e4e8715ac2')
 install="${pkgname}.install"
 
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np1 <../pr174.patch
+  patch -Np1 <../pr149.patch
+}
+
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   qmake CONFIG+=packaging BASEDIR="${pkgdir}"


[arch-commits] Commit in flameshot/trunk (PKGBUILD flameshot.install)

2018-02-24 Thread Jiachen Yang via arch-commits
Date: Saturday, February 24, 2018 @ 14:28:59
  Author: farseerfc
Revision: 297929

upgpkg: flameshot 0.5.1-1

flameshot 0.5.1

Added:
  flameshot/trunk/flameshot.install
Modified:
  flameshot/trunk/PKGBUILD

---+
 PKGBUILD  |   17 ++---
 flameshot.install |9 +
 2 files changed, 15 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-02-24 14:06:28 UTC (rev 297928)
+++ PKGBUILD2018-02-24 14:28:59 UTC (rev 297929)
@@ -2,8 +2,8 @@
 # AUR Maintainer: xyzzy <628...@gmail.com>
 
 pkgname=flameshot
-pkgver=0.5.0
-pkgrel=4
+pkgver=0.5.1
+pkgrel=1
 pkgdesc="Powerful yet simple to use screenshot software"
 arch=('x86_64')
 url="https://github.com/lupoDharkael/flameshot;
@@ -10,22 +10,17 @@
 license=('GPL')
 depends=('qt5-base')
 makedepends=('make' 'qt5-tools')
-provides=('flameshot')
 source=("https://github.com/lupoDharkael/flameshot/archive/v${pkgver}.tar.gz;)
-sha256sums=('32d593c14c37286d9f64873c4ef9a07eb084723c92b2280d5c22152547c1e3f0')
+sha256sums=('35220eabb8c4203abb0732c63e0b4d955e17ddd0c03c3d2c7a5beb875728e44e')
+install="${pkgname}.install"
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  qmake
+  qmake CONFIG+=packaging BASEDIR="${pkgdir}"
   make
 }
 
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  install -Dm755 "./flameshot" "${pkgdir}/usr/bin/flameshot"
-  install -Dm644 "./dbus/package/org.dharkael.Flameshot.service" 
"${pkgdir}/usr/share/dbus-1/services/org.dharkael.Flameshot.service"
-  install -Dm644 "./dbus/org.dharkael.Flameshot.xml" 
"${pkgdir}/usr/share/dbus-1/interfaces/org.dharkael.Flameshot.xml"
-  install -Dm644 "./docs/desktopEntry/package/flameshot.desktop" 
"${pkgdir}/usr/share/applications/flameshot.desktop"
-  install -Dm644 "./docs/desktopEntry/package/flameshot-init.desktop" 
"${pkgdir}/usr/share/applications/flameshot-init.desktop"
-  install -Dm644 "./img/flameshot.png" 
"${pkgdir}/usr/share/icons/flameshot.png"
+  make install
 }

Added: flameshot.install
===
--- flameshot.install   (rev 0)
+++ flameshot.install   2018-02-24 14:28:59 UTC (rev 297929)
@@ -0,0 +1,9 @@
+post_upgrade(){
+   if [ $(vercmp $2 0.5.1) -lt 0 ]; then
+   post_install
+   fi
+}
+
+post_install(){
+   echo "See the link about keyboard shortcuts: 
https://github.com/lupoDharkael/flameshot#keyboard-shortcuts;
+}


[arch-commits] Commit in flameshot/trunk (PKGBUILD)

2018-02-22 Thread Jiachen Yang via arch-commits
Date: Friday, February 23, 2018 @ 07:37:52
  Author: farseerfc
Revision: 297176

upgpkg: flameshot 0.5.0-4

flameshot 0.5.0-4

Modified:
  flameshot/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-02-23 07:37:06 UTC (rev 297175)
+++ PKGBUILD2018-02-23 07:37:52 UTC (rev 297176)
@@ -5,7 +5,7 @@
 pkgver=0.5.0
 pkgrel=4
 pkgdesc="Powerful yet simple to use screenshot software"
-arch=('i686' 'x86_64')
+arch=('x86_64')
 url="https://github.com/lupoDharkael/flameshot;
 license=('GPL')
 depends=('qt5-base')