diff options
author | Sebastian Pipping <sping@gentoo.org> | 2020-08-10 17:17:42 +0200 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2020-08-10 17:20:54 +0200 |
commit | d97fd066338373b2330711994115fab0c2680968 (patch) | |
tree | d09d9f8f5d1b965c518b7f24814f9e139d8813ec /x11-themes | |
parent | dev-python/scikit-build: amd64 stable wrt bug #734386 (diff) | |
download | gentoo-d97fd066338373b2330711994115fab0c2680968.tar.gz gentoo-d97fd066338373b2330711994115fab0c2680968.tar.bz2 gentoo-d97fd066338373b2330711994115fab0c2680968.zip |
x11-themes/light-themes: 19.04 + EAPI 7
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Diffstat (limited to 'x11-themes')
-rw-r--r-- | x11-themes/light-themes/Manifest | 1 | ||||
-rw-r--r-- | x11-themes/light-themes/light-themes-17.04_p20170406-r1.ebuild | 64 | ||||
-rw-r--r-- | x11-themes/light-themes/light-themes-19.04.ebuild | 63 |
3 files changed, 128 insertions, 0 deletions
diff --git a/x11-themes/light-themes/Manifest b/x11-themes/light-themes/Manifest index efdd9da8cfbe..a1e2fb25e78c 100644 --- a/x11-themes/light-themes/Manifest +++ b/x11-themes/light-themes/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/x11-themes/light-themes/light-themes-17.04_p20170406-r1.ebuild b/x11-themes/light-themes/light-themes-17.04_p20170406-r1.ebuild new file mode 100644 index 000000000000..4a33d8bcdb60 --- /dev/null +++ b/x11-themes/light-themes/light-themes-17.04_p20170406-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN=ubuntu-themes +MY_PV=16.10+${PV/_p/.} + +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}_${MY_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 + gtk3? ( x11-themes/gtk-engines-unico ) +" + +S="${WORKDIR}" + +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 + } +} diff --git a/x11-themes/light-themes/light-themes-19.04.ebuild b/x11-themes/light-themes/light-themes-19.04.ebuild new file mode 100644 index 000000000000..91b109330db3 --- /dev/null +++ b/x11-themes/light-themes/light-themes-19.04.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 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 + gtk3? ( x11-themes/gtk-engines-unico ) +" + +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 + } +} |