From d99093fb4bb5652015c06274d64083daa2439e4f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 3 Mar 2021 10:28:17 +0000 Subject: gentoo resync : 03.03.2021 --- x11-wm/icewm/Manifest | 10 +-- x11-wm/icewm/icewm-1.9.2.ebuild | 138 ------------------------------------ x11-wm/icewm/icewm-2.1.1.ebuild | 153 ---------------------------------------- x11-wm/icewm/icewm-2.1.2.ebuild | 2 +- x11-wm/icewm/icewm-2.2.0.ebuild | 153 ++++++++++++++++++++++++++++++++++++++++ x11-wm/icewm/icewm-2.2.1.ebuild | 153 ++++++++++++++++++++++++++++++++++++++++ 6 files changed, 312 insertions(+), 297 deletions(-) delete mode 100644 x11-wm/icewm/icewm-1.9.2.ebuild delete mode 100644 x11-wm/icewm/icewm-2.1.1.ebuild create mode 100644 x11-wm/icewm/icewm-2.2.0.ebuild create mode 100644 x11-wm/icewm/icewm-2.2.1.ebuild (limited to 'x11-wm/icewm') diff --git a/x11-wm/icewm/Manifest b/x11-wm/icewm/Manifest index 22937a5cc2f4..893cb297df36 100644 --- a/x11-wm/icewm/Manifest +++ b/x11-wm/icewm/Manifest @@ -1,10 +1,10 @@ AUX icewm 33 BLAKE2B 5605658012ad8ed16bbd4cf0c4cb7cbe5204f73c20ef2c3d9fef1011a80b9e68863de64b45e4b043604b147c9d31f3f5d2617d067b694f5ec5329ad895472b0e SHA512 3fe619e59cc5d354242ccd85d3b1982dd7db6d0f6170f46f9d33975872f6d5a342a08d69db763162dc43681eedb96e9ba5075455bf54adf4fb86bf19887bf6e0 -DIST icewm-1.9.2.tar.lz 1694602 BLAKE2B cf30a695ba48093b386aa2f3af5120e78a9fcc57da9038bcd546ade0986e1bc359a3da91d2eeeb8d3a105173f5d755223675a84b38cfc8c907269efd2561c706 SHA512 7b4f8c47c636a0113af576bc1bcd9fde111ae70eb0bcf21fb1d906ca43bea4d8b0337a728e5da35bcfeabd56c66fd0d14581d7377f063dd750fdf01362b24be2 DIST icewm-2.0.1.tar.lz 1694439 BLAKE2B 1476f33fa7350a98b7eca8c5c265455d0a78b28bcbd35ab78969b528ae02d3c960fb73cf2b24ea999ee5e08c9f0641d3502c7d5ed8b285777162c334d645b6db SHA512 ac4126b38d592aed60d2269f58c5a1612b61e871565e3c3e51bc2b430e4da6a4708f78e86c16091fa4dfb9eefd4109ae89102ab708e3bce9a44f1e5fe1970c59 -DIST icewm-2.1.1.tar.lz 1695855 BLAKE2B 81903735a71e13953635a4d70547f2518983b5e58fd9e90124e4aecb6b9b53827d48f77bbff3cec59b929456f4c1ab14fde999bbc45f90c8916bbb1017b8eb20 SHA512 7d0acd655f505755fe0b1186b7422a254805bd1c56f00170ecac90272c31c1c0673f781e4e89e04682515b7313dd57b78797398a81edc62b86abc6991abfc45c DIST icewm-2.1.2.tar.lz 1694969 BLAKE2B 640af2b7afb34ebcf6fc4f1762161bd8cae124e58735ad3e5af3f8a12723ead71e491fbef9e9119792c54e4e116c7cc491847da1e103b2c46765044bfda71f2d SHA512 92c52b057c7ac1c81eb72cb01d4041715fae2b1c221ecc0e5286a9bfad87e1607a3d7c60dde125436ad32c9a72dac01ee82a3bfe4b671b2d458ba3ce4c0c5a62 -EBUILD icewm-1.9.2.ebuild 2751 BLAKE2B ffbbde71ff1e7e055de75878203dfcfe4ddf47e0883f9c51d9ed4a68d007c1d294d2bc33ce0009b0fb4b5b8c679a341aefc30252fe3fd3cc0a963574a3b31955 SHA512 42c3df4c4709f963e23264785acb1e56df30fb1b580fbdc06029e86cb7c7fe1b78b4dc46d250cae50195404ccd166582d2560940076f7823e368e36de333e333 +DIST icewm-2.2.0.tar.lz 1697312 BLAKE2B c030b7675a645b91ad3e2476735acc0c2cd4425227d96b99ffc81d57e859f8c6ece029b892f32bff2fbba0683f3e279fd73446e935d5c76a1c472376897810ba SHA512 c0d84bba176f30e7a5a1d8272e306279dfc2e7c130461d72b45fe55c691a6d262484dd4c7b818ac7ec55db878cad3c84bba33d6e451355036fa4e7ba89ee1fdb +DIST icewm-2.2.1.tar.lz 1697220 BLAKE2B a1c236c5aa3f2b958f3ad53c6d757abbce344da3c1c9c8f49bd4c986c68aef7421e799100dfabcb03e612d4c6a44af6a063080730b054e96ee054c85c21d5d1e SHA512 700122ace9a120300a06f17f334b76c12395154693583587527254903f53d12feb6e991754fc714960cc78b0d7809202879e43f2508f4d7ffa3fc7af84e628d6 EBUILD icewm-2.0.1.ebuild 2945 BLAKE2B 8d84aab27149ed83bdea11800913905561fcda897aea287243faa7164df8462ece8f17e1ca4b7f94b4fd345932ef01e006174b39afae850ec533b772535f5b80 SHA512 7398ea8cf49d6c8fcacf40fb49f6489e0ba0f6015c96306e8873bac68063f46c52f44ba19d279f5abc60fd1f354f03778a54a41cb1f409a7038cc9c3178fa58d -EBUILD icewm-2.1.1.ebuild 2949 BLAKE2B 7cbb263b4244bc2112c5dd6ac91a0b970d31e3ce36034a31d036e1fd77d34923da8de8bfe64ef4d212984640d932727a9b362bf7f2ff6ecea10a9ae57db15906 SHA512 96ef7961a4754b355678b222b1c99f5ea7efc2cf2ec5badf951458fadee580c26a5614dccb540b9685d118e6761cf20df14b71b7ce7ef98f84b8df8bfb596e19 -EBUILD icewm-2.1.2.ebuild 2949 BLAKE2B 7cbb263b4244bc2112c5dd6ac91a0b970d31e3ce36034a31d036e1fd77d34923da8de8bfe64ef4d212984640d932727a9b362bf7f2ff6ecea10a9ae57db15906 SHA512 96ef7961a4754b355678b222b1c99f5ea7efc2cf2ec5badf951458fadee580c26a5614dccb540b9685d118e6761cf20df14b71b7ce7ef98f84b8df8bfb596e19 +EBUILD icewm-2.1.2.ebuild 2956 BLAKE2B a29971bc37782d51dd81352475005d0860682ce1fa18ce04d9f69d67bdc1cefaf667a6179d58c63a6d39cb44f0971bd41ae54694896c37b0a3183a6a4fc360b4 SHA512 07b44baf1a7f48d9da2b8abdae82b3dda800662ce912f6f69cf1e7ea665407931aeb77b9f04e902b8862fc43790c4981bb1c57cd04c112cbed49991385a58174 +EBUILD icewm-2.2.0.ebuild 2956 BLAKE2B a29971bc37782d51dd81352475005d0860682ce1fa18ce04d9f69d67bdc1cefaf667a6179d58c63a6d39cb44f0971bd41ae54694896c37b0a3183a6a4fc360b4 SHA512 07b44baf1a7f48d9da2b8abdae82b3dda800662ce912f6f69cf1e7ea665407931aeb77b9f04e902b8862fc43790c4981bb1c57cd04c112cbed49991385a58174 +EBUILD icewm-2.2.1.ebuild 2956 BLAKE2B a29971bc37782d51dd81352475005d0860682ce1fa18ce04d9f69d67bdc1cefaf667a6179d58c63a6d39cb44f0971bd41ae54694896c37b0a3183a6a4fc360b4 SHA512 07b44baf1a7f48d9da2b8abdae82b3dda800662ce912f6f69cf1e7ea665407931aeb77b9f04e902b8862fc43790c4981bb1c57cd04c112cbed49991385a58174 MISC metadata.xml 747 BLAKE2B a986dc65f9b603519ef92fecc63cadd2921d6569e8735956a55ce91673426082e367664cce23c2b80cec19e0d997da357ac8f9d3d78c738ad92f42f6f426c225 SHA512 f9b84c60b780b5999c8a295b64bdf1bdb734108984e48f1271257cb35602df024a347560526de52f43ede16f67031551f4ae3f37401d3320e4dbdfb913e557fe diff --git a/x11-wm/icewm/icewm-1.9.2.ebuild b/x11-wm/icewm/icewm-1.9.2.ebuild deleted file mode 100644 index bd9668540305..000000000000 --- a/x11-wm/icewm/icewm-1.9.2.ebuild +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools unpacker - -DESCRIPTION="Ice Window Manager with Themes" -HOMEPAGE="https://ice-wm.org/ https://github.com/ice-wm/icewm" -LICENSE="GPL-2" -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 +gdk-pixbuf nls truetype uclibc xinerama" - -# Tests broken in all versions, patches welcome, bug #323907, #389533 -RESTRICT="test" - -REQUIRED_USE="|| ( alsa ao )" - -#fix for icewm preversion package names -S="${WORKDIR}/${P/_}" - -# 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/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/libXft - x11-libs/libXpm - x11-libs/libXrandr - alsa? ( - media-libs/alsa-lib - media-libs/libsndfile[alsa] - ) - ao? ( - media-libs/libao - media-libs/libsndfile - ) - bidi? ( dev-libs/fribidi ) - gdk-pixbuf? ( - x11-libs/gdk-pixbuf-xlib - >=x11-libs/gdk-pixbuf-2.42.0:2 - ) - !gdk-pixbuf? ( - media-libs/libpng:0= - virtual/jpeg - ) - xinerama? ( x11-libs/libXinerama ) -" -DEPEND=" - ${RDEPEND} - $(unpacker_src_uri_depends) - dev-libs/glib:2 - x11-base/xorg-proto - gdk-pixbuf? ( gnome-base/librsvg:2 ) -" - -BDEPEND=" - app-text/asciidoc - virtual/pkgconfig - nls? ( >=sys-devel/gettext-0.19.8 ) -" - -src_prepare() { - # Fix bug #486710 - TODO: Still needed? - #use uclibc && PATCHES+=( "${FILESDIR}/${PN}-1.3.8-uclibc.patch" ) - - default - eautoreconf -} - -src_configure() { - local icesound - if use alsa && use ao ; then - icesound="alsa,ao" - elif use alsa ; then - icesound="alsa" - elif use ao ; then - icesound="ao" - fi - - local myconf=( - --enable-logevents - --enable-xrandr - --with-cfgdir="${EPREFIX}"/etc/icewm - --with-docdir="${EPREFIX}"/usr/share/doc/${PF}/html - --with-icesound="${icesound}" - --with-libdir="${EPREFIX}"/usr/share/icewm - $(use_enable bidi fribidi) - $(use_enable debug) - $(use_enable debug logevents) - $(use_enable gdk-pixbuf) - $(use_enable nls i18n) - $(use_enable nls) - $(use_enable xinerama) - ) - if use truetype ; then - myconf+=( - --enable-shape - ) - else - myconf+=( - --disable-xfreetype - --enable-corefonts - ) - fi - - econf "${myconf[@]}" - - sed -i "s:/icewm-\$(VERSION)::" src/Makefile || die - sed -i "s:ungif:gif:" src/Makefile || die "libungif fix failed" -} - -src_install() { - local DOCS=( AUTHORS ChangeLog NEWS README.md TODO VERSION ) - - default - - docinto html - dodoc doc/icewm.html - dodoc man/*.html - - exeinto /etc/X11/Sessions - doexe "${FILESDIR}/icewm" -} diff --git a/x11-wm/icewm/icewm-2.1.1.ebuild b/x11-wm/icewm/icewm-2.1.1.ebuild deleted file mode 100644 index ec1d0545c005..000000000000 --- a/x11-wm/icewm/icewm-2.1.1.ebuild +++ /dev/null @@ -1,153 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools unpacker - -DESCRIPTION="Ice Window Manager with Themes" -HOMEPAGE="https://ice-wm.org/ https://github.com/ice-wm/icewm" -LICENSE="GPL-2" -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 +gdk-pixbuf imlib nls truetype uclibc xinerama" - -# Tests broken in all versions, patches welcome, bug #323907, #389533 -RESTRICT="test" - -REQUIRED_USE="|| ( alsa ao )" -#?? ( gdk-pixbuf imlib ) - -#fix for icewm preversion package names -S="${WORKDIR}/${P/_}" - -# 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/libX11 - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrender -" - -RDEPEND=" - ${CORE_DEPEND} - dev-libs/glib:2 - x11-libs/libICE - x11-libs/libSM - x11-libs/libXft - x11-libs/libXpm - x11-libs/libXrandr - alsa? ( - media-libs/alsa-lib - media-libs/libsndfile[alsa] - ) - ao? ( - media-libs/libao - media-libs/libsndfile - ) - bidi? ( dev-libs/fribidi ) - gdk-pixbuf? ( - x11-libs/gdk-pixbuf-xlib - >=x11-libs/gdk-pixbuf-2.42.0:2 - ) - !gdk-pixbuf? ( - imlib? ( - gnome-base/librsvg:2 - media-libs/imlib2 - ) - !imlib? ( - media-libs/libpng:0= - virtual/jpeg - ) - ) - xinerama? ( x11-libs/libXinerama ) -" -DEPEND=" - ${RDEPEND} - $(unpacker_src_uri_depends) - x11-base/xorg-proto - gdk-pixbuf? ( gnome-base/librsvg:2 ) -" - -BDEPEND=" - app-text/asciidoc - virtual/pkgconfig - nls? ( >=sys-devel/gettext-0.19.8 ) -" - -pkg_pretend() { - if use gdk-pixbuf && use imlib ; then - einfo 'Confilcting USE flags have been enabled:' - einfo '"gdk-pixbuf" and "imlib" exclude each other!' - einfo 'Using "gdk-pixbuf".' - fi -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - local icesound - if use alsa && use ao ; then - icesound="alsa,ao" - elif use alsa ; then - icesound="alsa" - elif use ao ; then - icesound="ao" - fi - - local myconf=( - --enable-logevents - --enable-xrandr - --with-cfgdir="${EPREFIX}"/etc/icewm - --with-docdir="${EPREFIX}"/usr/share/doc/${PF}/html - --with-icesound="${icesound}" - --with-libdir="${EPREFIX}"/usr/share/icewm - $(use_enable bidi fribidi) - $(use_enable debug) - $(use_enable debug logevents) - $(use_enable gdk-pixbuf) - $(use_enable imlib imlib2) - $(use_enable nls i18n) - $(use_enable nls) - $(use_enable xinerama) - ) - if use truetype ; then - myconf+=( - --enable-shape - ) - else - myconf+=( - --disable-xfreetype - --enable-corefonts - ) - fi - - econf "${myconf[@]}" - - sed \ - -e "s:/icewm-\$(VERSION)::" \ - -e "s:ungif:gif:" \ - -i src/Makefile || die -} - -src_install() { - local DOCS=( AUTHORS ChangeLog NEWS README.md TODO VERSION ) - - default - - docinto html - dodoc doc/icewm.html - dodoc man/*.html - - exeinto /etc/X11/Sessions - doexe "${FILESDIR}/icewm" -} diff --git a/x11-wm/icewm/icewm-2.1.2.ebuild b/x11-wm/icewm/icewm-2.1.2.ebuild index ec1d0545c005..7b0d626e90a0 100644 --- a/x11-wm/icewm/icewm-2.1.2.ebuild +++ b/x11-wm/icewm/icewm-2.1.2.ebuild @@ -11,7 +11,7 @@ LICENSE="GPL-2" SRC_URI="https://github.com/ice-wm/icewm/releases/download/${PV}/${P}.tar.lz" SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" IUSE="+alsa ao bidi debug +gdk-pixbuf imlib nls truetype uclibc xinerama" # Tests broken in all versions, patches welcome, bug #323907, #389533 diff --git a/x11-wm/icewm/icewm-2.2.0.ebuild b/x11-wm/icewm/icewm-2.2.0.ebuild new file mode 100644 index 000000000000..7b0d626e90a0 --- /dev/null +++ b/x11-wm/icewm/icewm-2.2.0.ebuild @@ -0,0 +1,153 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools unpacker + +DESCRIPTION="Ice Window Manager with Themes" +HOMEPAGE="https://ice-wm.org/ https://github.com/ice-wm/icewm" +LICENSE="GPL-2" +SRC_URI="https://github.com/ice-wm/icewm/releases/download/${PV}/${P}.tar.lz" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="+alsa ao bidi debug +gdk-pixbuf imlib nls truetype uclibc xinerama" + +# Tests broken in all versions, patches welcome, bug #323907, #389533 +RESTRICT="test" + +REQUIRED_USE="|| ( alsa ao )" +#?? ( gdk-pixbuf imlib ) + +#fix for icewm preversion package names +S="${WORKDIR}/${P/_}" + +# 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/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrender +" + +RDEPEND=" + ${CORE_DEPEND} + dev-libs/glib:2 + x11-libs/libICE + x11-libs/libSM + x11-libs/libXft + x11-libs/libXpm + x11-libs/libXrandr + alsa? ( + media-libs/alsa-lib + media-libs/libsndfile[alsa] + ) + ao? ( + media-libs/libao + media-libs/libsndfile + ) + bidi? ( dev-libs/fribidi ) + gdk-pixbuf? ( + x11-libs/gdk-pixbuf-xlib + >=x11-libs/gdk-pixbuf-2.42.0:2 + ) + !gdk-pixbuf? ( + imlib? ( + gnome-base/librsvg:2 + media-libs/imlib2 + ) + !imlib? ( + media-libs/libpng:0= + virtual/jpeg + ) + ) + xinerama? ( x11-libs/libXinerama ) +" +DEPEND=" + ${RDEPEND} + $(unpacker_src_uri_depends) + x11-base/xorg-proto + gdk-pixbuf? ( gnome-base/librsvg:2 ) +" + +BDEPEND=" + app-text/asciidoc + virtual/pkgconfig + nls? ( >=sys-devel/gettext-0.19.8 ) +" + +pkg_pretend() { + if use gdk-pixbuf && use imlib ; then + einfo 'Confilcting USE flags have been enabled:' + einfo '"gdk-pixbuf" and "imlib" exclude each other!' + einfo 'Using "gdk-pixbuf".' + fi +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local icesound + if use alsa && use ao ; then + icesound="alsa,ao" + elif use alsa ; then + icesound="alsa" + elif use ao ; then + icesound="ao" + fi + + local myconf=( + --enable-logevents + --enable-xrandr + --with-cfgdir="${EPREFIX}"/etc/icewm + --with-docdir="${EPREFIX}"/usr/share/doc/${PF}/html + --with-icesound="${icesound}" + --with-libdir="${EPREFIX}"/usr/share/icewm + $(use_enable bidi fribidi) + $(use_enable debug) + $(use_enable debug logevents) + $(use_enable gdk-pixbuf) + $(use_enable imlib imlib2) + $(use_enable nls i18n) + $(use_enable nls) + $(use_enable xinerama) + ) + if use truetype ; then + myconf+=( + --enable-shape + ) + else + myconf+=( + --disable-xfreetype + --enable-corefonts + ) + fi + + econf "${myconf[@]}" + + sed \ + -e "s:/icewm-\$(VERSION)::" \ + -e "s:ungif:gif:" \ + -i src/Makefile || die +} + +src_install() { + local DOCS=( AUTHORS ChangeLog NEWS README.md TODO VERSION ) + + default + + docinto html + dodoc doc/icewm.html + dodoc man/*.html + + exeinto /etc/X11/Sessions + doexe "${FILESDIR}/icewm" +} diff --git a/x11-wm/icewm/icewm-2.2.1.ebuild b/x11-wm/icewm/icewm-2.2.1.ebuild new file mode 100644 index 000000000000..7b0d626e90a0 --- /dev/null +++ b/x11-wm/icewm/icewm-2.2.1.ebuild @@ -0,0 +1,153 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools unpacker + +DESCRIPTION="Ice Window Manager with Themes" +HOMEPAGE="https://ice-wm.org/ https://github.com/ice-wm/icewm" +LICENSE="GPL-2" +SRC_URI="https://github.com/ice-wm/icewm/releases/download/${PV}/${P}.tar.lz" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="+alsa ao bidi debug +gdk-pixbuf imlib nls truetype uclibc xinerama" + +# Tests broken in all versions, patches welcome, bug #323907, #389533 +RESTRICT="test" + +REQUIRED_USE="|| ( alsa ao )" +#?? ( gdk-pixbuf imlib ) + +#fix for icewm preversion package names +S="${WORKDIR}/${P/_}" + +# 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/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrender +" + +RDEPEND=" + ${CORE_DEPEND} + dev-libs/glib:2 + x11-libs/libICE + x11-libs/libSM + x11-libs/libXft + x11-libs/libXpm + x11-libs/libXrandr + alsa? ( + media-libs/alsa-lib + media-libs/libsndfile[alsa] + ) + ao? ( + media-libs/libao + media-libs/libsndfile + ) + bidi? ( dev-libs/fribidi ) + gdk-pixbuf? ( + x11-libs/gdk-pixbuf-xlib + >=x11-libs/gdk-pixbuf-2.42.0:2 + ) + !gdk-pixbuf? ( + imlib? ( + gnome-base/librsvg:2 + media-libs/imlib2 + ) + !imlib? ( + media-libs/libpng:0= + virtual/jpeg + ) + ) + xinerama? ( x11-libs/libXinerama ) +" +DEPEND=" + ${RDEPEND} + $(unpacker_src_uri_depends) + x11-base/xorg-proto + gdk-pixbuf? ( gnome-base/librsvg:2 ) +" + +BDEPEND=" + app-text/asciidoc + virtual/pkgconfig + nls? ( >=sys-devel/gettext-0.19.8 ) +" + +pkg_pretend() { + if use gdk-pixbuf && use imlib ; then + einfo 'Confilcting USE flags have been enabled:' + einfo '"gdk-pixbuf" and "imlib" exclude each other!' + einfo 'Using "gdk-pixbuf".' + fi +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local icesound + if use alsa && use ao ; then + icesound="alsa,ao" + elif use alsa ; then + icesound="alsa" + elif use ao ; then + icesound="ao" + fi + + local myconf=( + --enable-logevents + --enable-xrandr + --with-cfgdir="${EPREFIX}"/etc/icewm + --with-docdir="${EPREFIX}"/usr/share/doc/${PF}/html + --with-icesound="${icesound}" + --with-libdir="${EPREFIX}"/usr/share/icewm + $(use_enable bidi fribidi) + $(use_enable debug) + $(use_enable debug logevents) + $(use_enable gdk-pixbuf) + $(use_enable imlib imlib2) + $(use_enable nls i18n) + $(use_enable nls) + $(use_enable xinerama) + ) + if use truetype ; then + myconf+=( + --enable-shape + ) + else + myconf+=( + --disable-xfreetype + --enable-corefonts + ) + fi + + econf "${myconf[@]}" + + sed \ + -e "s:/icewm-\$(VERSION)::" \ + -e "s:ungif:gif:" \ + -i src/Makefile || die +} + +src_install() { + local DOCS=( AUTHORS ChangeLog NEWS README.md TODO VERSION ) + + default + + docinto html + dodoc doc/icewm.html + dodoc man/*.html + + exeinto /etc/X11/Sessions + doexe "${FILESDIR}/icewm" +} -- cgit v1.2.3