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

Frederik Schwan freswa at gemini.archlinux.org
Wed Mar 30 12:34:21 UTC 2022


    Date: Wednesday, March 30, 2022 @ 12:34:21
  Author: freswa
Revision: 1177789

archrelease: copy trunk to community-testing-x86_64

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

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

Copied: profanity/repos/community-testing-x86_64/PKGBUILD (from rev 1177788, profanity/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2022-03-30 12:34:21 UTC (rev 1177789)
@@ -0,0 +1,94 @@
+# 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.12.0
+pkgrel=1
+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' 'libstrophe.so'
+  )
+_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=('bd9a5d3b0bf781124e581d823bf52bfb8b8b43c428c5a2717609399b0adec15f')
+sha512sums=('2c644f42d9e9253c4f11f19bb3087dedf473adabb0b91d7b24dbf402af02f66bc3c907235ba9fa8aaf6a08cb2ef6d677a4b2fdf9e19950e7f9d35e923ff5a289')
+b2sums=('a11c56efa7fc2f513c6736ac53e681602f33359ff300783c3d9b097efebbc5d83f7160b273f0510449342962416be44576529a473d7bdc7ab13446c4865d9ce3')
+
+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