diff options
author | 2013-05-29 21:33:30 +0200 | |
---|---|---|
committer | 2013-05-29 21:33:30 +0200 | |
commit | f69c86ee5fc1e478a7d1c5e682bafa47a2ce91dc (patch) | |
tree | a7f4cbb50c896f54ed1ea102290da187cb2d4694 /x11-terms | |
parent | termite-9999: don't strip (diff) | |
download | eroen-f69c86ee5fc1e478a7d1c5e682bafa47a2ce91dc.tar.gz eroen-f69c86ee5fc1e478a7d1c5e682bafa47a2ce91dc.tar.bz2 eroen-f69c86ee5fc1e478a7d1c5e682bafa47a2ce91dc.zip |
termite-9999: cleanup
Diffstat (limited to 'x11-terms')
-rw-r--r-- | x11-terms/termite/Manifest | 2 | ||||
-rw-r--r-- | x11-terms/termite/termite-9999.ebuild | 24 |
2 files changed, 23 insertions, 3 deletions
diff --git a/x11-terms/termite/Manifest b/x11-terms/termite/Manifest index e11b2dc..93d669c 100644 --- a/x11-terms/termite/Manifest +++ b/x11-terms/termite/Manifest @@ -1,2 +1,2 @@ -EBUILD termite-9999.ebuild 588 SHA256 6f4459c104f7f58bad9ceb398887727f6cefed85b516c6b769d578dbb47b7805 SHA512 6cb247344e279d0ca79c37440d2d2867c80347c72d963e7edd0734ee9f3200347eb6ef4623c63dc62fce04a6042a1c792a445c3987d3c0b0fb1742cd3e651c8f WHIRLPOOL 882f9492a09476de7a69733bd651f41487c113584cc504a833a25ab18c00689cd027d32d98055114764e98cc88df3597b5762866454bc733b2af92647e706eaa +EBUILD termite-9999.ebuild 1062 SHA256 c5a35c21438da636c936ba966ff4baa1fd3c487f0b38e3b0cdcd54684a2bd887 SHA512 050d75a37c3f0171a5bef1d6a2d1180dd6ff6897cfbbc79e4ac013188fd2d5994ca4b8a7e94ecb7074e23807e2a04ae4b89ae58e248af38179e3f1dfe581ff64 WHIRLPOOL a124573d192ca06b893cbb8876b2abd3bbfe63288d6e9fa613f267cc1d9d0bad1a21ea2eac88866b32f6234e77ff346020c29b6329a04bdac10a522b0cab67ee MISC metadata.xml 303 SHA256 95bce703611f26224fac5e9b9bf4dd2fdd402e56362ebbc1fec9de0257744635 SHA512 b4c133d4105fd81749a2b154b300eb199aedc7200faca7fe807f33b5776f36c8caa820d58c9bfda5959e3f10aa65be46fd22b4daeb5d10952c1eb28441b01de0 WHIRLPOOL 95deb0e1f3af94fa27ca0196b18c14e6f243e835d1c794d84e79ed4894b621717b0f4171bed57059a1fd2594381d101bd388061eb2b424d44acab678dffe7c20 diff --git a/x11-terms/termite/termite-9999.ebuild b/x11-terms/termite/termite-9999.ebuild index e707971..534d4b8 100644 --- a/x11-terms/termite/termite-9999.ebuild +++ b/x11-terms/termite/termite-9999.ebuild @@ -4,7 +4,7 @@ EAPI=5 -inherit eutils git-2 +inherit eutils toolchain-funcs git-2 DESCRIPTION="A keyboard-centric VTE-based terminal" HOMEPAGE="https://github.com/thestinger/termite" @@ -18,12 +18,32 @@ KEYWORDS="" IUSE="" HDEPEND="" -LIBDEPEND=">=x11-libs/vte-0.34[termite-patch]" +LIBDEPEND=">=x11-libs/gtk+-3.0 + >=x11-libs/vte-0.34[termite-patch]" DEPEND="${LIBDEPEND}" RDEPEND="${LIBDEPEND}" [[ ${EAPI} == *-hdepend ]] || DEPEND+=" ${HDEPEND}" +pkg_pretend() { + if [[ $(gcc-major-version) -lt 4 ]] \ + || ( [[ $(gcc-major-version) -eq 4 ]] \ + && [[ $(gcc-minor-version) -lt 7 ]] ); then + eerror "${PN} uses -std=c++11 and requires a version" + eerror "of gcc newer than 4.7.0" + fi +} + src_prepare() { sed -i 's/-O3//g' Makefile sed -i '/LDFLAGS/s/-s//' Makefile } + +src_install() { + default + dodoc config +} + +pkg_postinst() { + elog "Termite looks for a config file ~/.config/termite/config" + elog "An example config can be found in ${ROOT}usr/share/doc/${PF}/" +} |