diff options
author | Sebastian Pipping <sping@gentoo.org> | 2021-01-25 18:16:43 +0100 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2021-01-25 18:18:10 +0100 |
commit | 66ab22734efbcfe87a80ea768a4834441defa977 (patch) | |
tree | 7adcdf39e8ede3d334587ff9e96d3e771cbc65f3 /x11-themes/light-themes | |
parent | x11-themes/light-themes: Drop unico rdepend from 19.04 (diff) | |
download | gentoo-66ab22734efbcfe87a80ea768a4834441defa977.tar.gz gentoo-66ab22734efbcfe87a80ea768a4834441defa977.tar.bz2 gentoo-66ab22734efbcfe87a80ea768a4834441defa977.zip |
x11-themes/light-themes: 20.10
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Diffstat (limited to 'x11-themes/light-themes')
-rw-r--r-- | x11-themes/light-themes/Manifest | 1 | ||||
-rw-r--r-- | x11-themes/light-themes/light-themes-20.10.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/x11-themes/light-themes/Manifest b/x11-themes/light-themes/Manifest index a1e2fb25e78c..bc7111ad1b5c 100644 --- a/x11-themes/light-themes/Manifest +++ b/x11-themes/light-themes/Manifest @@ -1,3 +1,4 @@ DIST Gentoo-Buttons-r1.tar.xz 80476 BLAKE2B 802ce2cc0d8dd3c639cbb1b8ca51732cfb87194ecc2bd0ca68c7945c8768b8662d206bf191f443f983e80e25a21ebf7d1909771b2f51b7825b763494a4edac81 SHA512 d1c093fe8ce905a409cd3ce85fde8490f26b918bb1dd3ccb6695eaa6c7a4908d7ba1e1d14a9443a16331168ca9b3fa58b5b28805fc583b4345932602f7c19168 DIST ubuntu-themes_16.10+17.04.20170406.orig.tar.gz 13836108 BLAKE2B aeb2b33639c32c378b111c717099a79afb8688b48780bfa816a6ac9b4c0bfef5d1b475048f8c4906ee76787b503dcc207fbd617f1718883952917739012e2a11 SHA512 50d65dbe232237e1757b0d7a85ba7c2cafac18861211ca1b33a57de6a4961c325014851d1ee661adec57fac7472b7ae4f78439f30fa6f425eb751e94940d9f91 DIST ubuntu-themes_19.04.orig.tar.gz 16081764 BLAKE2B f94545c5900c9eaab61f021d8a8f37ef6ee825045df88e5a5e51c5d7632109343ca0293ee9b590daa6edf3be109a05128803a8a2c787a333f6317f8dbe54529c SHA512 95b41c5d3a47fba9c4b5368b4e80d8924e09844783c66ca697ce0ff5d71f2b0fd4f56a9041dc142267e0eaf75fd5a8b47c0abae049fc3434b5e29f3f363d83e8 +DIST ubuntu-themes_20.10.orig.tar.gz 15679746 BLAKE2B bcb1bae746379fe26700b7e88db4e91b0220e7145f55c59b951a31d768c2311d843c5d92c989b049e1009afbfc6e918e65726408298858e8fd689d0bbab1ca42 SHA512 0118f7c2404856216ff2df0246ea2fa98d0d5b25973abc3df13a998f7a41f2eeb32ca08281ba41399a91fa16ab046e3b3292f504503958983a6488c1e3001ac4 diff --git a/x11-themes/light-themes/light-themes-20.10.ebuild b/x11-themes/light-themes/light-themes-20.10.ebuild new file mode 100644 index 000000000000..8dd48781c9c4 --- /dev/null +++ b/x11-themes/light-themes/light-themes-20.10.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN=ubuntu-themes + +DESCRIPTION="GTK2/GTK3 Ambiance and Radiance themes from Ubuntu" +HOMEPAGE="https://packages.ubuntu.com/zesty/light-themes" +SRC_URI=" + mirror://ubuntu/pool/main/${MY_PN:0:1}/${MY_PN}/${MY_PN}_${PV}.orig.tar.gz + https://dev.gentoo.org/~pacho/${PN}/Gentoo-Buttons-r1.tar.xz +" + +LICENSE="CC-BY-SA-3.0 CC-BY-SA-4.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gtk3" + +DEPEND="app-arch/xz-utils" +RDEPEND=" + x11-themes/gtk-engines-murrine +" + +S="${WORKDIR}"/${MY_PN}-${PV} + +src_prepare() { + cp -RL Ambiance/ Ambiance-Gentoo || die + cp -RL Radiance/ Radiance-Gentoo || die + sed -i -e 's/Ambiance/Ambiance-Gentoo/g' Ambiance-Gentoo/index.theme \ + Ambiance-Gentoo/metacity-1/metacity-theme-1.xml || die + sed -i -e 's/Radiance/Radiance-Gentoo/g' Radiance-Gentoo/index.theme \ + Radiance-Gentoo/metacity-1/metacity-theme-1.xml || die + sed -i -e 's/nselected_bg_color:#f07746/nselected_bg_color:#755fbb/g' \ + Ambiance-Gentoo/gtk-2.0/gtkrc Ambiance-Gentoo/gtk-3.*/settings.ini \ + Radiance-Gentoo/gtk-2.0/gtkrc Radiance-Gentoo/gtk-3.*/settings.ini || die + sed -i -e 's/selected_bg_color #f07746/selected_bg_color #755fbb/g' \ + Ambiance-Gentoo/gtk-3.*/gtk-main.css \ + Radiance-Gentoo/gtk-3.*/gtk-main.css || die + + cp -f "${WORKDIR}"/Gentoo-Buttons/*.png "${S}"/Ambiance-Gentoo/metacity-1/. || die + cp -f "${WORKDIR}"/Gentoo-Buttons/*.png "${S}"/Radiance-Gentoo/metacity-1/. || die + cp -f "${WORKDIR}"/Gentoo-Buttons/assets/*.png "${S}"/Ambiance-Gentoo/gtk-3.0/assets/. || die + cp -f "${WORKDIR}"/Gentoo-Buttons/assets/*.png "${S}"/Ambiance-Gentoo/gtk-3.20/assets/. || die + cp -f "${WORKDIR}"/Gentoo-Buttons/assets/*.png "${S}"/Radiance-Gentoo/gtk-3.0/assets/. || die + cp -f "${WORKDIR}"/Gentoo-Buttons/assets/*.png "${S}"/Radiance-Gentoo/gtk-3.20/assets/. || die + + eapply_user +} + +src_compile() { + : +} + +src_install() { + insinto /usr/share/themes + doins -r Radiance* Ambiance* + + use gtk3 || { + rm -R "${D}"/usr/share/themes/*/gtk-3.0 || die + } +} |