Update of /cvsroot/freevo/kaa/xine
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6416

Added Files:
        setup.py 
Log Message:
Initial work on kaa-xine.  Don't expect much. :)


--- NEW FILE: setup.py ---
# -*- coding: iso-8859-1 -*-
# -----------------------------------------------------------------------------
# setup.py - Setup script for kaa.xine
# -----------------------------------------------------------------------------
# $Id: setup.py,v 1.1 2005/07/16 03:52:42 tack Exp $
#
# -----------------------------------------------------------------------------
# Copyright (C) 2004-2005 Jason Tackaberry <[EMAIL PROTECTED]>
#
# Maintainer:    Jason Tackaberry <[EMAIL PROTECTED]>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MER-
# CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# -----------------------------------------------------------------------------

# python imports
import sys

try:
    # kaa base imports
    from kaa.base.distribution import Extension, setup
except ImportError:
    print 'kaa.base not installed'
    sys.exit(1)
    
files = ["src/xine.c", 'src/video_port.c', 'src/audio_port.c', 'src/stream.c', 
'src/drivers/x11.c']
xineso = Extension('kaa.xine._xinemodule', files, config='src/config.h')


if not xineso.check_library('xine', '1.0.0'):
    print 'xine >= 1.0.0 not found'
    print 'Download from http://xinehq.de'
    sys.exit(1)

setup(module      = 'xine',
      version     = '0.1',
      ext_modules = [ xineso ]
)



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to