x11-themes/light-themes: 24.04

Signed-off-by: Sebastian Pipping <sping@gentoo.org>
This commit is contained in:
Sebastian Pipping 2025-02-24 00:00:18 +01:00
parent 0808517f34
commit 6f9447f312
No known key found for this signature in database
GPG Key ID: 96262ACFFBD3AEC6
2 changed files with 55 additions and 0 deletions

View File

@ -1,2 +1,3 @@
DIST Gentoo-Buttons-r1.tar.xz 80476 BLAKE2B 802ce2cc0d8dd3c639cbb1b8ca51732cfb87194ecc2bd0ca68c7945c8768b8662d206bf191f443f983e80e25a21ebf7d1909771b2f51b7825b763494a4edac81 SHA512 d1c093fe8ce905a409cd3ce85fde8490f26b918bb1dd3ccb6695eaa6c7a4908d7ba1e1d14a9443a16331168ca9b3fa58b5b28805fc583b4345932602f7c19168
DIST ubuntu-themes_20.10.orig.tar.gz 15679746 BLAKE2B bcb1bae746379fe26700b7e88db4e91b0220e7145f55c59b951a31d768c2311d843c5d92c989b049e1009afbfc6e918e65726408298858e8fd689d0bbab1ca42 SHA512 0118f7c2404856216ff2df0246ea2fa98d0d5b25973abc3df13a998f7a41f2eeb32ca08281ba41399a91fa16ab046e3b3292f504503958983a6488c1e3001ac4
DIST ubuntu-themes_24.04.orig.tar.gz 11151801 BLAKE2B a31e43188bf79081784b39d3bf220fdbeed1fcef040534ac700e6f7e2f32b774115fb795b1831c5bc1d8fb7addc06a8f3483e2d7ece6a53fcdf1aa4f57b4f894 SHA512 f213105c0821bd2bf95c0be6501c2f0dbc03a32e29d0649748bcf3a10d0a5594e2a1e6fc33efc023c847993edf3ff25448e0abf1c5c062c97e9654009f33cfc7

View File

@ -0,0 +1,54 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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
"
S="${WORKDIR}"/${MY_PN}-${PV}
LICENSE="CC-BY-SA-3.0 CC-BY-SA-4.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
BDEPEND="app-arch/xz-utils"
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*
}