mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-03-13 14:35:49 +01:00
Added termite form nightmare overlay
This commit is contained in:
60
x11-terms/termite/termite-9999.ebuild
Normal file
60
x11-terms/termite/termite-9999.ebuild
Normal file
@@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
#
|
||||
# WARNING: copyright and license above in header are only for quality assurance software!
|
||||
# Original ebuild by eroen <eroen-overlay@occam.eroen.eu>, 2013
|
||||
# Distributed under the terms of the ISC license
|
||||
|
||||
EAPI=5
|
||||
inherit eutils toolchain-funcs versionator git-r3
|
||||
|
||||
DESCRIPTION="A keyboard-centric VTE-based terminal"
|
||||
HOMEPAGE="https://github.com/thestinger/termite"
|
||||
|
||||
EGIT_REPO_URI="git://github.com/thestinger/termite.git"
|
||||
if [[ ${PV} != 999? ]]; then
|
||||
EGIT_COMMIT=v${PV}
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2+ MIT"
|
||||
SLOT="0"
|
||||
|
||||
if [[ ${PV} != 999? ]]; then
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
else
|
||||
KEYWORDS=""
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
HDEPEND=""
|
||||
|
||||
LIBDEPEND="
|
||||
>=x11-libs/gtk+-3.0
|
||||
>=x11-libs/vte-ng-0.44.1.9999
|
||||
"
|
||||
|
||||
DEPEND="${LIBDEPEND}"
|
||||
RDEPEND="${LIBDEPEND}"
|
||||
|
||||
[[ ${EAPI} == *-hdepend ]] || DEPEND+=" ${HDEPEND}"
|
||||
|
||||
pkg_pretend() {
|
||||
if ! version_is_at_least 4.7 $(gcc-version); then
|
||||
eerror "${PN} passes -std=c++11 to \${CXX} and requires a version"
|
||||
eerror "of gcc newer than 4.7.0"
|
||||
fi
|
||||
}
|
||||
|
||||
#pkg_setup() {
|
||||
# CXXFLAGS="-O0 ${CXXFLAGS}"
|
||||
#}
|
||||
|
||||
src_compile() {
|
||||
emake LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX=/usr install
|
||||
}
|
||||
Reference in New Issue
Block a user