This commit is contained in:
Guillaume Castagnino 2019-12-12 10:25:38 +01:00
parent f4e50cf040
commit 2086009924
3 changed files with 0 additions and 74 deletions

View File

@ -1,2 +0,0 @@
EBUILD numix-gtk-theme-9999.ebuild 1175 BLAKE2B 350a3fefdd6b44e07acc4e1cc7e2c9f15663155ae6a5b91ec604ad3ac0ce5d21addbfe924c172f587edfad6c9ed6adb44d92281f146fc6ff45fae3638cdd6c74 SHA512 b5f4226607e1418bf3f9e672f5144446527e5d371b4499c5f40f4c03cf2c0bf3da1c8f09dc53e676fb63783902fda1cb4b24355a3c547459a482140e765f3baf
MISC metadata.xml 423 BLAKE2B c002df91baabe98a530911c9c9bf16531b0a59b732be237b0faffdeb0a41d35ba2814a52141947904c42c8c5028a4b48b5d0b016b7c792b0e580b9bb7eb2da61 SHA512 2647d3efbac8c9dfdda9fd7c9f26837426f8dd299fe04ea02c352b363ce6134838596dee607fee104c583e8e1da8db528798a3424e4e7a996b113b416f1999b9

View File

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>casta@xwing.info</email>
</maintainer>
<upstream>
<remote-id type="github">numixproject/numix-gtk-theme</remote-id>
</upstream>
<use>
<flag name="custom-colors">Use a custom colors scheme: blue instead of orange</flag>
</use>
</pkgmetadata>

View File

@ -1,59 +0,0 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils
DESCRIPTION="A modern flat theme that supports Gnome, Unity, XFCE and Openbox."
HOMEPAGE="https://numixproject.org"
LICENSE="GPL-3+"
SLOT="0"
IUSE="custom-colors"
BASE_URI="https://github.com/numixproject/${PN}"
if [[ ${PV} == *9999* ]];then
inherit git-r3
SRC_URI=""
EGIT_REPO_URI="${BASE_URI}.git"
KEYWORDS=""
else
KEYWORDS="amd64 x86"
SRC_URI="${BASE_URI}/archive/${PV}.tar.gz -> ${P}.tar.gz"
fi
RDEPEND="
x11-themes/gtk-engines-murrine
dev-ruby/sass:*
dev-libs/glib:2
x11-libs/gdk-pixbuf:2
"
DEPEND="
${RDEPEND}
custom-colors? ( media-gfx/inkscape )
"
src_prepare() {
default
if use custom-colors ; then
sed -si -e 's/f0544c/397db5/' -e 's/f06860/4778b3/' -e 's/fc6f5d/4787bf/' \
src/gtk-3.0/scss/_global.scss \
src/gtk-3.20/scss/_global.scss \
src/gtk-2.0/gtkrc
# regenerate png
sed -si -e 's/f1544d/397db5/g' src/assets/all-assets.svg
rm -f src/assets/*.png
cd scripts && ./render-assets.sh
fi
}
src_compile() {
emake DESTDIR="${D}" || die
}
src_install() {
emake DESTDIR="${D}" install || die
}