summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-11-18 14:14:12 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-11-18 14:17:25 +0100
commit81b5d7628b70b63a9b5743e7ac2437d1c1a30822 (patch)
treecd4b04189d544394bccea89819392cdf513cae9f /x11-wm
parentapp-emacs/nxml-libvirt-schemas: Remove old. (diff)
downloadgentoo-81b5d7628b70b63a9b5743e7ac2437d1c1a30822.tar.gz
gentoo-81b5d7628b70b63a9b5743e7ac2437d1c1a30822.tar.bz2
gentoo-81b5d7628b70b63a9b5743e7ac2437d1c1a30822.zip
x11-wm/icewm: Revbump for massive dependencies overhaul
Thanks-to: Yury Martynov <email@linxon.ru> Bug: https://bugs.gentoo.org/700474 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/icewm/icewm-1.6.2-r1.ebuild (renamed from x11-wm/icewm/icewm-1.6.2.ebuild)33
-rw-r--r--x11-wm/icewm/metadata.xml3
2 files changed, 28 insertions, 8 deletions
diff --git a/x11-wm/icewm/icewm-1.6.2.ebuild b/x11-wm/icewm/icewm-1.6.2-r1.ebuild
index 869277de7f94..4c87bc3f6120 100644
--- a/x11-wm/icewm/icewm-1.6.2.ebuild
+++ b/x11-wm/icewm/icewm-1.6.2-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/ice-wm/icewm/releases/download/${PV}/${P}.tar.lz"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-IUSE="+alsa ao bidi debug nls truetype uclibc xinerama"
+IUSE="+alsa ao bidi debug +gdk-pixbuf nls truetype uclibc xinerama"
# Tests broken in all versions, patches welcome, bug #323907, #389533
RESTRICT="test"
@@ -22,15 +22,25 @@ REQUIRED_USE="|| ( alsa ao )"
#fix for icewm preversion package names
S="${WORKDIR}/${P/_}"
-RDEPEND="
+# These are the core dependencies of icewm.
+# Look into configure.ac and search for PKG_CHECK_MODULES([CORE]
+CORE_DEPEND="
media-libs/fontconfig
- x11-libs/gdk-pixbuf:2[X]
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrender
+"
+
+RDEPEND="
+ ${CORE_DEPEND}
x11-libs/libICE
x11-libs/libSM
- x11-libs/libX11
x11-libs/libXft
+ x11-libs/libXpm
x11-libs/libXrandr
- x11-libs/libXrender
alsa? (
media-libs/alsa-lib
media-libs/libsndfile[alsa]
@@ -40,15 +50,22 @@ RDEPEND="
media-libs/libsndfile
)
bidi? ( dev-libs/fribidi )
- truetype? ( x11-libs/libXext )
+ gdk-pixbuf? (
+ x11-libs/gdk-pixbuf:2[X]
+ )
+ !gdk-pixbuf? (
+ media-libs/libpng:0=
+ virtual/jpeg
+ )
xinerama? ( x11-libs/libXinerama )
"
DEPEND="
${RDEPEND}
$(unpacker_src_uri_depends)
+ dev-libs/glib:2
gnome-base/librsvg
x11-base/xorg-proto
- truetype? ( >=media-libs/freetype-2.0.9 )
+ gdk-pixbuf? ( gnome-base/librsvg:2 )
"
BDEPEND="
@@ -76,7 +93,6 @@ src_configure() {
fi
local myconf=(
- --enable-gdk-pixbuf
--enable-logevents
--enable-xrandr
--with-cfgdir=/etc/icewm
@@ -85,6 +101,7 @@ src_configure() {
--with-libdir=/usr/share/icewm
$(use_enable bidi fribidi)
$(use_enable debug)
+ $(use_enable gdk-pixbuf)
$(use_enable nls i18n)
$(use_enable nls)
$(use_enable xinerama)
diff --git a/x11-wm/icewm/metadata.xml b/x11-wm/icewm/metadata.xml
index 43abc08bd4b1..7b0cfd7e0829 100644
--- a/x11-wm/icewm/metadata.xml
+++ b/x11-wm/icewm/metadata.xml
@@ -5,6 +5,9 @@
<email>polynomial-c@gentoo.org</email>
<name>Lars Wendler</name>
</maintainer>
+ <use>
+ <flag name="gdk-pixbuf">Enable gdk-pixbuf rendering</flag>
+ </use>
<longdescription>
IceWM is a window manager designed for speed, usability, and consistency.
It is able to emulate the looks of Motif, OS/2, and Windows, and allows you