Browse Source

Push v0.1

master
Tim 5 years ago
parent
commit
f3f1e8eb02
  1. 10
      README.md
  2. 1
      metadata/layout.conf
  3. 1
      x11-misc/i3gaps/Manifest
  4. 81
      x11-misc/i3gaps/i3gaps-9999.ebuild
  5. 1
      x11-misc/i3gapsnext/Manifest
  6. 81
      x11-misc/i3gapsnext/i3gapsnext-9999.ebuild

10
README.md

@ -0,0 +1,10 @@
## i3gaps ebuild overlay
Simple i3gaps ebuild overlay for everyone to use
Contains:
- i3gaps (uses gaps branch)
- i3gapsnext (uses gaps-next branch)

1
metadata/layout.conf

@ -0,0 +1 @@
masters = gentoo

1
x11-misc/i3gaps/Manifest

@ -0,0 +1 @@
EBUILD i3gaps-9999.ebuild 1741 SHA256 bb98ef3cea380b9d4b617cf54753c575caac609c8cde108e28c7caea8e036a2b SHA512 7f6ae8c7a725bdcb6213fd9bb4ca2714cb58185abb00063f7ea122400bb0d9ecb82f9f6ba0b6ce955880e474c79b61d23976799ed28e61a1c109669643647a09 WHIRLPOOL 5f3e61ea450864f6a2c6ccc448036dff0b2eb00b966af332733600954a328aada818213bd23d60280ca40003f9719b81e0fcf818776db830153bbd71ccccd717

81
x11-misc/i3gaps/i3gaps-9999.ebuild

@ -0,0 +1,81 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit autotools git-r3
DESCRIPTION="An improved dynamic tiling window manager (with gaps patches)"
HOMEPAGE="https://github.com/Airblader/i3"
SRC_URI=""
EGIT_REPO_URI="git://github.com/Airblader/i3"
EGIT_BRANCH="gaps"
LICENSE="CUSTOM - https://github.com/Airblader/i3/blob/gaps-next/LICENSE"
SLOT="0"
KEYWORDS=""
IUSE="doc"
CDEPEND="dev-libs/libev
dev-libs/libpcre
>=dev-libs/yajl-2.0.3
x11-libs/libxcb[xkb]
x11-libs/libxkbcommon[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
>=x11-libs/cairo-1.14.4[X,xcb]
>=x11-libs/pango-1.30.0[X]"
DEPEND="${CDEPEND}
doc? ( app-text/asciidoc app-text/xmlto dev-lang/perl )
virtual/pkgconfig"
RDEPEND="${CDEPEND}
dev-lang/perl
dev-perl/AnyEvent-I3
dev-perl/JSON-XS"
src_prepare() {
default
if ! use doc ; then
sed -e '/AC_PATH_PROG(\[PATH_ASCIIDOC/d' -i configure.ac || die
fi
eautoreconf
cat <<- EOF > "${T}"/i3wm
#!/bin/sh
exec /usr/bin/i3
EOF
}
src_configure() {
local myeconfargs=( --enable-debug=no ) # otherwise injects -O0 -g
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/i3blocks"
einfo " x11-misc/i3lock"
einfo "Please refer to their description for additional info."
}

1
x11-misc/i3gapsnext/Manifest

@ -0,0 +1 @@
EBUILD i3gapsnext-9999.ebuild 1746 SHA256 50f2a545d37352c4b99855a0ee03a5df15fba02bcad1423edb1271fde0869fc1 SHA512 120cb275224525bd7d719b663d47ff5411e0b45a1b42e147fc7c2eb1b0f3022613746d03fb224c42dbffa04ffec09f36635e0b5aba9090352dd95a169d32aa78 WHIRLPOOL ae6d3bcb6ae519fa4be80e2e8d4b7d1783a05ed14b427232d4b4353c53e0a279ea96ded4009978a7f7b496f43cd0f85f9fdce1e68347ae13b0b9ede2f9e125a5

81
x11-misc/i3gapsnext/i3gapsnext-9999.ebuild

@ -0,0 +1,81 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit autotools git-r3
DESCRIPTION="An improved dynamic tiling window manager (with gaps patches)"
HOMEPAGE="https://github.com/Airblader/i3"
SRC_URI=""
EGIT_REPO_URI="git://github.com/Airblader/i3"
EGIT_BRANCH="gaps-next"
LICENSE="CUSTOM - https://github.com/Airblader/i3/blob/gaps-next/LICENSE"
SLOT="0"
KEYWORDS=""
IUSE="doc"
CDEPEND="dev-libs/libev
dev-libs/libpcre
>=dev-libs/yajl-2.0.3
x11-libs/libxcb[xkb]
x11-libs/libxkbcommon[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
>=x11-libs/cairo-1.14.4[X,xcb]
>=x11-libs/pango-1.30.0[X]"
DEPEND="${CDEPEND}
doc? ( app-text/asciidoc app-text/xmlto dev-lang/perl )
virtual/pkgconfig"
RDEPEND="${CDEPEND}
dev-lang/perl
dev-perl/AnyEvent-I3
dev-perl/JSON-XS"
src_prepare() {
default
if ! use doc ; then
sed -e '/AC_PATH_PROG(\[PATH_ASCIIDOC/d' -i configure.ac || die
fi
eautoreconf
cat <<- EOF > "${T}"/i3wm
#!/bin/sh
exec /usr/bin/i3
EOF
}
src_configure() {
local myeconfargs=( --enable-debug=no ) # otherwise injects -O0 -g
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/i3blocks"
einfo " x11-misc/i3lock"
einfo "Please refer to their description for additional info."
}