2015-05-11 12:20:19 +03:00
|
|
|
# Copyright 1999-2015 Gentoo Foundation
|
2012-06-30 20:07:25 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-08-10 23:59:40 +03:00
|
|
|
# $Id$
|
2013-10-02 10:54:49 +04:00
|
|
|
|
|
|
|
EAPI=5
|
2012-06-30 20:07:25 +04:00
|
|
|
|
2012-07-31 23:14:20 +04:00
|
|
|
PLOCALES="cs sr"
|
2013-10-02 10:54:49 +04:00
|
|
|
|
|
|
|
inherit cmake-utils l10n
|
2012-06-30 20:07:25 +04:00
|
|
|
|
|
|
|
DESCRIPTION="Lightweight and cross-platform clipboard history applet"
|
2015-09-02 17:38:56 +03:00
|
|
|
HOMEPAGE="https://github.com/pvanek/qlipper"
|
2015-08-25 09:01:42 +03:00
|
|
|
SRC_URI="https://qlipper.googlecode.com/files/${P}.tar.bz2"
|
2012-06-30 20:07:25 +04:00
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
2013-10-22 12:58:14 +04:00
|
|
|
KEYWORDS="~amd64 ~x86"
|
2012-06-30 20:07:25 +04:00
|
|
|
IUSE=""
|
|
|
|
|
2013-10-02 10:54:49 +04:00
|
|
|
DEPEND="
|
|
|
|
dev-qt/qtcore:4
|
|
|
|
dev-qt/qtgui:4
|
2015-05-11 12:20:19 +03:00
|
|
|
dev-qt/qtsingleapplication[qt4(+),X]
|
2013-10-02 10:54:49 +04:00
|
|
|
x11-libs/libqxt
|
|
|
|
"
|
2012-06-30 20:07:25 +04:00
|
|
|
RDEPEND="${DEPEND}"
|
2012-07-31 23:14:20 +04:00
|
|
|
|
2013-10-02 10:54:49 +04:00
|
|
|
PATCHES=(
|
|
|
|
"${FILESDIR}/${P}-system-includes.patch"
|
|
|
|
)
|
|
|
|
|
2012-07-31 23:14:20 +04:00
|
|
|
src_prepare() {
|
2013-10-02 10:54:49 +04:00
|
|
|
cmake-utils_src_prepare
|
|
|
|
l10n_for_each_disabled_locale_do rm_ts
|
2012-07-31 23:14:20 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
2013-10-02 10:54:49 +04:00
|
|
|
cmake-utils_src_configure INSTALL_PREFIX="${EPREFIX}"/usr
|
2012-07-31 23:14:20 +04:00
|
|
|
}
|
|
|
|
|
2013-10-02 10:54:49 +04:00
|
|
|
rm_ts() {
|
|
|
|
rm -f "${S}"/ts/${PN}.${1}.ts
|
2012-07-31 23:14:20 +04:00
|
|
|
}
|