summaryrefslogtreecommitdiff
path: root/x11-wm/e16
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/e16')
-rw-r--r--x11-wm/e16/Manifest3
-rw-r--r--x11-wm/e16/e16-1.0.22.ebuild146
-rw-r--r--x11-wm/e16/files/e16-user-fonts.patch12
3 files changed, 161 insertions, 0 deletions
diff --git a/x11-wm/e16/Manifest b/x11-wm/e16/Manifest
index 34f6663a7db6..277851a49d28 100644
--- a/x11-wm/e16/Manifest
+++ b/x11-wm/e16/Manifest
@@ -1,5 +1,8 @@
+AUX e16-user-fonts.patch 412 BLAKE2B c3b7e6b0599eb511afe9c6f969f5c529313be2732e4cad2a772c9860427eaf84eb1083fb10ff28853c19a972f734f0b231e78d4862ce5246d9d3bdde6e532c96 SHA512 6fdcbe6191d93cc5c64efb6039cbe9409fd08734a4c99c29482bde06f044b1e6b88c35ef34dc65ce384ecdfb78883022a18885dde6e1bac8ca8192d5f6901c42
+DIST e16-1.0.22.tar.xz 1442288 BLAKE2B 7f102474f9054935ea15ed58c91f18613561eaad84c8398c410014a5dbfb2f7f5fd079399db4c6462096c9a351bd89e47fbd61d304ca99ec844806c26c97d6a9 SHA512 0ff40390a56f0dbd2219d9e4e665b1c1802801e552df3bd76fa71502ad2fb7466f2f175757b088b490fbc58e4196b362d6cf451ad43d5104849ac8ce2805299e
DIST e16-1.0.24.tar.xz 1392444 BLAKE2B 5a4c30af2d484226fac73cbe9131ae9dc308638fc035958012b99747ddaa15b1fc1340fe74c7e809e399b5c93dfc7bf8a6ead338c3977483621f4ab98f8f4a3e SHA512 869e2c654bbdcdbb56656cacea8338b0f99a991e4aeaa4dde3fd01e358b1010a58422344e617d522e024186ab98a1d9364e6ea3428507b3831516d1da5dfb08a
DIST e16-1.0.25.tar.xz 1400004 BLAKE2B 34ef7be6896d04234b3a48675c185aa86d7a70e0e8b5db2cdf15bef4336a40575065713f9612b94dd29a490902f36f9eb08489a779160801e885a5635d896e56 SHA512 e5cc6b08ddad8eb3052dbafda2a0ab56134e90eb9cdf75da405ac853301eadf8348dc918218119117a1f96d08e562367ff60365deb790a14af5fbdaaf89684d3
+EBUILD e16-1.0.22.ebuild 3427 BLAKE2B 33ca3b091d59a39b322ce2a42cec37d8592a2ad5bbc4f87b59420632f3df701c66c9e3cfde8c0e66706980e0c7ecb6807c24afd32a54955356e84a0620624b2c SHA512 4ae42d166df0935206cb9821c923fddc88e5b3c9f60e25a503ab180e71847530bccd7454584229087d39f9325b98621a12e8ee24dfc05034f614b436f6128797
EBUILD e16-1.0.24.ebuild 3500 BLAKE2B 210bf1535f95e8fa8978f69f08fb3d9ea61a0f61b0b11066c2f2c16627f57deb928ee8065f66e859881f3a311eea081dc36f9b99b4bda83f58b6b7371d16d9a6 SHA512 b86b24a9076d3a6117946192ed1cfc02299d1574ffdad4420fcfa99d123235701f297b6c0245153d00631bbad18f906bde4ffcaa770a4ec6a9c4a616379f904c
EBUILD e16-1.0.25.ebuild 3484 BLAKE2B 087fd175260336f6f0a0daf1bc3004231af5b86f6c1465781f6a0f698b8ccd1c04c061fc5a7e949d828c2383eb473ca7c0e628b0295ac18e3640b6242cfe875c SHA512 30e8a1f175c46d8b411d621050668d6ffd32cb8dc72fb5d6f7803e8cce0cc13646f79f790e4b4d43e28439c7a5446ecf2375b255be570ff44b45468e3bac60d9
MISC metadata.xml 1946 BLAKE2B 12e1239a9398473232f68e9b1779083d281b1cdf035e48e5acad4e2ac7c48b2a8ec123a71fb76c7b33c28a49283a6cbc22b7067c071c442fbfea9e3e818791ff SHA512 210acaa29bfd7a5ea8bce39f37074cb3afc84e8e338019a240439fc858bf15b315c14b5d9780a3ba628c3047cf45ff6a5dcbb052b81b8213ad3fdf4a69eced28
diff --git a/x11-wm/e16/e16-1.0.22.ebuild b/x11-wm/e16/e16-1.0.22.ebuild
new file mode 100644
index 000000000000..8490c84fa233
--- /dev/null
+++ b/x11-wm/e16/e16-1.0.22.ebuild
@@ -0,0 +1,146 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 player pulseaudio +sndfile
+sound +themes xcomposite +xft xi2 xinerama xpresent +xrandr
++xrender +xsm +xsync zoom"
+
+REQUIRED_USE="
+ 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
+"
+
+PATCHES=( "${FILESDIR}/${PN}-user-fonts.patch" )
+
+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
+
+ 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."
+}
diff --git a/x11-wm/e16/files/e16-user-fonts.patch b/x11-wm/e16/files/e16-user-fonts.patch
new file mode 100644
index 000000000000..6a54efe0df97
--- /dev/null
+++ b/x11-wm/e16/files/e16-user-fonts.patch
@@ -0,0 +1,12 @@
+Allow users to provide custom fonts via ~/.e16/fonts/
+--- a/src/ttfont.c 2018-04-26 19:19:44.000000000 +0300
++++ b/src/ttfont.c 2019-03-06 06:04:33.489831326 +0300
+@@ -46,6 +46,8 @@
+ imlib_add_path_to_font_path(s);
+ Esnprintf(s, sizeof(s), "%s/fonts", EDirRoot());
+ imlib_add_path_to_font_path(s);
++ Esnprintf(s, sizeof(s), "%s/fonts", Mode.conf.dir);
++ imlib_add_path_to_font_path(s);
+ #endif
+ }
+