[arch-commits] Commit in barrier/trunk (CHANGELOG.rst PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Sat May 16 12:36:44 UTC 2020
Date: Saturday, May 16, 2020 @ 12:36:43
Author: foxboron
Revision: 628177
upgpkg: barrier 2.3.2-2
Added:
barrier/trunk/CHANGELOG.rst
barrier/trunk/PKGBUILD
---------------+
CHANGELOG.rst | 60 +++++++++++++++++++++++++++++++++++++++
PKGBUILD | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 146 insertions(+)
Added: CHANGELOG.rst
===================================================================
--- CHANGELOG.rst (rev 0)
+++ CHANGELOG.rst 2020-05-16 12:36:43 UTC (rev 628177)
@@ -0,0 +1,60 @@
+Changelog for package base ``barrier``
+======================================
+
+2.3.2-1 - 2019-10-12
+--------------------
+
+- Updated to upstream release 2.3.2_, for which there is no upstream
+ changelog available (apart from the VCS history).
+
+2.3.1-1 - 2019-09-25
+--------------------
+
+- Updated to upstream release 2.3.1_.
+
+ Upstream release notes since version 2.1.2_:
+
+ * Fixes for the international US keyboard (2.3.1_)
+ * Misc. Fixes and Improvements (2.3.0_)
+
+2.1.2-2 - 2018-12-29
+--------------------
+
+- The ``barrier`` package now only contains the Barrier GUI, while
+ a new package ``barrier-headless`` contains the server and client
+ CLI binaries. Users that don't require the GUI can now install only
+ the ``barrier-headless`` package and avoid the ``qt5-base`` dependency
+ required by the Barrier GUI.
+
+ The ``barrier`` package automatically pulls in the ``barrier-headless``
+ package.
+
+2.1.2-1 - 2018-12-29
+--------------------
+
+- Updated to upstream release 2.1.2_, for which there is no upstream
+ changelog available (apart from the VCS history).
+
+**Note:** While this release has been tagged as ``2.1.2`` by upstream,
+the actual version number shown by the Barrier programs is ``2.2.0``.
+
+2.1.1-2 - 2018-05-30
+--------------------
+
+- Work around Barrier `issue 49`_.
+
+2.1.1-1 - 2018-05-20
+--------------------
+
+- Updated to upstream release 2.1.1_, which contains the following
+ changes:
+
+ * Fixed ``.desktop`` file.
+
+
+.. _2.1.1: https://github.com/debauchee/barrier/releases/tag/v2.1.1
+.. _2.1.2: https://github.com/debauchee/barrier/releases/tag/v2.1.2
+.. _2.3.0: https://github.com/debauchee/barrier/releases/tag/v2.3.0
+.. _2.3.1: https://github.com/debauchee/barrier/releases/tag/v2.3.1
+.. _2.3.2: https://github.com/debauchee/barrier/releases/tag/v2.3.2
+.. _issue 49: https://github.com/debauchee/barrier/issues/49
Added: PKGBUILD
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-05-16 12:36:43 UTC (rev 628177)
@@ -0,0 +1,86 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Tilman BLUMENBACH <tilman+aur AT ax86 DOT net>
+
+pkgname=(barrier barrier-headless)
+pkgver=2.3.2
+pkgrel=2
+pkgdesc="Open-source KVM software based on Synergy"
+arch=(x86_64)
+url="https://github.com/debauchee/barrier"
+license=("custom:GPL2WithOpenSSLException")
+changelog=CHANGELOG.rst
+depends=(curl avahi libx11 libxrandr libxext
+ libxinerama xorgproto libxtst libxi
+ libsm libice openssl)
+makedepends=(cmake qt5-base hicolor-icon-theme)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/debauchee/barrier/archive/v${pkgver}.tar.gz")
+sha256sums=('6b92a70c5f4d625065842d133386982ec2ad1db2a809af47e46ab8ce2acd39b5')
+
+
+build() {
+ cd "barrier-${pkgver}"
+
+ mkdir -p build
+ cd build
+
+ cmake -G "Unix Makefiles" \
+ -D CMAKE_BUILD_TYPE:STRING=Release \
+ -D CMAKE_INSTALL_PREFIX:STRING=/usr \
+ -D BARRIER_REVISION:STRING=00000000 \
+ -D BARRIER_VERSION_STAGE:STRING=RELEASE \
+ ..
+ make
+}
+
+_package_common() {
+ # Install binaries:
+ cd "barrier-${pkgver}/build"
+ DESTDIR="${pkgdir}" make install
+
+ # Install the license:
+ cd ..
+ install -m 644 -D LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+ # Install the manpages:
+ mkdir -p "${pkgdir}/usr/share/man/man1"
+ install -m 644 doc/*.1 "${pkgdir}/usr/share/man/man1"
+
+ # Install the examples:
+ mkdir -p "${pkgdir}/usr/share/doc/${pkgname}"
+ install -m 644 doc/barrier.conf* "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+package_barrier() {
+ pkgdesc="Open-source KVM software based on Synergy (GUI)"
+ depends=("barrier-headless=${pkgver}-${pkgrel}" qt5-base hicolor-icon-theme)
+
+ # Install all the files:
+ _package_common
+
+ # Now go and delete files that are already in
+ # barrier-headless:
+ for file in \
+ /usr/share/doc \
+ /usr/share/man \
+ /usr/bin/barrier{s,c} \
+ ;do
+ rm -rf "${pkgdir}/${file}"
+ done
+}
+
+package_barrier-headless() {
+ pkgdesc="Open-source KVM software based on Synergy (client and server CLI binaries)"
+
+ # Install all the files:
+ _package_common
+
+ # Now go and delete the GUI-related files:
+ for file in \
+ /usr/bin/barrier \
+ /usr/share/applications \
+ /usr/share/icons \
+ ;do
+ rm -rf "${pkgdir}/${file}"
+ done
+}
+
More information about the arch-commits
mailing list