diff options
author | eroen <eroen@occam.eroen.eu> | 2013-05-29 22:15:43 +0200 |
---|---|---|
committer | eroen <eroen@occam.eroen.eu> | 2013-05-29 22:15:43 +0200 |
commit | be4d0e80a5d5c6954b5b881669fc81d8430c2340 (patch) | |
tree | 560ab54b6ba6bdb928d45afaab9648de34b31339 /x11-terms | |
parent | termite-9999: proper install prefix (diff) | |
download | eroen-be4d0e80a5d5c6954b5b881669fc81d8430c2340.tar.gz eroen-be4d0e80a5d5c6954b5b881669fc81d8430c2340.tar.bz2 eroen-be4d0e80a5d5c6954b5b881669fc81d8430c2340.zip |
termite-6 -- tagged version
Diffstat (limited to 'x11-terms')
-rw-r--r-- | x11-terms/termite/Manifest | 3 | ||||
-rw-r--r-- | x11-terms/termite/termite-6.ebuild | 51 | ||||
-rw-r--r-- | x11-terms/termite/termite-9999.ebuild | 4 |
3 files changed, 56 insertions, 2 deletions
diff --git a/x11-terms/termite/Manifest b/x11-terms/termite/Manifest index 5162381..ae30917 100644 --- a/x11-terms/termite/Manifest +++ b/x11-terms/termite/Manifest @@ -1,2 +1,3 @@ -EBUILD termite-9999.ebuild 1051 SHA256 f4469f3cc78bfc954e21d777b5e3691b9ef668233f9162f319661c0ff5662c06 SHA512 5eafc4a1284e33120385fc0bf7876d2b39f705d8af784097ddd668a5e5f347cd447fe65620978f287e3ab3c2252443c91dfa5c90569294071db31deba0ca9f2f WHIRLPOOL 64a0b8fd2a329c46c7cd89d6d1c637baefe2c1bf477ab8d791f9354b539d57ed45c4ce34af7351eefd568f31104616ab11a19563d4c878c9858bd2b66f15cbe9 +EBUILD termite-6.ebuild 1102 SHA256 4896a6d7642dcd9bf18a6f8a8d2a2fb6d5ce74af86c3cfd1f0e02c71ebb09e02 SHA512 c9c89b9d74b945d9d54ec1fad69ed5f002c8a2d13469c4b4b5b1f3e70e3a77c6f39e8d5e6588a312c9ceb283664a478f03ca3e529ff1c1d0ad16528c90fbc3fb WHIRLPOOL 3d9fbc2dc6ef14273b6f121c1dbea74723d60367c0b8c0543d1a571b90a6b8c6ac2d5d7c20048d4a47b7541443cdf2031fdf54c03c74f7faeb14ccfba04d6840 +EBUILD termite-9999.ebuild 1091 SHA256 d229d65de219a3b8657eb627992656d28c78fb091e94dbf52759183a2b68f5d5 SHA512 1c0d71b7a9f4a675a4aba3fc8a591cc4a78f0ba25d406f1059c41b9c6fbbef7bf2ff6d562f6e4f4ea1784ff84ba0db58c0207ee285b4b8db706e5dc2488c478f WHIRLPOOL 0fb48e5c0aab3fa771f38e1a5e5431c645aae355bcc9b8e5ce40d152c582e293cfd5f706753c9d8a84895138d7fd9424ba3a6d82383a05c2b0f96964e1c64854 MISC metadata.xml 303 SHA256 95bce703611f26224fac5e9b9bf4dd2fdd402e56362ebbc1fec9de0257744635 SHA512 b4c133d4105fd81749a2b154b300eb199aedc7200faca7fe807f33b5776f36c8caa820d58c9bfda5959e3f10aa65be46fd22b4daeb5d10952c1eb28441b01de0 WHIRLPOOL 95deb0e1f3af94fa27ca0196b18c14e6f243e835d1c794d84e79ed4894b621717b0f4171bed57059a1fd2594381d101bd388061eb2b424d44acab678dffe7c20 diff --git a/x11-terms/termite/termite-6.ebuild b/x11-terms/termite/termite-6.ebuild new file mode 100644 index 0000000..5564ef8 --- /dev/null +++ b/x11-terms/termite/termite-6.ebuild @@ -0,0 +1,51 @@ +# By eroen, 2013 +# Distributed under the terms of the ISC licence +# $Header: $ + +EAPI=5 + +inherit eutils toolchain-funcs versionator git-2 + +DESCRIPTION="A keyboard-centric VTE-based terminal" +HOMEPAGE="https://github.com/thestinger/termite" +EGIT_HAS_SUBMODULES=yes +EGIT_REPO_URI="git://github.com/thestinger/termite.git" +if [[ ${PV} != 999? ]]; then + EGIT_COMMIT=v${PV} +fi + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +HDEPEND="" +LIBDEPEND=">=x11-libs/gtk+-3.0 + >=x11-libs/vte-0.34[termite-patch]" +DEPEND="${LIBDEPEND}" +RDEPEND="${LIBDEPEND}" +[[ ${EAPI} == *-hdepend ]] || DEPEND+=" ${HDEPEND}" + +pkg_pretend() { + if ! version_is_at_least 4.7 $(gcc-version); then + eerror "${PN} uses -std=c++11 and requires a version" + eerror "of gcc newer than 4.7.0" + fi +} + +src_prepare() { + sed -i '/PREFIX/s:/usr/local:/usr:' Makefile + sed -i 's/-O3//g' Makefile + sed -i '/LDFLAGS/s/-s//' Makefile +} + +src_install() { + default + dodoc config +} + +pkg_postinst() { + elog + elog "Termite looks for a config file ~/.config/termite/config" + elog "An example config can be found in ${ROOT}usr/share/doc/${PF}/" +} diff --git a/x11-terms/termite/termite-9999.ebuild b/x11-terms/termite/termite-9999.ebuild index 9bacacd..40ae946 100644 --- a/x11-terms/termite/termite-9999.ebuild +++ b/x11-terms/termite/termite-9999.ebuild @@ -10,7 +10,9 @@ DESCRIPTION="A keyboard-centric VTE-based terminal" HOMEPAGE="https://github.com/thestinger/termite" EGIT_HAS_SUBMODULES=yes EGIT_REPO_URI="git://github.com/thestinger/termite.git" -#SRC_URI="" +if [[ ${PV} != 999? ]]; then + EGIT_COMMIT=v${PV} +fi LICENSE="GPL-2+" SLOT="0" |