blob: 2a69baeafcc689589049e79e46b7e4c838997084 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit cmake-utils
DESCRIPTION="Integrated Communication Environment Which Is Not Gesten"
HOMEPAGE="http://icewing.sf.net/"
SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# need to add xcf, dacs, mvimpact as use-flags (and packages)
IUSE="debug ffmpeg +grabber ieee1394 jpeg png readline +unicap"
DEPEND="
sys-libs/zlib
x11-libs/gtk+:2
x11-libs/gdk-pixbuf[jpeg?]
ffmpeg? ( virtual/ffmpeg )
ieee1394? ( sys-libs/libraw1394 media-libs/libdc1394:2 )
jpeg? ( virtual/jpeg )
png? ( media-libs/libpng )
readline? ( sys-libs/readline )
unicap? ( media-libs/unicap )"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-gcc64.patch
"${FILESDIR}"/${P}-mandir.patch
)
src_configure() {
local mycmakeargs="
-DDEBUG:BOOL=$(use debug && echo ON || echo OFF)
$(cmake-utils_use_with ffmpeg FFMPEG)
$(cmake-utils_use_with grabber GRABBER)
$(cmake-utils_use_with ieee1394 FIRE2)
$(cmake-utils_use_with jpeg JPEG)
$(cmake-utils_use_with png PNG)
$(cmake-utils_use_with readline READLINE)
$(cmake-utils_use_with unicap UNICAP)
-DWITH_GTK1=OFF
-DWITH_DACS=OFF
-DWITH_MVIMPACT=OFF
-DWITH_XCF=OFF"
einfo "configure arguments: $mycmakeargs"
cmake-utils_src_configure
}
pkg_postinst() {
elog "Plugins are now compiled into the icewing executable."
elog "Issue 'icewing --help' for a list of available plugins."
}
|