trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: February 2012

Re: [trinity-users] kaffeine-3.5.13 compilation error

From: Serghei Amelian <serghei@...>
Date: Thu, 2 Feb 2012 23:25:22 +0200
On Friday 27 January 2012 00:13:54 roman wrote:
> Hi everyone,
>
> i am currently trying to compile kaffeine-3.5.13 on Funtoo/Gentoo.
> kdebase-startkde and the kaffeine-deps should already be installed fine.

Hello,

As I promise, I ported kaffeine build system to cmake.

There are complete sources: http://thel.ro/distfiles/kaffeine-0.8.8.tar.bz2

Also, I attached ebuild file.

-- 

Serghei
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"
inherit cmake-utils kde-functions
set-kdedir 3.5

DESCRIPTION="Media player for KDE using xine and gstreamer backends."
HOMEPAGE="http://kaffeine.sourceforge.net"
SRC_URI="http://www.thel.ro/distfiles/${P}.tar.bz2"
LICENSE="GPL-2"
KEYWORDS="~x86"
IUSE="dvb gstreamer xinerama vorbis encode +xcb"

SLOT="3.5"

RDEPEND="kde-base/kdelibs:${SLOT}
        >=media-libs/xine-lib-1.1.9[xcb?]
        xcb? ( >=x11-libs/libxcb-1.0 )
        gstreamer? ( =media-libs/gstreamer-0.10*
                =media-plugins/gst-plugins-xvideo-0.10* )
        dev-libs/libcdio
        encode? ( media-sound/lame )
        vorbis? ( media-libs/libvorbis )
        x11-libs/libXtst"

DEPEND="${RDEPEND}
        dvb? ( media-tv/linuxtv-dvb-headers
               >=sys-kernel/linux-headers-2.6.28 )
        x11-proto/inputproto
        dev-util/cmake
        dev-util/pkgconfig"

S=${WORKDIR}/${PN}

src_configure() {
        mycmakeargs=(
                -DCMAKE_INSTALL_RPATH=/usr/kde/3.5/lib
                $(cmake-utils_use_with dvb DVB)
                $(cmake-utils_use_with gstreamer GSTREAMER)
                $(cmake-utils_use_with xinerama XINERAMA)
                $(cmake-utils_use_with vorbis OGGVORBIS)
                $(cmake-utils_use_with encode MP3LAME)
                $(cmake-utils_use_with xcb XCB)
        )

        cmake-utils_src_configure
}