gui-wm/wayfire: New packages for wayfire and its dependency ebuilds

gui-apps:
  wcm: new package, gui configuration manager for wayfire using wf-config
  wf-config: new package, cli configuration manager for wayfire
  wf-shell: new package, basic desktop environment for wayfire

gui-wm:
  wayfire: new package, compiz like window manager for wayland

gui-libs:
  gtk-layer-shell: new package, library for creating DE windows

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
This commit is contained in:
Aisha Tammy
2020-03-22 12:55:41 -04:00
parent 1936684614
commit 0c5023b87b
20 changed files with 608 additions and 0 deletions

1
gui-apps/wcm/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST wcm-0.4.0.tar.gz 263841 BLAKE2B 28cdf87c479cc7a4a5a40f17a1ec26688bae6a0cd5699b51ad7db2adca89946d7687ae345a7a82d71464df413c956aceeb3db8195c5b40da5f32043821883c49 SHA512 4136ceba90c054165b4b0e7a79d78af827d8b8ddb8b54820bda0c17bbaa28eb74981ce94d8c386b91257ca023a34f76f121a003229365afe72d65323f0a1d2cd

12
gui-apps/wcm/metadata.xml Normal file
View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo@aisha.cc</email>
<name>Aisha Tammy</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,41 @@
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
DESCRIPTION="Wayfire Config Manager"
HOMEPAGE="https://github.com/WayfireWM/wcm"
EGIT_REPO_URI="https://github.compu/WayfireWM/wcm.git"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/WayfireWM/${PN}.git"
KEYWORDS=""
else
SRC_URI="https://github.com/WayfireWM/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
LICENSE="MIT"
SLOT="0"
IUSE=""
DEPEND="
dev-libs/libevdev
dev-libs/libxml2
dev-cpp/gtkmm:3.0[wayland]
~gui-apps/wf-config-${PV}
~gui-wm/wayfire-${PV}
"
RDEPEND="
${DEPEND}
"
BDEPEND="
${DEPEND}
virtual/pkgconfig
dev-libs/wayland-protocols
"

View File

@@ -0,0 +1,41 @@
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
DESCRIPTION="Wayfire Config Manager"
HOMEPAGE="https://github.com/WayfireWM/wcm"
EGIT_REPO_URI="https://github.compu/WayfireWM/wcm.git"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/WayfireWM/${PN}.git"
KEYWORDS=""
else
SRC_URI="https://github.com/WayfireWM/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
LICENSE="MIT"
SLOT="0"
IUSE=""
DEPEND="
dev-libs/libevdev
dev-libs/libxml2
dev-cpp/gtkmm:3.0[wayland]
~gui-apps/wf-config-${PV}
~gui-wm/wayfire-${PV}
"
RDEPEND="
${DEPEND}
"
BDEPEND="
${DEPEND}
virtual/pkgconfig
dev-libs/wayland-protocols
"

View File

@@ -0,0 +1 @@
DIST wf-config-0.4.0.tar.gz 78813 BLAKE2B 54e05519fa55b9ef9a7ccc49e954a9cb223c279854bb650f2a79149f7d27a784562e78682c15a7e03e040a17efd441d6b26bfccb67a6c7bbc979bc00a02d26c1 SHA512 6f2540ae84c62ed18e0a0e5d7e3c2732b0d07642dab9f333ade812afbe4301507309575c7d36e23d61233d8b83448ed9f525abb11c519b21445b3a051ab6980a

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo@aisha.cc</email>
<name>Aisha Tammy</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,38 @@
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
DESCRIPTION="A library for managing configuration files, written for wayfire"
HOMEPAGE="https://github.com/WayfireWM/wf-config"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/WayfireWM/${PN}.git"
KEYWORDS=""
else
SRC_URI="https://github.com/WayfireWM/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
LICENSE="MIT"
SLOT="0"
DEPEND="
dev-libs/libevdev
media-libs/glm
dev-libs/libxml2
>=gui-libs/wlroots-0.10.0
"
RDEPEND="
${DEPEND}
"
BDEPEND="
${DEPEND}
virtual/pkgconfig
dev-libs/wayland-protocols
"

