x11-themes/light-themes: Drop old

Bug: https://bugs.gentoo.org/766881
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Package-Manager: Portage-3.0.16, Repoman-3.0.2
This commit is contained in:
Sebastian Pipping
2021-03-06 19:23:02 +01:00
parent ad9d878072
commit f1ebee7189
5 changed files with 0 additions and 190 deletions

View File

@@ -1,4 +1,2 @@
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

View File

@@ -1,64 +0,0 @@
# Copyright 1999-2021 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.* || die
}
}

View File

@@ -1,63 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils
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
}
src_compile() {
:
}
src_install() {
insinto /usr/share/themes
doins -r Radiance* Ambiance*
use gtk3 || {
rm -R "${D}"/usr/share/themes/*/gtk-3.0 || die
}
}

View File

@@ -1,58 +0,0 @@
# 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=""
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*
}

View File

@@ -9,9 +9,6 @@
<email>gnome@gentoo.org</email>
<name>Gentoo GNOME Desktop</name>
</maintainer>
<use>
<flag name="gtk3">Support GTK 3.x, too</flag>
</use>
<upstream>
<remote-id type="launchpad">light-themes</remote-id>
</upstream>