mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
gui-apps/nwg-launchers: add icons from the package
has additional fixes for the icons to display correctly Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
This commit is contained in:
60
gui-apps/nwg-launchers/files/icons/system-lock-screen.svg
Normal file
60
gui-apps/nwg-launchers/files/icons/system-lock-screen.svg
Normal file
@@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="16"
|
||||
height="16"
|
||||
version="1"
|
||||
id="svg6"
|
||||
sodipodi:docname="system-lock-screen.svg"
|
||||
inkscape:version="0.92.4 5da689c313, 2019-01-14">
|
||||
<metadata
|
||||
id="metadata12">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs10" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1910"
|
||||
inkscape:window-height="1045"
|
||||
id="namedview8"
|
||||
showgrid="false"
|
||||
inkscape:zoom="38.074548"
|
||||
inkscape:cx="8.338983"
|
||||
inkscape:cy="6.9152542"
|
||||
inkscape:window-x="1925"
|
||||
inkscape:window-y="30"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg6" />
|
||||
<circle
|
||||
fill="#ea882b"
|
||||
cx="8"
|
||||
cy="8"
|
||||
r="8"
|
||||
id="circle2"
|
||||
style="fill:#ffc0cb;fill-opacity:1" />
|
||||
<path
|
||||
style="fill:#000"
|
||||
d="M 8 2.9746094 C 6.3883 2.9746094 5 4.2491312 5 5.8320312 L 5 6.9746094 L 4.5097656 6.9746094 C 4.2278656 6.9746094 4 7.2253531 4 7.5019531 L 4 11.474609 C 4 11.751609 4.2278656 11.974609 4.5097656 11.974609 L 11.490234 11.974609 C 11.772234 11.974609 12 11.751609 12 11.474609 L 12 7.5019531 C 12 7.2253531 11.771234 6.9568094 11.490234 6.9746094 L 11 6.9746094 L 11 5.8320312 C 11 4.2491313 9.6114 2.9746094 8 2.9746094 z M 8 3.8632812 C 9.1751 3.8632812 10 4.68154 10 5.75 L 10 6.8632812 L 6 6.8632812 L 6 5.75 C 6 4.6814 6.8247 3.8632812 8 3.8632812 z M 7.9980469 8.4628906 A 1.0374384 1.0374384 0 0 1 9.0351562 9.5 A 1.0374384 1.0374384 0 0 1 7.9980469 10.537109 A 1.0374384 1.0374384 0 0 1 6.9609375 9.5 A 1.0374384 1.0374384 0 0 1 7.9980469 8.4628906 z "
|
||||
id="path4" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
61
gui-apps/nwg-launchers/files/icons/system-log-out.svg
Normal file
61
gui-apps/nwg-launchers/files/icons/system-log-out.svg
Normal file
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="16"
|
||||
height="16"
|
||||
version="1"
|
||||
id="svg6"
|
||||
sodipodi:docname="system-log-out.svg"
|
||||
inkscape:version="0.92.4 5da689c313, 2019-01-14">
|
||||
<metadata
|
||||
id="metadata12">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs10" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1910"
|
||||
inkscape:window-height="1045"
|
||||
id="namedview8"
|
||||
showgrid="false"
|
||||
inkscape:zoom="14.75"
|
||||
inkscape:cx="-10.135593"
|
||||
inkscape:cy="8"
|
||||
inkscape:window-x="1925"
|
||||
inkscape:window-y="30"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg6" />
|
||||
<circle
|
||||
fill="#7bbb36"
|
||||
cx="8"
|
||||
cy="8"
|
||||
r="8"
|
||||
id="circle2"
|
||||
style="fill:#ffc0cb;fill-opacity:1" />
|
||||
<path
|
||||
d="M 8,3 A 5,5 0 0 1 13,8 5,5 0 0 1 8,13 5,5 0 0 1 3,8 5,5 0 0 1 8,3 Z M 8,4 A 4,4 0 0 0 4,8 4,4 0 0 0 8,12 4,4 0 0 0 12,8 4,4 0 0 0 8,4 Z M 8,6 9.4863,7.0254 11,8 9.4863,8.9746 8,10 8.0117,9 H 6.5 C 6.223,9 6,8.554 6,8 6,7.446 6.223,7 6.5,7 h 1.5117 z"
|
||||
id="path4"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#000" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
1
gui-apps/nwg-launchers/files/icons/system-reboot.svg
Normal file
1
gui-apps/nwg-launchers/files/icons/system-reboot.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="3 3 16 16"><circle cx="11" cy="-1041.36" r="8" transform="matrix(1 0 0-1 0-1030.36)" opacity=".98" fill="#ffc0cb"/><path d="m120.6 38.723c-3.312-7.713-7.766-14.367-13.36-19.961-5.595-5.594-12.248-10.05-19.962-13.361-7.713-3.314-15.805-4.97-24.278-4.97-7.984 0-15.71 1.506-23.18 4.521-7.468 3.01-14.11 7.265-19.92 12.751l-10.593-10.511c-1.63-1.684-3.503-2.064-5.622-1.141-2.173.924-3.259 2.527-3.259 4.808v36.5c0 1.412.516 2.634 1.548 3.666 1.033 1.032 2.255 1.548 3.667 1.548h36.5c2.282 0 3.884-1.086 4.807-3.259.923-2.118.543-3.992-1.141-5.622l-11.162-11.243c3.803-3.585 8.148-6.341 13.04-8.27 4.889-1.928 9.994-2.893 15.317-2.893 5.649 0 11.04 1.101 16.17 3.3 5.133 2.2 9.572 5.174 13.32 8.922 3.748 3.747 6.722 8.187 8.922 13.32 2.199 5.133 3.299 10.523 3.299 16.17 0 5.65-1.1 11.04-3.299 16.17-2.2 5.133-5.174 9.573-8.922 13.321-3.748 3.748-8.188 6.722-13.32 8.921-5.133 2.2-10.525 3.3-16.17 3.3-6.464 0-12.574-1.412-18.332-4.236-5.757-2.824-10.618-6.816-14.583-11.977-.38-.543-1-.87-1.874-.979-.815 0-1.494.244-2.037.733l-11.162 11.244c-.434.436-.665.991-.692 1.67-.027.68.15 1.29.53 1.833 5.921 7.17 13.09 12.724 21.509 16.661 8.419 3.937 17.3 5.907 26.642 5.907 8.473 0 16.566-1.657 24.279-4.97 7.713-3.313 14.365-7.768 19.961-13.361 5.594-5.596 10.05-12.248 13.361-19.961 3.313-7.713 4.969-15.807 4.969-24.279 0-8.474-1.657-16.564-4.97-24.277" fill="#000" transform="matrix(.07192 0 0 .07192 6.674 6.768)"/></svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
64
gui-apps/nwg-launchers/files/icons/system-shutdown.svg
Normal file
64
gui-apps/nwg-launchers/files/icons/system-shutdown.svg
Normal file
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="16"
|
||||
height="16"
|
||||
version="1"
|
||||
id="svg8"
|
||||
sodipodi:docname="system-shutdown.svg"
|
||||
inkscape:version="0.92.4 5da689c313, 2019-01-14">
|
||||
<metadata
|
||||
id="metadata14">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs12" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1910"
|
||||
inkscape:window-height="1045"
|
||||
id="namedview10"
|
||||
showgrid="false"
|
||||
inkscape:zoom="14.75"
|
||||
inkscape:cx="-10.135593"
|
||||
inkscape:cy="8"
|
||||
inkscape:window-x="1925"
|
||||
inkscape:window-y="30"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg8" />
|
||||
<circle
|
||||
fill="#c2352a"
|
||||
cx="8"
|
||||
cy="8"
|
||||
r="8"
|
||||
id="circle2"
|
||||
style="fill:#ffc0cb;fill-opacity:1" />
|
||||
<path
|
||||
fill="#000"
|
||||
d="m8 3a5 5 0 0 0 -5 5 5 5 0 0 0 5 5 5 5 0 0 0 5 -5 5 5 0 0 0 -5 -5zm0 1a4 4 0 0 1 4 4 4 4 0 0 1 -4 4 4 4 0 0 1 -4 -4 4 4 0 0 1 4 -4z"
|
||||
id="path4" />
|
||||
<path
|
||||
fill="#000"
|
||||
d="m8 6c-0.554 0-1 0.223-1 0.5v3c0 0.277 0.446 0.5 1 0.5s1-0.223 1-0.5v-3c0-0.277-0.446-0.5-1-0.5z"
|
||||
id="path6" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
14
gui-apps/nwg-launchers/files/index.theme
Normal file
14
gui-apps/nwg-launchers/files/index.theme
Normal file
@@ -0,0 +1,14 @@
|
||||
[Icon Theme]
|
||||
Name=nwg-launchers
|
||||
Comment=user customized icon theme by inheritance
|
||||
|
||||
Inherits=gnome,Adwaita,hicolor
|
||||
|
||||
Directories=icons
|
||||
|
||||
[icons]
|
||||
Context=Applications
|
||||
Size=96
|
||||
MinSize=8
|
||||
MaxSize=192
|
||||
Type=Scalable
|
||||
39
gui-apps/nwg-launchers/nwg-launchers-0.4.2-r1.ebuild
Normal file
39
gui-apps/nwg-launchers/nwg-launchers-0.4.2-r1.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
if [[ "${PV}" == 9999 ]]
|
||||
then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/nwg-piotr/nwg-launchers.git"
|
||||
else
|
||||
SRC_URI="https://github.com/nwg-piotr/nwg-launchers/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="GTK+ launchers for sway, i3 and some other WMs"
|
||||
HOMEPAGE="https://github.com/nwg-piotr/nwg-launchers"
|
||||
LICENSE="GPL-3 CC-BY-SA-3.0"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
x11-libs/gtk+:3
|
||||
dev-cpp/gtkmm:3.0
|
||||
dev-cpp/nlohmann_json"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
IUSE="+bar +dmenu +grid"
|
||||
|
||||
src_configure() {
|
||||
meson_src_configure $(meson_use bar) $(meson_use dmenu) $(meson_use grid)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
insinto /usr/share/icons/nwg-launchers
|
||||
doins -r "${FILESDIR}"/.
|
||||
}
|
||||
@@ -15,7 +15,7 @@ inherit meson
|
||||
|
||||
DESCRIPTION="GTK+ launchers for sway, i3 and some other WMs"
|
||||
HOMEPAGE="https://github.com/nwg-piotr/nwg-launchers"
|
||||
LICENSE="GPL-3"
|
||||
LICENSE="GPL-3 CC-BY-SA-3.0"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
@@ -27,8 +27,13 @@ DEPEND="${RDEPEND}"
|
||||
|
||||
IUSE="+bar +dmenu +grid"
|
||||
|
||||
RESTRICT="mirror test"
|
||||
|
||||
src_configure() {
|
||||
meson_src_configure $(meson_use bar) $(meson_use dmenu) $(meson_use grid)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
insinto /usr/share/icons/nwg-launchers
|
||||
doins -r "${FILESDIR}"/.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user