diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-22 14:08:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-22 14:08:05 +0000 |
commit | 93a93e9a3b53c1a73142a305ea1f8136846942ee (patch) | |
tree | b9791a06ab3284e27b568412c59316c66240c682 /x11-wm/e16/e16-1.0.24.ebuild | |
parent | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (diff) |
gentoo resync : 22.12.2021
Diffstat (limited to 'x11-wm/e16/e16-1.0.24.ebuild')
-rw-r--r-- | x11-wm/e16/e16-1.0.24.ebuild | 147 |
1 files changed, 147 insertions, 0 deletions
diff --git a/x11-wm/e16/e16-1.0.24.ebuild b/x11-wm/e16/e16-1.0.24.ebuild new file mode 100644 index 000000000000..89f74d6029b6 --- /dev/null +++ b/x11-wm/e16/e16-1.0.24.ebuild @@ -0,0 +1,147 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Enlightenment Window Manager (E16)" +HOMEPAGE="https://www.enlightenment.org https://sourceforge.net/projects/enlightenment/" +SRC_URI="mirror://sourceforge/enlightenment/${P}.tar.xz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+alsa audiofile container dbus debug +dialogs doc examples +gnome libhack modules nls opengl +pango +poll player pulseaudio +select +sndfile sound +themes xcomposite +xft xi2 xinerama xpresent ++xrandr +xrender +xsm +xsync zoom" + +REQUIRED_USE=" + ^^ ( poll select ) + opengl? ( xcomposite ) + pango? ( xft ) + sound? ( + ^^ ( alsa player pulseaudio ) + alsa? ( ^^ ( sndfile audiofile ) ) + pulseaudio? ( ^^ ( sndfile audiofile ) ) + ) +" + +BDEPEND=" + nls? ( sys-devel/gettext ) + virtual/pkgconfig +" +COMMON_DEPEND=" + media-libs/freetype:2 + media-libs/imlib2[X] + virtual/libiconv + x11-libs/libX11 + x11-libs/libXext + x11-misc/xbitmaps + dbus? ( sys-apps/dbus ) + opengl? ( + media-libs/glu + media-libs/mesa + ) + pango? ( + dev-libs/glib:2 + x11-libs/pango[X] + ) + sound? ( + alsa? ( media-libs/alsa-lib ) + player? ( media-sound/alsa-utils ) + pulseaudio? ( || ( + media-sound/apulse[sdk] + media-sound/pulseaudio + ) ) + audiofile? ( media-libs/audiofile:= ) + sndfile? ( media-libs/libsndfile ) + ) + xcomposite? ( + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXfixes + ) + xft? ( x11-libs/libXft ) + xinerama? ( x11-libs/libXinerama ) + xpresent? ( x11-libs/libXpresent ) + xrandr? ( x11-libs/libXrandr ) + xrender? ( x11-libs/libXrender ) + xsm? ( + x11-libs/libICE + x11-libs/libSM + ) + zoom? ( x11-libs/libXxf86vm ) +" +RDEPEND="${COMMON_DEPEND} + doc? ( app-doc/e16-docs ) + nls? ( virtual/libintl ) + themes? ( x11-themes/e16-themes ) + !x11-wm/enlightenment:0 +" +DEPEND="${COMMON_DEPEND} + x11-base/xorg-proto +" + +src_configure() { + local myconf=( + $(use_enable container) + $(use_enable dbus) + $(use_enable debug libtrip) + $(use_enable dialogs) + $(use_enable doc docs) + $(use_enable libhack) + $(use_enable modules) + $(use_enable nls) + $(use_enable opengl glx) + $(use_enable pango) + $(use_enable xcomposite composite) + $(use_enable xft) + $(use_enable xi2) + $(use_enable xinerama) + $(use_enable xpresent) + $(use_enable xrandr) + $(use_enable xrender) + $(use_enable xsm sm) + $(use_enable xsync) + $(use_enable zoom) + $(use_with gnome gnome gnome3) + --enable-mans + --disable-docs + --disable-esdtest + --disable-gcc-cpp + --disable-hints-gnome + --disable-werror + --disable-xscrnsaver + ) + if use sound; then + use alsa && myconf+=( --enable-sound=alsa ) + use pulseaudio && myconf+=( --enable-sound=pulseaudio ) + use player && myconf+=( --enable-sound=player ) + + if use alsa || use pulseaudio; then + use sndfile && myconf+=( --with-sndldr=sndfile ) + use audiofile && myconf+=( --with-sndldr=audiofile ) + else + myconf+=( --without-sndldr ) + fi + else + myconf+=( --disable-sound --without-sndldr ) + fi + use poll && myconf+=( --with-evhan=poll ) + use select && myconf+=( --with-evhan=select ) + + econf "${myconf[@]}" +} + +src_install() { + default + docompress -x /usr/share/doc/${PF}/e16.html + dodoc COMPLIANCE docs/e16.html + use examples && dodoc -r sample-scripts +} + +pkg_postinst() { + einfo "In order to use custom fonts, put them into ~/.e16/fonts/ and use" + einfo "appropriate names in ~/.e16/fonts.cfg. \"Use theme font configuration\"" + einfo "in the Theme setting should be disabled for this to work." +} |