summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisha Tammy <gentoo@aisha.cc>2021-02-04 18:08:04 +0000
committerAndreas Sturmlechner <asturm@gentoo.org>2021-03-12 21:49:22 +0100
commit776ba48c2578c4a3b669fcddbd83cf7f558b1c14 (patch)
tree968fb18b9169222e15941be5b47b659ee783a15a /x11-themes/faenza-icon-theme
parentx11-themes/xcursor-themes: move to xorg-3 (diff)
downloadgentoo-776ba48c2578c4a3b669fcddbd83cf7f558b1c14.tar.gz
gentoo-776ba48c2578c4a3b669fcddbd83cf7f558b1c14.tar.bz2
gentoo-776ba48c2578c4a3b669fcddbd83cf7f558b1c14.zip
x11-themes/faenza-icon-theme: fix eclass usage
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Aisha Tammy <gentoo@aisha.cc> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'x11-themes/faenza-icon-theme')
-rw-r--r--x11-themes/faenza-icon-theme/faenza-icon-theme-1.3.1-r1.ebuild (renamed from x11-themes/faenza-icon-theme/faenza-icon-theme-1.3.1.ebuild)26
-rw-r--r--x11-themes/faenza-icon-theme/metadata.xml18
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
index ed16020b395f..34116d7b4b32 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 a31537d90522..585a6d74632f 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>desktop-misc@gentoo.org</email>
- <name>Gentoo Desktop Miscellaneous Project</name>
- </maintainer>
- <upstream>
- <remote-id type="google-code">faenza-icon-theme</remote-id>
- </upstream>
+ <maintainer type="person">
+ <email>gentoo@aisha.cc</email>
+ <name>Aisha Tammy</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="google-code">faenza-icon-theme</remote-id>
+ </upstream>
</pkgmetadata>