mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-02-14 22:25:46 +01:00
Added patch for windowmaker to enable imagemagick7
This commit is contained in:
@@ -1,19 +1,18 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils git-2
|
||||
EAPI=6
|
||||
inherit autotools eutils git-r3
|
||||
|
||||
DESCRIPTION="The fast and light GNUstep window manager - gryf's personal ebuild"
|
||||
HOMEPAGE="http://www.windowmaker.org/"
|
||||
SRC_URI="http://www.windowmaker.org/pub/source/release/WindowMaker-extra-0.1.tar.gz"
|
||||
EGIT_REPO_URI="https://github.com/gryf/wmaker"
|
||||
EGIT_MASTER="mynext"
|
||||
EGIT_BRANCH="mynext"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
IUSE="gif imagemagick jpeg modelock nls png tiff webp xinerama xrandr"
|
||||
IUSE="gif imagemagick jpeg modelock nls png tiff webp xinerama +xpm xrandr"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
|
||||
DEPEND="media-libs/fontconfig
|
||||
@@ -22,8 +21,8 @@ DEPEND="media-libs/fontconfig
|
||||
x11-libs/libXt
|
||||
x11-libs/libXv
|
||||
gif? ( >=media-libs/giflib-4.1.0-r3 )
|
||||
imagemagick? ( media-gfx/imagemagick )
|
||||
jpeg? ( virtual/jpeg )
|
||||
imagemagick? ( media-gfx/imagemagick:0= )
|
||||
jpeg? ( virtual/jpeg:0= )
|
||||
png? ( media-libs/libpng:0= )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
webp? ( media-libs/libwebp )
|
||||
@@ -36,7 +35,7 @@ src_unpack() {
|
||||
# wm-extras
|
||||
unpack ${A}
|
||||
|
||||
git-2_src_unpack
|
||||
git-r3_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
@@ -49,6 +48,11 @@ src_prepare() {
|
||||
fi;
|
||||
done;
|
||||
|
||||
if has_version '>=media-gfx/imagemagick-7.0.1.0' ; then
|
||||
eapply "${FILESDIR}/${PN}-0.95.8-imagemagick7.patch"
|
||||
fi
|
||||
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
@@ -56,14 +60,13 @@ src_configure() {
|
||||
local myconf
|
||||
|
||||
# image format types
|
||||
# xpm is provided by X itself
|
||||
myconf="--enable-xpm $(use_enable imagemagick magick) $(use_enable jpeg) $(use_enable gif) $(use_enable png) $(use_enable tiff) $(use_enable webp)"
|
||||
myconf="$(use_enable imagemagick magick) $(use_enable jpeg) $(use_enable gif) $(use_enable png) $(use_enable tiff) $(use_enable webp) $(use_enable xpm)"
|
||||
|
||||
# non required X capabilities
|
||||
myconf="${myconf} $(use_enable modelock) $(use_enable xrandr randr) $(use_enable xinerama)"
|
||||
|
||||
if use nls; then
|
||||
[[ -z $LINGUAS ]] && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`"
|
||||
[[ -z $LINGUAS ]] && export LINGUAS="$(ls po/*.po | sed 's:po/\(.*\)\.po$:\1:' | xargs)"
|
||||
else
|
||||
myconf="${myconf} --disable-locale"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user