Package-Name: xine
Gentoo-Package: media-video/xine-ui
Requires: xine-lib libpng
# these are needed because we patch the autoconf files
#Compile-Requires: autoconf automake libtool
Homepage: http://xine.sourceforge.net/
Source: sourceforge:///xine/xine-ui-(\d+(.\d+)+).tar.gz $1
Rebuild-For: xine-lib libpng
Zap-Before-Install: 1
Repack:
	-tar xzvfp "$(SOURCE)"
	mv xine-ui-* xine-"$(VERSION)"
Compile:
	$(MAKE) -f ../Makefile configure CONFIGURE=./autogen.sh
	$(MAKE)
	$(MAKE) install
Install:
	$(MAKE) instbin BIN="fbxine xine xine-bugreport xine-check xine-remote"
	$(MAKE) instman SECTION=1 MAN="xine xine-bugreport xine-check xine-remote"
NoPatch: <<EOT
--- configure.ac.old	2003-12-24 20:10:55 +0900
+++ configure.ac	2004-04-16 14:59:02 +0900
@@ -332,7 +332,7 @@
    [], with_ncurses=yes)
 
 if test x"$with_ncurses" = xyes; then
-  AC_CHECK_HEADERS(curses.h)
+  AC_CHECK_HEADERS(curses.h ncurses/curses.h)
   AC_CHECK_LIB(ncurses, cbreak,
                AC_DEFINE(HAVE_NCURSES,,[Define this if you have ncurses installed])
                ac_have_ncurses="yes"
--- doc/Makefile.am.old	2005-05-20 09:29:50 +0900
+++ doc/Makefile.am	2005-09-05 17:15:03 +0900
@@ -16,7 +16,6 @@
 	README_fi \
 	README_uk \
 	README_fr \
-	README_de \
 	README.en.0.Introduction \
 	README.en.5.xine-ui \
 	README.en.10.Remote_control \
--- src/fb/keys.c.old	2003-12-02 02:23:27 +0900
+++ src/fb/keys.c	2004-04-16 14:59:38 +0900
@@ -35,6 +35,10 @@
 
 #ifdef HAVE_CURSES_H
 #include <curses.h>
+#else
+# ifdef HAVE_NCURSES_CURSES_H
+#  include <ncurses/curses.h>
+# endif
 #endif
 
 #include "keys.h"
--- src/xitk/oxine/Makefile.am.old	2005-03-13 18:15:34 +0900
+++ src/xitk/oxine/Makefile.am	2005-09-05 17:29:06 +0900
@@ -1,6 +1,6 @@
 SUBDIRS = data
 
-AM_CPPFLAGS = -I$(top_srcdir)/src/xitk
+AM_CFLAGS = @BUILD_LIB_STATIC@ @X_CFLAGS@ @XINE_CFLAGS@ @CURL_CFLAGS@ @NVTVSIMPLE_CFLAGS@ @READLINE_INCLUDES@ -I$(top_srcdir)/src/xitk
 
 if HAVE_X11
 oxine_lib = liboxine.la
EOT

/pkg/xine/
/usr/bin/fbxine
/usr/bin/xine
/usr/bin/xine-bugreport
/usr/bin/xine-check
/usr/bin/xine-remote
/usr/man/man1/xine.1.gz
/usr/man/man1/xine-bugreport.1.gz
/usr/man/man1/xine-check.1.gz
/usr/man/man1/xine-remote.1.gz
