1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-29 13:39:10 +00:00

updated ebuilds

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@75 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Brenden Matthews 2005-08-07 19:04:16 +00:00
parent d8b868e428
commit 3ac47260cf
2 changed files with 29 additions and 19 deletions

View File

@ -11,36 +11,46 @@ SRC_URI="mirror://sourceforge/conky/${P}.tar.bz2"
LICENSE="BSD" LICENSE="BSD"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86" KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="truetype seti metar mldonkey mpd" IUSE="truetype seti metar"
RDEPEND="virtual/libc DEPEND_COMMON="
virtual/libc
virtual/x11 virtual/x11
truetype? ( >=media-libs/freetype-2 ) truetype? ( >=media-libs/freetype-2 )
seti? ( sci-astronomy/setiathome ) !amd64? (
metar? ( dev-libs/mdsplib )" !sparc? (
metar? ( dev-libs/mdsplib )
)
)"
DEPEND="truetype? ( >=media-libs/freetype-2 ) #sparc and am64 awaiting keywords as per bug #99262
metar? ( dev-libs/mdsplib )
virtual/x11
RDEPEND="${DEPEND_COMMON}
seti? ( sci-astronomy/setiathome )"
DEPEND="
${DEPEND_COMMON}
>=sys-devel/automake-1.4 >=sys-devel/automake-1.4
sys-devel/autoconf sys-devel/autoconf
sys-apps/grep sys-apps/grep
sys-apps/sed sys-apps/sed
sys-devel/gcc sys-devel/gcc
>=sys-process/procps-3.2.5 >=sys-process/procps-3.2.5"
"
src_compile() { src_compile() {
local myconf local myconf
myconf="--enable-double-buffer --enable-own-window --enable-proc-uptime" myconf="--enable-double-buffer --enable-own-window --enable-proc-uptime --enable-mpd --enable-mldonkey"
if !use amd64 && !use sparc
then
myconf="${myconf} $(use_enable metar)"
fi
econf \ econf \
${myconf} \ ${myconf} \
$(use_enable truetype xft) \ $(use_enable truetype xft) \
$(use_enable metar) \ $(use_enable seti) \
$(use_enable mldonkey) \ $(use_enable metar) || die "econf failed"
$(use_enable mpd) \
$(use_enable seti) || die "econf failed"
emake || die "compile failed" emake || die "compile failed"
} }

View File

@ -11,7 +11,7 @@ HOMEPAGE="http://conky.rty.ca"
LICENSE="BSD" LICENSE="BSD"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86" KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="truetype seti metar mldonkey mpd" IUSE="truetype seti metar"
RDEPEND="virtual/libc RDEPEND="virtual/libc
virtual/x11 virtual/x11
@ -42,12 +42,12 @@ src_compile() {
econf \ econf \
$(use_enable truetype xft) \ $(use_enable truetype xft) \
$(use_enable metar) \ $(use_enable metar) \
$(use_enable mldonkey) \
$(use_enable mpd) \
$(use_enable seti) \ $(use_enable seti) \
--enable-double-buffer \ --enable-double-buffer \
--enable-own-window \ --enable-own-window \
--enable-proc-uptime \ --enable-proc-uptime \
--enable-mpd \
--enable-mldonkey \
|| die "econf failed" || die "econf failed"
emake || die "compile failed" emake || die "compile failed"
} }