diff options
author | 2018-05-09 19:53:27 +0200 | |
---|---|---|
committer | 2018-05-09 19:53:27 +0200 | |
commit | 028821a7cd22dd49d4899d5d542967205b1413f0 (patch) | |
tree | d9bf1abd3f07d85174bb7ef7f9f971f3d9b2c2ad | |
parent | x11-wm/i3-gaps: Add x86 keyword (diff) | |
download | johu-028821a7cd22dd49d4899d5d542967205b1413f0.tar.gz johu-028821a7cd22dd49d4899d5d542967205b1413f0.tar.bz2 johu-028821a7cd22dd49d4899d5d542967205b1413f0.zip |
x11-wm/i3-gaps: Version bump 4.15.0.1
Package-Manager: Portage-2.3.36, Repoman-2.3.9
-rw-r--r-- | x11-wm/i3-gaps/Manifest | 1 | ||||
-rw-r--r-- | x11-wm/i3-gaps/i3-gaps-4.15.0.1.ebuild | 87 |
2 files changed, 88 insertions, 0 deletions
diff --git a/x11-wm/i3-gaps/Manifest b/x11-wm/i3-gaps/Manifest index 66b06cc..fae95fd 100644 --- a/x11-wm/i3-gaps/Manifest +++ b/x11-wm/i3-gaps/Manifest @@ -1 +1,2 @@ +DIST i3-gaps-4.15.0.1.tar.gz 3965631 BLAKE2B ea65886c40f377125bafbd80e2d56c1d66a4c5c06d942d645b2cb226323a0903e98aa58b67da9c31c60240b5d99d10ecc20864aeede95a5039ea0ffdff8dcb8b SHA512 76ff860e4ca0edd0e22bdff9ae9b1bc150df2b5bc15b0d7ea7a63d373e8d156a43bd91f8a40c48b4c771603f7de7c18c6d16c53fef582e53f51c53a197fa7a0a DIST i3-gaps-4.15.tar.gz 3965504 BLAKE2B 01b1620e604c954a55c6710129e29cd5e4506df7c30c899eed7c2fb8d77eae097bdfaa12cb91fb92520a33239e19675b8d20ef1eeff056961d8a64c82fdc7d69 SHA512 83a36a1db7099f8a9a6f9ad1c7434a187a75ccd8f6fd4e4442a912a3409b851fb8153d9c3e72d68dcfaedce8b6f0ad249e08226238c82873bc0691dbf94c7fda diff --git a/x11-wm/i3-gaps/i3-gaps-4.15.0.1.ebuild b/x11-wm/i3-gaps/i3-gaps-4.15.0.1.ebuild new file mode 100644 index 0000000..54936b5 --- /dev/null +++ b/x11-wm/i3-gaps/i3-gaps-4.15.0.1.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools eapi7-ver + +DESCRIPTION="i3 fork with gaps and some more features" +HOMEPAGE="https://github.com/Airblader/i3" +SRC_URI="https://github.com/Airblader/i3/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +CDEPEND=" + dev-libs/glib:2 + dev-libs/libev + dev-libs/libpcre + dev-libs/yajl + x11-libs/cairo[X,xcb] + x11-libs/libxcb[xkb] + x11-libs/libxkbcommon[X] + x11-libs/pango[X] + x11-libs/startup-notification + x11-libs/xcb-util + x11-libs/xcb-util-cursor + x11-libs/xcb-util-keysyms + x11-libs/xcb-util-wm + x11-libs/xcb-util-xrm +" +DEPEND="${CDEPEND} + virtual/pkgconfig +" +RDEPEND="${CDEPEND} + dev-lang/perl + dev-perl/AnyEvent-I3 + dev-perl/JSON-XS + !x11-wm/i3 +" + +S=${WORKDIR}/i3-${PV} + +DOCS=( RELEASE-NOTES-$(ver_cut 1-2) ) + +PATCHES=( "${FILESDIR}/${PN}-$(ver_cut 1-2)-musl.patch" ) + +src_prepare() { + default + sed -e '/AC_PATH_PROG(\[PATH_ASCIIDOC/d' -i configure.ac || die + eautoreconf + cat <<- EOF > "${T}"/i3wm + #!/bin/sh + exec /usr/bin/i3 + EOF +} + +src_configure() { + # disable sanitizer: otherwise injects -O0 -g + local myeconfargs=( + --enable-debug=no + --disable-sanitizers + ) + econf "${myeconfargs[@]}" +} + +src_compile() { + emake -C "${CBUILD}" +} + +src_install() { + emake -C "${CBUILD}" DESTDIR="${D}" install + einstalldocs + + exeinto /etc/X11/Sessions + doexe "${T}"/i3wm +} + +pkg_postinst() { + einfo "There are several packages that you may find useful with ${PN} and" + einfo "their usage is suggested by the upstream maintainers, namely:" + einfo " x11-misc/dmenu" + einfo " x11-misc/i3lock" + einfo " x11-misc/i3status" + einfo "Please refer to their description for additional info." +} |