Add i3spacer

This commit is contained in:
rexy712 2019-11-23 10:58:22 -08:00
parent 82510b5f5d
commit c0abb64367
3 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST i3spacer-v1.0.tar.gz 13929 BLAKE2B d9ceae245dc62ca6bc5a9070ef68faad76537d848e96f61561bcb9c2ee7000bb57a26f039eb218e0686fc55e4990d015ba125d7ef7bd8566458c9bcd9e9a1ce2 SHA512 3a75d8156acdf4e2fa65a3e4c06cca4d5752a0759b782368b3d6bce149d0cc0dc863d8bdeb750706e668eed5cdc79abb47f205ba6c2de4afd142eea7196a60b3

View File

@ -0,0 +1,30 @@
# Copyright 2019 rexy712
# Distributed under the terms of the GNU General Public License v3
EAPI=7
inherit cmake-utils
DESCRIPTION="A transparent window to act as a spacer in x11-wm/i3 or x11-wm/i3gaps"
HOMEPAGE="https://gitlab.com/rexy712/i3spacer"
MY_PV="v${PV}"
MY_P="${PN}-${MY_PV}"
SRC_URI="https://gitlab.com/rexy712/i3spacer/-/archive/${MY_PV}/${PN}-${MY_PV}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+decorate"
RDEPEND="x11-libs/gtk+:3[X]"
DEPEND="${RDEPEND}"
BDEPEND="
dev-util/cmake
dev-util/pkgconfig
"
src_configure(){
local mycmakeargs=(-DDECORATE_WINDOW=$(usex decorate ON OFF))
cmake-utils_src_configure
}

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>rexerton.rexy@tutamail.com</email>
<name>rexy712</name>
</maintainer>
<longdescription>
Transparent window used as a spacer in i3wm. Basically used so I can see conky without changing workspaces.
</longdescription>
<use>
<flag name="decorate">Enable window decorations</flag>
</use>
</pkgmetadata>