Add gtk3 USE flag for vimb

This commit is contained in:
root 2014-01-10 20:56:31 +01:00
parent 1fbd796ec6
commit 673ff6166e
2 changed files with 17 additions and 16 deletions

View file

@ -1 +1 @@
EBUILD vimb-9999.ebuild 781 SHA256 ebee3da1d4572b993254b85e32cc41d85947c11490b185a033a162a7fcac9ea9 SHA512 db476e5f54f964b91b89d51b3d623ba2118192eaf4771bb9d07b24b97d992edad43d1d90e992988e9585a380f0a196b28fa01b672ba445661d27fba30ebfdea8 WHIRLPOOL 1c99375950459a43fab97477d3f6df03e32368a555829efe7d13b48959321a0be8252f81197dabdfabdd8472607006799d0a653efd8dec1268c96bc05e0d18f0
EBUILD vimb-9999.ebuild 572 SHA256 ddc6e2336c1dc1df8a089211e4fdcebcfefe84b2f88eedc25e63a741cc37bef8 SHA512 50e9dfa8bd8ea0c2222057c0cbb8c743ae2b4706609657ed33d58d341602be32b63a5ee6f00da37614d8516b454cc824da6d0cedbed9f51115cf80d3dc802445 WHIRLPOOL a047974476ec332992265087bb6dc55d8059bde0d950ca6a22efcb7827dbd323761b4493dbe9246cba1c9a836d21cfca3de868ce4b9ee6e0f99483ffc56a9b0a

View file

@ -1,10 +1,5 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-client/vimprobable2/vimprobable2-9999.ebuild,v 1.3 2013/05/26 09:53:29 radhermit Exp $
EAPI=5
#inherit toolchain-funcs git-2
inherit git-2
EGIT_REPO_URI="https://github.com/fanglingsu/vimb.git"
@ -16,21 +11,27 @@ HOMEPAGE="http://fanglingsu.github.io/vimb/"
LICENSE="GPL3"
SLOT="0"
IUSE="gtk3"
RDEPEND="net-libs/libsoup:2.4
net-libs/webkit-gtk:2
!gtk3? (
x11-libs/gtk+:2
net-libs/webkit-gtk:2 )
gtk3? (
x11-libs/gtk+:3
net-libs/webkit-gtk:3 )
x11-libs/libX11"
DEPEND="${RDEPEND}
dev-lang/perl
virtual/pkgconfig"
S=${WORKDIR}/${PN}
#src_prepare() {
# tc-export CC
#}
#
#src_install() {
# dobin ${PN}
# #doman ${PN}.1 vimb.5
#}
src_compile() {
if use gtk3; then
emake GTK3=1
else
emake
fi
}