View File

@@ -0,0 +1,38 @@
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
DESCRIPTION="A library for managing configuration files, written for wayfire"
HOMEPAGE="https://github.com/WayfireWM/wf-config"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/WayfireWM/${PN}.git"
KEYWORDS=""
else
SRC_URI="https://github.com/WayfireWM/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
LICENSE="MIT"
SLOT="0"
DEPEND="
dev-libs/libevdev
media-libs/glm
dev-libs/libxml2
>=gui-libs/wlroots-0.10.0
"
RDEPEND="
${DEPEND}
"
BDEPEND="
${DEPEND}
virtual/pkgconfig
dev-libs/wayland-protocols
"

View File

@@ -0,0 +1 @@
DIST wf-shell-0.4.0.tar.gz 8948473 BLAKE2B 3ac0d6a31ea830bcc69f930c2c49fdb54f5dc167b9913866d99414e0de411bee294e86c3beece215406c95986cb0e5a9c2e4861b8caa0c11b07fdea227596d56 SHA512 76753287f81ea67a9c8983ac25c2e5e2b8fe836549e98496c4cbd41b67e712284bb5018a7a566b81ec52578074f56c73d3f98c2c89419feb5aafdb4da1be6cd6

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo@aisha.cc</email>
<name>Aisha Tammy</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,47 @@
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
DESCRIPTION="A compiz like 3D wayland compositor"
HOMEPAGE="https://github.com/WayfireWM/wf-shell"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/WayfireWM/${PN}.git"
KEYWORDS=""
else
SRC_URI="https://github.com/WayfireWM/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
LICENSE="MIT"
SLOT="0"
IUSE="pulseaudio"
DEPEND="
~gui-apps/wf-config-${PV}
dev-cpp/gtkmm:3.0=[wayland]
dev-libs/gobject-introspection
pulseaudio? ( media-sound/pulseaudio )
~gui-wm/wayfire-${PV}
>=gui-libs/gtk-layer-shell-0.1
"
RDEPEND="
${DEPEND}
"
BDEPEND="
virtual/pkgconfig
dev-libs/wayland-protocols
"
src_configure () {
local emesonargs=(
"-Dpulse=$(usex pulseaudio enabled disabled)"
)
meson_src_configure
}

View File

@@ -0,0 +1,47 @@
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
DESCRIPTION="A compiz like 3D wayland compositor"
HOMEPAGE="https://github.com/WayfireWM/wf-shell"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/WayfireWM/${PN}.git"
KEYWORDS=""
else
SRC_URI="https://github.com/WayfireWM/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
LICENSE="MIT"
SLOT="0"
IUSE="pulseaudio"
DEPEND="
~gui-apps/wf-config-${PV}
dev-cpp/gtkmm:3.0=[wayland]
dev-libs/gobject-introspection
pulseaudio? ( media-sound/pulseaudio )
~gui-wm/wayfire-${PV}
>=gui-libs/gtk-layer-shell-0.1
"
RDEPEND="
${DEPEND}
"
BDEPEND="
virtual/pkgconfig
dev-libs/wayland-protocols
"
src_configure () {
local emesonargs=(
"-Dpulse=$(usex pulseaudio enabled disabled)"
)
meson_src_configure
}

View File

@@ -0,0 +1 @@
DIST gtk-layer-shell-0.1.0.tar.gz 41457 BLAKE2B a8bd5c85f901d79d66ac1094f8392485a2a6581682e08a252dd97ac7dcf376e72425126d2a234c21b5b2a509068f41116a0161a41f0733dbbf03e745f5469c51 SHA512 813ae86939d4bb300e78197a09fe7e4ccda9e2e6c008b72fa45d0a5be311ade1762af31835d3e7fea00f49a438f7ad37d3e57c84e0a2ebbbf58e807048c072da

View File

