2018-03-21 05:20:55 +01:00
|
|
|
# Template file for 'GPaste'
|
|
|
|
pkgname=GPaste
|
2018-11-15 02:14:19 +01:00
|
|
|
version=3.30.2
|
2018-03-21 05:20:55 +01:00
|
|
|
revision=1
|
2018-10-05 23:49:12 +02:00
|
|
|
wrksrc="gpaste-${version}"
|
2018-03-21 05:20:55 +01:00
|
|
|
build_style=gnu-configure
|
2018-10-05 23:49:12 +02:00
|
|
|
configure_args="--disable-static --with-gtk=3.0
|
|
|
|
--with-controlcenterdir=/usr/share/gnome-control-center/keybindings
|
|
|
|
$(vopt_enable gir introspection) $(vopt_enable gir gnome-shell-extension)
|
|
|
|
$(vopt_enable vala vala)"
|
|
|
|
hostmakedepends="gettext-devel glib-devel intltool pkg-config
|
|
|
|
$(vopt_if gir gobject-introspection) $(vopt_if vala vala)"
|
|
|
|
makedepends="appstream-glib-devel dbus-devel gdk-pixbuf-devel gtk+3-devel
|
|
|
|
libglib-devel libXi-devel libXtst-devel libX11-devel $(vopt_if gir gjs-devel)
|
|
|
|
$(vopt_if gir mutter-devel) $(vopt_if vala vala-devel)"
|
2018-03-21 05:20:55 +01:00
|
|
|
short_desc="Clipboard management system"
|
2018-10-05 23:49:12 +02:00
|
|
|
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
|
2018-06-12 03:02:35 +02:00
|
|
|
license="BSD-2-Clause"
|
2018-10-05 23:49:12 +02:00
|
|
|
homepage="https://www.imagination-land.org/tags/GPaste.html"
|
|
|
|
distfiles="https://www.imagination-land.org/files/gpaste/gpaste-${version}.tar.xz"
|
2018-11-15 02:14:19 +01:00
|
|
|
checksum=a932adf57804bf085b2fee0fe5efd642ce0e58c68bddf59b6c5e4033caf2290d
|
2018-03-21 05:20:55 +01:00
|
|
|
|
2018-10-05 23:49:12 +02:00
|
|
|
# Package build options
|
|
|
|
build_options="gir vala"
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir vala"
|
|
|
|
fi
|
2018-03-21 05:20:55 +01:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense COPYING
|
|
|
|
}
|
2018-06-12 03:02:35 +02:00
|
|
|
|
|
|
|
GPaste-devel_package() {
|
|
|
|
depends="libgpaste-${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
vmove usr/share/vala
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libgpaste_package() {
|
|
|
|
short_desc+=" - gpaste library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/libgpaste.so.*"
|
|
|
|
}
|
|
|
|
}
|