/[gentoo-x86]/app-misc/ckb/ckb-0.1.6.ebuild
Gentoo

Contents of /app-misc/ckb/ckb-0.1.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Aug 8 11:00:51 2015 UTC (5 years, 3 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump. Remove old.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key )

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/ckb/ckb-0.1.6.ebuild,v 1.1 2015/07/30 11:17:35 mrueg Exp $
4
5 EAPI=5
6
7 inherit qmake-utils systemd
8
9 DESCRIPTION="Corsair K65/K70/K95 Driver"
10 HOMEPAGE="https://github.com/ccMSC/ckb"
11 SRC_URI="https://github.com/ccMSC/ckb/archive/v${PV}.tar.gz -> ${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64"
16 IUSE=""
17
18 DEPEND="dev-libs/quazip[qt5]
19 dev-qt/qtcore:5
20 dev-qt/qtgui:5
21 dev-qt/qtnetwork:5
22 dev-qt/qtwidgets:5"
23 RDEPEND="${DEPEND}"
24
25 DOCS=( README.md BUILD.md DAEMON.md )
26
27 src_prepare() {
28 sed -i -e "s/-Werror=all//" src/ckb-daemon/ckb-daemon.pro || die
29 sed -i -e "/quazip/d" -e "s/^.*QUAZIP_STATIC/LIBS += -lquazip/" src/ckb/ckb.pro || die
30 }
31
32 src_configure() {
33 eqmake5
34 }
35
36 src_install() {
37 dobin bin/ckb bin/ckb-daemon
38 dodir /usr/bin/ckb-animations
39 exeinto /usr/bin/ckb-animations
40 doexe bin/ckb-animations/*
41
42 newinitd "${FILESDIR}"/ckb.initd ckb-daemon
43 domenu usr/ckb.desktop
44 doicon usr/ckb.png
45 systemd_dounit service/systemd/ckb-daemon.service
46 }

  ViewVC Help
Powered by ViewVC 1.1.20