@@ -0,0 +1,48 @@
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
DESCRIPTION="A library to create panels and other desktop components for Wayland"
HOMEPAGE="https://github.com/wmww/gtk-layer-shell"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/wmww/gtk-layer-shell.git"
KEYWORDS=""
else
SRC_URI="https://github.com/wmww/gtk-layer-shell/archive/v${PV}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
LICENSE="MIT"
SLOT="0"
IUSE="docs examples"
DEPEND="
>=x11-libs/gtk+-3.24.11:3[introspection,wayland]
>=dev-libs/wayland-1.10.0
dev-libs/gobject-introspection
docs? ( dev-util/gtk-doc
>=x11-libs/gtk+-3.24.11:3[gtk-doc] )
"
RDEPEND="
>=x11-libs/gtk+-3.24.11:3[introspection,wayland]
>=dev-libs/wayland-1.10.0
dev-libs/gobject-introspection
"
BDEPEND="
virtual/pkgconfig
"
src_configure() {
local emesonargs=(
-Ddocs=$(usex docs true false)
-Dexamples=$(usex examples true false)
)
meson_src_configure
}

View File

@@ -0,0 +1,48 @@
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
DESCRIPTION="A library to create panels and other desktop components for Wayland"
HOMEPAGE="https://github.com/wmww/gtk-layer-shell"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/wmww/gtk-layer-shell.git"
KEYWORDS=""
else
SRC_URI="https://github.com/wmww/gtk-layer-shell/archive/v${PV}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
LICENSE="MIT"
SLOT="0"
IUSE="docs examples"
DEPEND="
>=x11-libs/gtk+-3.24.11:3[introspection,wayland]
>=dev-libs/wayland-1.10.0
dev-libs/gobject-introspection
docs? ( dev-util/gtk-doc
>=x11-libs/gtk+-3.24.11:3[gtk-doc] )
"
RDEPEND="
>=x11-libs/gtk+-3.24.11:3[introspection,wayland]
>=dev-libs/wayland-1.10.0
dev-libs/gobject-introspection
"
BDEPEND="
virtual/pkgconfig
"
src_configure() {
local emesonargs=(
-Ddocs=$(usex docs true false)
-Dexamples=$(usex examples true false)
)
meson_src_configure
}

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo@aisha.cc</email>
<name>Aisha Tammy</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<use>
<flag name='docs'>Add the internal documentation, not needed for non-developers.</flag>
<flag name='examples'>Adds examples for using, not needed for non-developers.</flag>
</use>
</pkgmetadata>

1
gui-wm/wayfire/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST wayfire-0.4.0.tar.gz 265360 BLAKE2B 649502f761db8eb861388f530bb96dd78bb10b4a3f9216a0b80b6ef59a8f2e85879f184592eaed70f3a3a3fba8c6ac966949aea9c04661511055e2d8c8c9c251 SHA512 726de2744d1c8f9dd8bba564a4fe93565db54a892fd03c278f53f94bb7824925ede986428b03316cbb556089781b35c928a442963bcbb85858efb247da4a36da

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo@aisha.cc</email>
<name>Aisha Tammy</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<use>
<flag name='wf-config'>Makes wayfire use the system-wide wf-config, else builds it as a submodule. DO NOT DISABLE UNLESS YOU KNOW WHAT YOU ARE DOING.</flag>
<flag name='wlroots'>Makes wayfire use the system wide wlroots, else builds it as a submodule. DO NOT DISABLE UNLESS YOU KNOW WHAT YOU ARE DOING.</flag>
<flag name='debug'>Adds debugging symbols for error reporting. ENABLE ALL USE FLAGS BEFORE REPORTING BUGS.</flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1,93 @@
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
DESCRIPTION="A compiz like 3D wayland compositor"
HOMEPAGE="https://github.com/WayfireWM/wayfire"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/WayfireWM/${PN}.git"
KEYWORDS=""
else
SRC_URI="https://github.com/WayfireWM/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
LICENSE="MIT"
SLOT="0"
IUSE="+wf-config +wlroots +elogind systemd debug"
DEPEND="
dev-libs/libevdev
dev-libs/libinput
media-libs/glm
media-libs/mesa:=[gles2,wayland,X]
media-libs/libjpeg-turbo
media-libs/libpng
media-libs/freetype:=[X]
x11-libs/libdrm
x11-libs/gtk+:3=[wayland,X]
x11-libs/cairo:=[X,svg]
x11-libs/libxkbcommon:=[X]
x11-libs/pixman
gui-libs/gtk-layer-shell
wf-config? ( ~gui-apps/wf-config-${PV} )
wlroots? ( >=gui-libs/wlroots-0.10.0[elogind=,systemd=,X] )
"
RDEPEND="
${DEPEND}
elogind? ( sys-auth/elogind )
systemd? ( sys-apps/systemd )
x11-misc/xkeyboard-config
"
BDEPEND="
${DEPEND}
virtual/pkgconfig
>=dev-libs/wayland-protocols-1.14
"
src_configure(){
local emesonargs=(
-Duse_system_wfconfig=$(usex wf-config enabled disabled)
-Duse_system_wlroots=$(usex wlroots enabled disabled)
)
if use debug; then
emesonargs+=(
"-Db_sanitize=address,undefined"
)
fi
meson_src_configure
}
pkg_preinst() {
if ! use systemd && ! use elogind; then
fowners root:0 /usr/bin/wayfire
fperms 4511 /usr/bin/wayfire
fi
}
src_install() {
default
meson_src_install
einstalldocs
insinto "/usr/share/wayland-sessions/"
insopts -m644
doins wayfire.desktop
dodoc wayfire.ini
}
pkg_postinst() {
elog "Wayfire has been installed but the session cannot be used"
elog "until you install a configuration file. The default config"
elog "file is installed at \"/usr/share/doc/${P}/wayfire.ini.bz2\""
elog "To install the file execute"
elog "\$ mkdir -p ~/.config && bzcat /usr/share/doc/${P}/wayfire.ini.bz2 > ~/.config/wayfire.ini"
}

