[arch-commits] Commit in otter-browser/repos/community-x86_64 (PKGBUILD PKGBUILD)

Balló György bgyorgy at archlinux.org
Wed Jun 3 09:50:36 UTC 2020


    Date: Wednesday, June 3, 2020 @ 09:50:36
  Author: bgyorgy
Revision: 638254

archrelease: copy trunk to community-x86_64

Added:
  otter-browser/repos/community-x86_64/PKGBUILD
    (from rev 638253, otter-browser/trunk/PKGBUILD)
Deleted:
  otter-browser/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  101 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 53 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-03 09:50:32 UTC (rev 638253)
+++ PKGBUILD	2020-06-03 09:50:36 UTC (rev 638254)
@@ -1,48 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Steffen Weber <-boenki-gmx-de->
-
-pkgbase=otter-browser
-pkgname=(otter-browser{,-nowebengine})
-pkgver=1.0.01
-pkgrel=2
-pkgdesc="Web browser aiming to recreate the best aspects of the classic Opera (12.x) UI using Qt5"
-arch=('x86_64')
-url="https://otter-browser.org/"
-license=('GPL3')
-depends=('desktop-file-utils' 'hunspell' 'qt5-multimedia' 'qt5-svg' 'qt5-webengine' 'qt5-webkit' 'qt5-xmlpatterns')
-makedepends=('cmake')
-source=($pkgbase-$pkgver.tar.gz::https://github.com/OtterBrowser/$pkgbase/archive/v$pkgver.tar.gz)
-sha256sums=('85aef7c74277cf94de237e516c3c2d507b3d19b9ad16853de938540b8bf2f16b')
-
-prepare() {
-  mkdir build{,-nowebengine}
-}
-
-build() {
-  cd build
-  cmake ../$pkgbase-$pkgver -DCMAKE_INSTALL_PREFIX="/usr"
-  make
-
-  cd ../build-nowebengine
-  cmake ../$pkgbase-$pkgver -DCMAKE_INSTALL_PREFIX="/usr" -DENABLE_QTWEBENGINE=OFF
-  make
-}
-
-package_otter-browser() {
-  cd build
-  make DESTDIR="$pkgdir" install
-  install -Dm644 ../$pkgbase-$pkgver/packaging/$pkgbase.appdata.xml "$pkgdir/usr/share/metainfo/$pkgbase.appdata.xml"
-}
-
-package_otter-browser-nowebengine() {
-  pkgdesc+=' without WebEngine support'
-  depends=('desktop-file-utils' 'hicolor-icon-theme' 'hunspell' 'qt5-multimedia' 'qt5-svg' 'qt5-webkit' 'qt5-xmlpatterns')
-  conflicts=($pkgbase)
-  provides=($pkgbase=$pkgver)
-
-  cd build-nowebengine
-  make DESTDIR="$pkgdir" install
-
-  # Ignore package by AppStream to avoid duplicated IDs
-  echo 'X-AppStream-Ignore=true' >> "$pkgdir/usr/share/applications/$pkgbase.desktop"
-}

Copied: otter-browser/repos/community-x86_64/PKGBUILD (from rev 638253, otter-browser/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-06-03 09:50:36 UTC (rev 638254)
@@ -0,0 +1,53 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Steffen Weber <-boenki-gmx-de->
+
+pkgbase=otter-browser
+pkgname=(otter-browser{,-nowebengine})
+pkgver=1.0.01
+pkgrel=3
+pkgdesc="Web browser aiming to recreate the best aspects of the classic Opera (12.x) UI using Qt5"
+arch=('x86_64')
+url="https://otter-browser.org/"
+license=('GPL3')
+depends=('hunspell' 'qt5-multimedia' 'qt5-svg' 'qt5-webengine' 'qt5-webkit' 'qt5-xmlpatterns')
+makedepends=('cmake')
+source=($pkgbase-$pkgver.tar.gz::https://github.com/OtterBrowser/$pkgbase/archive/v$pkgver.tar.gz)
+sha256sums=('85aef7c74277cf94de237e516c3c2d507b3d19b9ad16853de938540b8bf2f16b')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # Fix metainfo file
+  # https://github.com/OtterBrowser/otter-browser/issues/1649
+  sed -i 's/org.otter_browser.Otter_Browser.desktop/otter-browser.desktop/' packaging/$pkgbase.appdata.xml
+
+  mkdir ../build{,-nowebengine}
+}
+
+build() {
+  cd build
+  cmake ../$pkgbase-$pkgver -DCMAKE_INSTALL_PREFIX="/usr"
+  make
+
+  cd ../build-nowebengine
+  cmake ../$pkgbase-$pkgver -DCMAKE_INSTALL_PREFIX="/usr" -DENABLE_QTWEBENGINE=OFF
+  make
+}
+
+package_otter-browser() {
+  cd build
+  make DESTDIR="$pkgdir" install
+  install -Dm644 ../$pkgbase-$pkgver/packaging/$pkgbase.appdata.xml "$pkgdir/usr/share/metainfo/$pkgbase.appdata.xml"
+}
+
+package_otter-browser-nowebengine() {
+  pkgdesc+=' without WebEngine support'
+  depends=('hicolor-icon-theme' 'hunspell' 'qt5-multimedia' 'qt5-svg' 'qt5-webkit' 'qt5-xmlpatterns')
+  conflicts=($pkgbase)
+  provides=($pkgbase=$pkgver)
+
+  cd build-nowebengine
+  make DESTDIR="$pkgdir" install
+
+  # Ignore package by AppStream to avoid duplicated IDs
+  sed -i '/^Actions=/a X-AppStream-Ignore=true' "$pkgdir/usr/share/applications/$pkgbase.desktop"
+}


More information about the arch-commits mailing list