[arch-commits] Commit in gpaste/repos (3 files)

Jan Steffens heftig at archlinux.org
Fri Sep 13 12:34:43 UTC 2019


    Date: Friday, September 13, 2019 @ 12:34:42
  Author: heftig
Revision: 362524

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  gpaste/repos/gnome-unstable-x86_64/
  gpaste/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 362517, gpaste/trunk/PKGBUILD)
  gpaste/repos/gnome-unstable-x86_64/build.diff
    (from rev 362518, gpaste/trunk/build.diff)

------------+
 PKGBUILD   |   42 ++++++++++++++++++++++++++++++++++++++++++
 build.diff |   44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)

Copied: gpaste/repos/gnome-unstable-x86_64/PKGBUILD (from rev 362517, gpaste/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2019-09-13 12:34:42 UTC (rev 362524)
@@ -0,0 +1,42 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=gpaste
+pkgver=3.34.0
+pkgrel=1
+pkgdesc="Clipboard management system"
+url="https://www.imagination-land.org/tags/GPaste.html"
+license=(BSD)
+arch=(x86_64)
+depends=(gtk3)
+makedepends=(vala appstream-glib gobject-introspection gnome-shell
+             gnome-control-center git meson)
+optdepends=("wgetpaste: Upload clipboard contents")
+_commit=82c2be95052b51f67ebecffbca325b983d2ee6e1  # tags/v3.34.0^0
+source=("git+https://github.com/keruspe/gpaste#commit=$_commit"
+        build.diff)
+sha256sums=('SKIP'
+            '236d50bac1a3e86f19b39a74b6b7c14c1545d0396200d7dad993beed663484ef')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  patch -Np1 -i ../build.diff
+}
+
+build() {
+  arch-meson $pkgname build
+  ninja -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname/COPYING
+}

Copied: gpaste/repos/gnome-unstable-x86_64/build.diff (from rev 362518, gpaste/trunk/build.diff)
===================================================================
--- gnome-unstable-x86_64/build.diff	                        (rev 0)
+++ gnome-unstable-x86_64/build.diff	2019-09-13 12:34:42 UTC (rev 362524)
@@ -0,0 +1,44 @@
+diff --git i/data/systemd/meson.build w/data/systemd/meson.build
+index a42f7179..dec3f95d 100644
+--- i/data/systemd/meson.build
++++ w/data/systemd/meson.build
+@@ -2,10 +2,14 @@ configure_file(
+   input: 'org.gnome.GPaste.Ui.systemd.in',
+   configuration: conf,
+   output: 'org.gnome.GPaste.Ui.service',
++  install: get_option('systemd'),
++  install_dir: userunit_dir,
+ )
+ 
+ configure_file(
+   input: 'org.gnome.GPaste.systemd.in',
+   configuration: conf,
+   output: 'org.gnome.GPaste.service',
+-)
+\ No newline at end of file
++  install: get_option('systemd'),
++  install_dir: userunit_dir,
++)
+diff --git i/src/libgpaste/meson.build w/src/libgpaste/meson.build
+index 1a1b0ca5..68a116cc 100644
+--- i/src/libgpaste/meson.build
++++ w/src/libgpaste/meson.build
+@@ -143,14 +143,17 @@ libgpaste_inc = include_directories(
+   'util',
+ )
+ 
++libgpaste_symbols_file = meson.current_source_dir() / 'libgpaste.sym'
++
+ libgpaste = library(
+   'gpaste',
+   sources: libgpaste_sources,
+   version: gpaste_soversion,
+   dependencies: libgpaste_deps,
+   install: true,
+   install_dir: get_option('libdir'),
+-   include_directories : libgpaste_inc,
++  include_directories : libgpaste_inc,
++  link_args: ['-Wl,--version-script=' + libgpaste_symbols_file],
+ )
+ 
+ libgpaste_internal_dep = declare_dependency(



More information about the arch-commits mailing list