View File

@@ -0,0 +1,93 @@
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
DESCRIPTION="A compiz like 3D wayland compositor"
HOMEPAGE="https://github.com/WayfireWM/wayfire"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/WayfireWM/${PN}.git"
KEYWORDS=""
else
SRC_URI="https://github.com/WayfireWM/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
LICENSE="MIT"
SLOT="0"
IUSE="+wf-config +wlroots +elogind systemd debug"
DEPEND="
dev-libs/libevdev
dev-libs/libinput
media-libs/glm
media-libs/mesa:=[gles2,wayland,X]
media-libs/libjpeg-turbo
media-libs/libpng
media-libs/freetype:=[X]
x11-libs/libdrm
x11-libs/gtk+:3=[wayland,X]
x11-libs/cairo:=[X,svg]
x11-libs/libxkbcommon:=[X]
x11-libs/pixman
gui-libs/gtk-layer-shell
wf-config? ( ~gui-apps/wf-config-${PV} )
wlroots? ( >=gui-libs/wlroots-0.10.0[elogind=,systemd=,X] )
"
RDEPEND="
${DEPEND}
elogind? ( sys-auth/elogind )
systemd? ( sys-apps/systemd )
x11-misc/xkeyboard-config
"
BDEPEND="
${DEPEND}
virtual/pkgconfig
>=dev-libs/wayland-protocols-1.14
"
src_configure(){
local emesonargs=(
-Duse_system_wfconfig=$(usex wf-config enabled disabled)
-Duse_system_wlroots=$(usex wlroots enabled disabled)
)
if use debug; then
emesonargs+=(
"-Db_sanitize=address,undefined"
)
fi
meson_src_configure
}
pkg_preinst() {
if ! use systemd && ! use elogind; then
fowners root:0 /usr/bin/wayfire
fperms 4511 /usr/bin/wayfire
fi
}
src_install() {
default
meson_src_install
einstalldocs
insinto "/usr/share/wayland-sessions/"
insopts -m644
doins wayfire.desktop
dodoc wayfire.ini
}
pkg_postinst() {
elog "Wayfire has been installed but the session cannot be used"
elog "until you install a configuration file. The default config"
elog "file is installed at \"/usr/share/doc/${P}/wayfire.ini.bz2\""
elog "To install the file execute"
elog "\$ mkdir -p ~/.config && bzcat /usr/share/doc/${P}/wayfire.ini.bz2 > ~/.config/wayfire.ini"
}