commit: 776ba48c2578c4a3b669fcddbd83cf7f558b1c14
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Thu Feb 4 18:08:04 2021 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Mar 12 20:49:22 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=776ba48c
x11-themes/faenza-icon-theme: fix eclass usage
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
....1.ebuild => faenza-icon-theme-1.3.1-r1.ebuild} | 26 +++++++++-------------
x11-themes/faenza-icon-theme/metadata.xml | 18 +++++++++------
2 files changed, 21 insertions(+), 23 deletions(-)
diff --git a/x11-themes/faenza-icon-theme/faenza-icon-theme-1.3.1.ebuild
b/x11-themes/faenza-icon-theme/faenza-icon-theme-1.3.1-r1.ebuild
similarity index 57%
rename from x11-themes/faenza-icon-theme/faenza-icon-theme-1.3.1.ebuild
rename to x11-themes/faenza-icon-theme/faenza-icon-theme-1.3.1-r1.ebuild
index ed16020b395..34116d7b4b3 100644
--- a/x11-themes/faenza-icon-theme/faenza-icon-theme-1.3.1.ebuild
+++ b/x11-themes/faenza-icon-theme/faenza-icon-theme-1.3.1-r1.ebuild
@@ -1,30 +1,28 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit gnome2-utils
+EAPI=7
+
+inherit xdg
MY_P=${PN}_${PV}
DESCRIPTION="A scalable icon theme called Faenza"
-HOMEPAGE="http://tiheum.deviantart.com/art/Faenza-Icons-173323228"
+HOMEPAGE="https://tiheum.deviantart.com/art/Faenza-Icons-173323228"
# Use Ubuntu repo which has a proper faenza-icon-theme tarball
-#SRC_URI="https://faenza-icon-theme.googlecode.com/files/${PN}_${PV}.tar.gz"
-SRC_URI="https://ppa.launchpad.net/tiheum/equinox/ubuntu/pool/main/${PN:0:1}/${PN}/${MY_P}.tar.gz"
-
-RESTRICT="binchecks strip"
+#SRC_URI="https://faenza-icon-theme.googlecode.com/files/${MY_P}.tar.gz"
+SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86"
-IUSE="minimal"
-RDEPEND="!minimal? ( x11-themes/adwaita-icon-theme )
- x11-themes/hicolor-icon-theme"
+RDEPEND="x11-themes/hicolor-icon-theme"
-S=${WORKDIR}/${PN}-${PV%.*}
+S="${WORKDIR}"/${PN}-${PV%.*}
src_prepare() {
+ xdg_src_prepare
local res x
for x in Faenza Faenza-Dark; do
for res in 22 24 32 48 64 96; do
@@ -44,7 +42,3 @@ src_install() {
# insinto ${somewhere}
# doins -r emesene dockmanager rhythmbox
}
-
-pkg_preinst() { gnome2_icon_savelist; }
-pkg_postinst() { gnome2_icon_cache_update; }
-pkg_postrm() { gnome2_icon_cache_update; }
diff --git a/x11-themes/faenza-icon-theme/metadata.xml
b/x11-themes/faenza-icon-theme/metadata.xml
index a31537d9052..585a6d74632 100644
--- a/x11-themes/faenza-icon-theme/metadata.xml
+++ b/x11-themes/faenza-icon-theme/metadata.xml
@@ -1,11 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>[email protected]</email>
- <name>Gentoo Desktop Miscellaneous Project</name>
- </maintainer>
- <upstream>
- <remote-id type="google-code">faenza-icon-theme</remote-id>
- </upstream>
+ <maintainer type="person">
+ <email>[email protected]</email>
+ <name>Aisha Tammy</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>[email protected]</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="google-code">faenza-icon-theme</remote-id>
+ </upstream>
</pkgmetadata>