2013-03-04 01:39:33 +04:00
|
|
|
# Copyright 1999-2013 Gentoo Foundation
|
2012-06-30 20:07:25 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2013-10-22 12:58:14 +04:00
|
|
|
# $Header: /var/cvsroot/gentoo-x86/x11-misc/qlipper/qlipper-2.0.2.ebuild,v 1.3 2013/10/20 22:37:32 pesa Exp $
|
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"
|
|
|
|
HOMEPAGE="http://code.google.com/p/qlipper/"
|
|
|
|
SRC_URI="http://qlipper.googlecode.com/files/${P}.tar.bz2"
|
|
|
|
|
|
|
|
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
|
|
|
|
dev-qt/qtsingleapplication
|
|
|
|
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
|
|
|
}
|