add x11-misc/gpaste (newer version than in ::gentoo)
This commit is contained in:
parent
28ace42a5d
commit
01332f73fd
1 changed files with 90 additions and 0 deletions
90
x11-misc/gpaste/gpaste-3.40.1.ebuild
Normal file
90
x11-misc/gpaste/gpaste-3.40.1.ebuild
Normal file
|
@ -0,0 +1,90 @@
|
||||||
|
# Copyright 2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
VALA_MIN_API_VERSION="0.44"
|
||||||
|
VALA_USE_DEPEND="vapigen"
|
||||||
|
|
||||||
|
inherit meson vala gnome2-utils
|
||||||
|
|
||||||
|
DESCRIPTION="Clipboard management system"
|
||||||
|
HOMEPAGE="https://github.com/Keruspe/GPaste"
|
||||||
|
SRC_URI="https://github.com/Keruspe/GPaste/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="+gnome +introspection systemd vala"
|
||||||
|
REQUIRED_USE="
|
||||||
|
gnome? ( introspection )
|
||||||
|
vala? ( introspection )
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
dev-libs/appstream-glib
|
||||||
|
>=dev-libs/glib-2.64:2
|
||||||
|
sys-apps/dbus
|
||||||
|
>=x11-libs/gdk-pixbuf-2.38:2
|
||||||
|
>=x11-libs/gtk+-3.24:3
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXi
|
||||||
|
x11-libs/pango
|
||||||
|
gnome? (
|
||||||
|
>=x11-wm/mutter-40.0
|
||||||
|
)
|
||||||
|
introspection? (
|
||||||
|
>=dev-libs/gjs-1.54.0
|
||||||
|
>=dev-libs/gobject-introspection-1.48.0
|
||||||
|
>=x11-wm/mutter-40.0[introspection]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
virtual/pkgconfig
|
||||||
|
gnome? (
|
||||||
|
gnome-base/gnome-control-center:2
|
||||||
|
)
|
||||||
|
systemd? (
|
||||||
|
sys-apps/systemd
|
||||||
|
)
|
||||||
|
vala? ( $(vala_depend) )
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
gnome? (
|
||||||
|
gnome-base/gnome-control-center:2
|
||||||
|
gnome-base/gnome-shell
|
||||||
|
)
|
||||||
|
systemd? (
|
||||||
|
sys-apps/systemd
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
S="${WORKDIR}/GPaste-${PV}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
use vala && vala_src_prepare
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
$(meson_use systemd systemd)
|
||||||
|
-Dbash-completion=true
|
||||||
|
-Dzsh-completion=true
|
||||||
|
-Dx-keybinder=true
|
||||||
|
-Dcontrol-center-keybindings-dir=$(usex gnome '' \
|
||||||
|
'/usr/share/gnome-control-center/keybindings')
|
||||||
|
$(meson_use introspection introspection)
|
||||||
|
$(meson_use vala vapi)
|
||||||
|
$(meson_use gnome gnome-shell)
|
||||||
|
)
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gnome2_schemas_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_schemas_update
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue