mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
@@ -1,2 +1 @@
|
||||
DIST gpaste-3.20.3.tar.gz 157869 BLAKE2B 02b52b8023c875bd3c651cc5864603812f0cfd49cfac774ee4e27eae63c66e46f34d5128b717af514cc1c57fb93a775ff01f827210bd7cfa5e9ab5de9a87fd07 SHA512 08b7c52d16e630ac57e4d583ae985763b536728ef9997ce5ecc8a8ffb9be8745e1e5aed9003a4ab522ba76a276855c6a095fef7a73b4f4d80b54c7a9c3e6e9d1
|
||||
DIST gpaste-3.36.3.tar.gz 186352 BLAKE2B b00af3f32076bbeb4f06853a7892772901d0c72dd972d08fff0520afae388bed0c9eee81892a2492f4bb972b3a80a924519e1c137edb660fa5f9dfa2fab31856 SHA512 e5fe4a31367e96089aefd1af5ed0a3ad591eee009bbc74b1b33c9c736061831979d79f2d6a5c072cf55fc6f1982ade581fe73d2039c5dbd607081683860c7b9f
|
||||
|
||||
@@ -1,81 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
VALA_MIN_API_VERSION="0.30"
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
|
||||
inherit eutils autotools gnome2-utils ltprune vala vcs-snapshot
|
||||
|
||||
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="+applet gnome vala"
|
||||
|
||||
CDEPEND="
|
||||
dev-libs/appstream-glib
|
||||
>=dev-libs/glib-2.48:2
|
||||
>=dev-libs/gobject-introspection-1.48.0
|
||||
sys-apps/dbus
|
||||
>=x11-libs/gdk-pixbuf-2.34:2
|
||||
>=x11-libs/gtk+-3.20:3
|
||||
x11-libs/libX11
|
||||
x11-libs/libXi
|
||||
gnome? (
|
||||
gnome-base/gnome-control-center:2
|
||||
media-libs/clutter
|
||||
x11-libs/pango
|
||||
)
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
gnome? (
|
||||
gnome-base/gnome-shell
|
||||
)
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
eautoreconf
|
||||
intltoolize --force --automake || die "intltoolize error"
|
||||
vala_src_prepare
|
||||
|
||||
if ! use gnome ; then
|
||||
echo "" > data/control-center.mk || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable vala) \
|
||||
$(use_enable applet) \
|
||||
--disable-unity \
|
||||
$(use_enable gnome gnome-shell-extension) \
|
||||
--disable-static \
|
||||
--disable-schemas-compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_schemas_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_schemas_update
|
||||
}
|
||||
@@ -3,7 +3,6 @@
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<use>
|
||||
<flag name="applet">Enable gpaste-applet</flag>
|
||||
<flag name="gnome">Enable proper gnome support and
|
||||
enable gnome shell extension.</flag>
|
||||
</use>
|
||||
|
||||
Reference in New Issue
Block a user