|
|
LICENSE="GPL-2 LGPL-2" | LICENSE="GPL-2 LGPL-2" |
SLOT="3.5" | SLOT="3.5" |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" | KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
IUSE="acl alsa arts cups doc jpeg2k kerberos openexr spell ssl tiff zeroconf" |
IUSE="acl alsa arts avahi cups doc jpeg2k kerberos openexr spell ssl tiff zeroconf" |
| |
# kde.eclass has kdelibs in DEPEND, and we can't have that in here. | # kde.eclass has kdelibs in DEPEND, and we can't have that in here. |
# so we recreate the entire DEPEND from scratch. | # so we recreate the entire DEPEND from scratch. |
|
|
openexr? ( >=media-libs/openexr-1.2 ) | openexr? ( >=media-libs/openexr-1.2 ) |
spell? ( || ( app-text/aspell | spell? ( || ( app-text/aspell |
app-text/ispell ) ) | app-text/ispell ) ) |
zeroconf? ( net-misc/mDNSResponder ) |
zeroconf? ( !avahi? ( net-misc/mDNSResponder ) ) |
virtual/fam | virtual/fam |
virtual/ghostscript" | virtual/ghostscript" |
| |
|
|
RDEPEND="${RDEPEND} | RDEPEND="${RDEPEND} |
|| ( x11-apps/rgb virtual/x11 )" | || ( x11-apps/rgb virtual/x11 )" |
| |
|
PDEPEND="avahi? ( kde-base/kdnssd-avahi )" |
|
|
|
|
PATCHES="${FILESDIR}/${PN}-3.5.0-bindnow.patch | PATCHES="${FILESDIR}/${PN}-3.5.0-bindnow.patch |
${FILESDIR}/${PN}-3.5.0-kicker-crash.patch | ${FILESDIR}/${PN}-3.5.0-kicker-crash.patch |
${FILESDIR}/${P}-xorg7-rgbtxt.patch | ${FILESDIR}/${P}-xorg7-rgbtxt.patch |
|
|
$(use_with alsa) $(use_with arts) | $(use_with alsa) $(use_with arts) |
$(use_with kerberos gssapi) $(use_with tiff) | $(use_with kerberos gssapi) $(use_with tiff) |
$(use_with jpeg2k jasper) $(use_with openexr) | $(use_with jpeg2k jasper) $(use_with openexr) |
$(use_enable cups) $(use_enable zeroconf dnssd) |
$(use_enable cups) --without-hspell" |
--without-hspell" |
|
|
if use zeroconf && ! use avahi; then |
|
myconf="${myconf} --enable-dnssd" |
|
else |
|
myconf="${myconf} --disable-dnssd" |
|
fi |
| |
if use spell && has_version app-text/aspell; then | if use spell && has_version app-text/aspell; then |
myconf="${myconf} --with-aspell" | myconf="${myconf} --with-aspell" |