[arch-commits] Commit in profanity/repos (2 files)

Frederik Schwan freswa at gemini.archlinux.org
Wed Nov 3 16:06:14 UTC 2021


    Date: Wednesday, November 3, 2021 @ 16:06:14
  Author: freswa
Revision: 1035631

archrelease: copy trunk to community-testing-x86_64

Added:
  profanity/repos/community-testing-x86_64/
  profanity/repos/community-testing-x86_64/PKGBUILD
    (from rev 1035630, profanity/trunk/PKGBUILD)

----------+
 PKGBUILD |   93 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 93 insertions(+)

Copied: profanity/repos/community-testing-x86_64/PKGBUILD (from rev 1035630, profanity/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-11-03 16:06:14 UTC (rev 1035631)
@@ -0,0 +1,93 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: jason ryan <jasonwryan at gmail.com>
+# Contributor: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgbase=profanity
+pkgname=('profanity' 'profanity-gtk')
+pkgver=0.11.1
+pkgrel=2
+epoch=1
+pkgdesc='Console based XMPP client'
+url='http://www.profanity.im'
+arch=('x86_64')
+license=('GPL3')
+_clidepends=(
+  'libcurl.so' 'libncursesw.so' 'expat' 'glib2' 'libotr'
+  'libmesode.so' 'libnotify.so' 'libcrypt.so'
+  'libgpgme.so' 'python' 'libgcrypt' 'libsignal-protocol-c'
+  'glibc' 'libreadline.so' 'libassuan' 'libgpg-error'
+  )
+_gtkdepends=(
+  'libgtk-3.so' 'libxss' 'libx11' 'libpango-1.0.so'
+  'gdk-pixbuf2' 'libatk-1.0.so' 'cairo'
+  )
+makedepends=(
+  ${_clidepends[@]} ${_gtkdepends[@]} 'autoconf-archive'
+  )
+checkdepends=('cmocka')
+source=(https://github.com/profanity-im/profanity/archive/${pkgver}/${pkgbase}-${pkgver}.tar.gz)
+sha256sums=('6a8b0b5a478c3a2b17b8c2eb572a3173a70b4c3740c61dd638a2d04a45147f9f')
+sha512sums=('560116b85516f883711f54f2229619b49179666c6a5459df0dec311cc5ab6919bf648f14888b09f5c4f13a2d834f3c598967fe84ecf1169bc197274e8b5aaa93')
+b2sums=('07aac723f080b482295a2f1f12c7ab0dfa2112d7690bf4c05412497d14dc09dafbb0933650c5240aa465fadbc5a13d48384a7679809925cc47e8b01685cc7a81')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  mkdir -p m4
+  autoreconf -fiv
+  cp -a "${srcdir}"/${pkgname}-${pkgver}{,-gtk}
+}
+
+build() {
+  echo "Building non-gtk variant..."
+  (cd ${pkgname}-${pkgver}
+    ./configure \
+      --prefix=/usr \
+      --disable-icons-and-clipboard \
+      --without-xscreensaver \
+      --enable-notifications \
+      --enable-python-plugins \
+      --enable-c-plugins \
+      --enable-plugins \
+      --enable-otr \
+      --enable-omemo \
+      --enable-pgp
+    make
+  )
+  echo "Building gtk variant..."
+  (cd ${pkgname}-${pkgver}-gtk
+    ./configure \
+      --prefix=/usr \
+      --enable-icons-and-clipboard \
+      --with-xscreensaver \
+      --enable-notifications \
+      --enable-python-plugins \
+      --enable-c-plugins \
+      --enable-plugins \
+      --enable-otr \
+      --enable-omemo \
+      --enable-pgp
+    make
+  )
+}
+
+package_profanity() {
+  depends=(
+    ${_clidepends[@]}
+  )
+  cd ${pkgbase}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}
+
+package_profanity-gtk() {
+  pkgdesc+=' (gtk support)'
+  depends=(
+    ${_clidepends[@]} ${_gtkdepends[@]}
+  )
+  provides=('profanity')
+  conflicts=('profanity')
+  cd ${pkgbase}-${pkgver}-gtk
+  make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list