kaffeine multimedia player, kde frontend for xine.
This commit is contained in:
parent
af95af2ee6
commit
5ac57c03bf
50
multimedia/kaffeine/Makefile
Normal file
50
multimedia/kaffeine/Makefile
Normal file
@ -0,0 +1,50 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2006/06/11 10:32:57 espie Exp $
|
||||
|
||||
CATEGORIES= multimedia x11 x11/kde
|
||||
COMMENT= 'video player for kde'
|
||||
|
||||
HOMEPAGE= http://kaffeine.sourceforge.net/
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=kaffeine/}
|
||||
DISTNAME= kaffeine-0.8.1
|
||||
PKGNAME= ${DISTNAME}
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
SHARED_LIBS= kaffeineaudioencoder 0.0 \
|
||||
kmediapart 0.0
|
||||
|
||||
MODULES= x11/kde
|
||||
USE_LIBTOOL= Yes
|
||||
LIBTOOL_FLAGS= --tag=disable-static
|
||||
MODKDE_VERSION= 3.5.3
|
||||
CONFIGURE_STYLE= autoconf
|
||||
AUTOCONF_VERSION= 2.59
|
||||
CONFIGURE_ARGS+= ${MODKDE_CONFIGURE_ARGS}
|
||||
CONFIGURE_ARGS+= --disable-libsuffix \
|
||||
--without-gstreamer \
|
||||
--without-arts \
|
||||
--without-lame
|
||||
|
||||
USE_GMAKE= Yes
|
||||
CONFIGURE_ENV+= ${MODKDE_CONFIGURE_ENV}
|
||||
MAKE_ENV= ${CONFIGURE_ENV}
|
||||
MAKE_FLAGS+= ${MODKDE_MAKE_FLAGS}
|
||||
MAKE_FLAGS+= LIBRESOLV=
|
||||
|
||||
LIB_DEPENDS= kdecore.7,DCOP,kdesu,kio,kdefx,kparts,kutils,kdeprint,kdeui,kwalletclient,khtml,kjs::x11/kde/libs3 \
|
||||
vorbis,vorbisenc::audio/libvorbis \
|
||||
cdda_interface,cdda_paranoia::audio/cdparanoia \
|
||||
xine::multimedia/xine-lib
|
||||
|
||||
WANTLIB= X11 ICE Xrender SM Xinerama Xtst Xext freetype \
|
||||
util m pthread z c stdc++ \
|
||||
pcre pcreposix iconv jpeg ogg png idn intl art_lgpl_2
|
||||
|
||||
PERMIT_DISTFILES_FTP=Yes
|
||||
PERMIT_DISTFILES_CDROM=Yes
|
||||
PERMIT_PACKAGE_FTP=Yes
|
||||
PERMIT_PACKAGE_CDROM=Yes
|
||||
|
||||
|
||||
.include <bsd.port.mk>
|
4
multimedia/kaffeine/distinfo
Normal file
4
multimedia/kaffeine/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (kaffeine-0.8.1.tar.bz2) = 3abba4ff76ffdd109e1f1cfe286e5b5b
|
||||
RMD160 (kaffeine-0.8.1.tar.bz2) = 0a8ec4980b5ddce55640543763ae22215a1c5287
|
||||
SHA1 (kaffeine-0.8.1.tar.bz2) = b593fdc3afeee71eb60c2ac5b9c6e41057f5d12a
|
||||
SIZE (kaffeine-0.8.1.tar.bz2) = 2703094
|
36
multimedia/kaffeine/patches/patch-configure_in
Normal file
36
multimedia/kaffeine/patches/patch-configure_in
Normal file
@ -0,0 +1,36 @@
|
||||
$OpenBSD: patch-configure_in,v 1.1.1.1 2006/06/11 10:32:57 espie Exp $
|
||||
--- configure.in.orig Sat Jun 10 12:20:50 2006
|
||||
+++ configure.in Sat Jun 10 12:32:07 2006
|
||||
@@ -208,7 +208,7 @@ dnl ------------------------------------
|
||||
dnl cdparanoia check
|
||||
dnl -------------------------------------
|
||||
|
||||
-AC_CHECK_HEADERS(cdda_interface.h, have_paranoia="yes", have_paranoia="no" )
|
||||
+KDE_CHECK_HEADERS(cdda_interface.h, have_paranoia="yes", have_paranoia="no" )
|
||||
|
||||
dnl ----------------------------------
|
||||
dnl Can Kaffeine be compiled?
|
||||
@@ -242,18 +242,14 @@ if test "$ac_cv_use_oggvorbis" = "yes";
|
||||
|
||||
AC_MSG_CHECKING(for ogg/vorbis headers)
|
||||
ogg_vorbis=no
|
||||
- AC_TRY_COMPILE([
|
||||
- #include <vorbis/codec.h>
|
||||
- #include <vorbis/vorbisfile.h>
|
||||
- ],[
|
||||
- ],[
|
||||
- ogg_vorbis=yes
|
||||
- ])
|
||||
+ KDE_CHECK_HEADER(vorbis/vorbisfile.h,
|
||||
+ [ogg_vorbis=yes], [:])
|
||||
+
|
||||
AC_MSG_RESULT($ogg_vorbis)
|
||||
if test x$ogg_vorbis = xyes; then
|
||||
dnl we need the ogg_vorbis_lib because otherwise we override LIBS !
|
||||
- AC_CHECK_LIB(vorbisfile,ov_open,ogg_vorbis_lib=yes,
|
||||
- ogg_vorbis=no,[$all_libraries -lvorbisfile -lvorbis -logg])
|
||||
+ KDE_CHECK_LIB(vorbisfile,ov_open,ogg_vorbis_lib=yes,
|
||||
+ ogg_vorbis=no,[$all_libraries -lvorbisfile -lvorbis -logg -lm])
|
||||
fi
|
||||
if test x$ogg_vorbis = xyes; then
|
||||
AC_DEFINE(OGG_VORBIS,1,[Define if you have ogg/vorbis installed])
|
@ -0,0 +1,57 @@
|
||||
$OpenBSD: patch-kaffeine_src_wizarddialog_cpp,v 1.1.1.1 2006/06/11 10:32:57 espie Exp $
|
||||
--- kaffeine/src/wizarddialog.cpp.orig Sat Jun 10 13:48:17 2006
|
||||
+++ kaffeine/src/wizarddialog.cpp Sat Jun 10 23:07:51 2006
|
||||
@@ -104,7 +104,7 @@ WizardDialog::WizardDialog( QWidget *par
|
||||
*/
|
||||
//WIN32-CODECS
|
||||
info << "<hr><b>" << i18n("WIN32 Codecs") << "...</b><br>";
|
||||
- QDir d("/usr/lib/win32");
|
||||
+ QDir d("/usr/local/lib/win32");
|
||||
QStringList entries = d.entryList("wmv*");
|
||||
if (entries.count())
|
||||
info << "<font color=\"DarkGreen\">" << i18n("Ok.") << "</font>";
|
||||
@@ -122,13 +122,13 @@ WizardDialog::WizardDialog( QWidget *par
|
||||
else
|
||||
{
|
||||
d = QDir("/usr/local/lib");
|
||||
- entries = d.entryList("libdvdcss.so*");
|
||||
+ entries = d.entryList("libdvd.so*");
|
||||
if (entries.count())
|
||||
dvdcss = true;
|
||||
else
|
||||
{
|
||||
d = QDir("/usr/lib64");
|
||||
- entries = d.entryList("libdvdcss.so*");
|
||||
+ entries = d.entryList("libdvd.so*");
|
||||
if (entries.count())
|
||||
dvdcss = true;
|
||||
}
|
||||
@@ -139,6 +139,7 @@ WizardDialog::WizardDialog( QWidget *par
|
||||
else
|
||||
info << "<font color=\"DarkGreen\">" << i18n("Ok.") << "</font>";
|
||||
|
||||
+#if !defined(__OpenBSD__)
|
||||
//DVD-DRIVE
|
||||
info << "<br><hr><b>" << i18n("DVD Drive") << "...</b><br>";
|
||||
KProcess process;
|
||||
@@ -153,6 +154,7 @@ WizardDialog::WizardDialog( QWidget *par
|
||||
else
|
||||
info << "<font color=\"DarkBlue\">" << i18n("Can't check DMA mode. Permission denied or no such device:")
|
||||
<< " \"/dev/dvd\".</font>";
|
||||
+#endif
|
||||
|
||||
//DVB-DEVICES
|
||||
#ifdef HAVE_LINUX_DVB_FRONTEND_H
|
||||
@@ -281,9 +283,9 @@ void WizardDialog::accept()
|
||||
|
||||
void WizardDialog::slotReceivedStdout(KProcess*, char* buffer, int buflen)
|
||||
{
|
||||
- QString stdout = QString::fromLatin1(buffer, buflen);
|
||||
- m_stdout.append(stdout);
|
||||
- kdDebug() << "WizardDialog: got from hdparm: " << stdout << endl;
|
||||
+ QString out = QString::fromLatin1(buffer, buflen);
|
||||
+ m_stdout.append(out);
|
||||
+ kdDebug() << "WizardDialog: got from hdparm: " << out << endl;
|
||||
}
|
||||
|
||||
void WizardDialog::reject()
|
8
multimedia/kaffeine/pkg/DESCR
Normal file
8
multimedia/kaffeine/pkg/DESCR
Normal file
@ -0,0 +1,8 @@
|
||||
Multimedia player for KDE.
|
||||
|
||||
This port Uses xine for playback.
|
||||
|
||||
Video formats supported by xine are functional, including DVD
|
||||
playback with menus.
|
||||
|
||||
No CD support currently, nor VCD. No digital TV either.
|
128
multimedia/kaffeine/pkg/PLIST
Normal file
128
multimedia/kaffeine/pkg/PLIST
Normal file
@ -0,0 +1,128 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/06/11 10:32:57 espie Exp $
|
||||
bin/kaffeine
|
||||
include/kaffeine/
|
||||
include/kaffeine/kaffeine_part.h
|
||||
include/kaffeine/kaffeine_part_iface.h
|
||||
include/kaffeine/kaffeineaudioencoder.h
|
||||
include/kaffeine/kmediapart.h
|
||||
include/kaffeine/mrl.h
|
||||
include/kaffeine/playlistimport.h
|
||||
include/kaffeine_export.h
|
||||
${KDE}/libkaffeineoggvorbis.la
|
||||
${KDE}/libkaffeineoggvorbis.so
|
||||
${KDE}/libkaffeinepart.la
|
||||
${KDE}/libkaffeinepart.so
|
||||
lib/libkaffeineaudioencoder.la
|
||||
@lib lib/libkaffeineaudioencoder.so.${LIBkaffeineaudioencoder_VERSION}
|
||||
lib/libkmediapart.la
|
||||
@lib lib/libkmediapart.so.${LIBkmediapart_VERSION}
|
||||
share/applications/kde/kaffeine.desktop
|
||||
share/apps/kaffeine/
|
||||
share/apps/kaffeine/dvbdata.tar.gz
|
||||
share/apps/kaffeine/kaffeine_part.rc
|
||||
share/apps/kaffeine/kaffeinedisc.rc
|
||||
share/apps/kaffeine/kaffeineplaylist.rc
|
||||
share/apps/kaffeine/kaffeineui.rc
|
||||
share/apps/kaffeine/logo
|
||||
share/apps/kaffeine/logo.mpg
|
||||
share/apps/kaffeine/mms.protocol
|
||||
share/apps/kaffeine/nocover
|
||||
share/apps/kaffeine/pics/
|
||||
share/apps/kaffeine/pics/playing.png
|
||||
share/apps/kaffeine/rtsp.protocol
|
||||
share/apps/konqueror/
|
||||
share/apps/konqueror/servicemenus/
|
||||
share/apps/konqueror/servicemenus/kaffeine_append_file.desktop
|
||||
share/apps/konqueror/servicemenus/kaffeine_open_directory.desktop
|
||||
share/apps/konqueror/servicemenus/kaffeine_play_audiocd.desktop
|
||||
share/apps/konqueror/servicemenus/kaffeine_play_dvd.desktop
|
||||
share/apps/konqueror/servicemenus/kaffeine_play_vcd.desktop
|
||||
share/apps/profiles/
|
||||
share/apps/profiles/kaffeine.profile.xml
|
||||
share/doc/HTML/en/kaffeine/
|
||||
share/doc/HTML/en/kaffeine/common
|
||||
share/doc/HTML/en/kaffeine/discwindow.png
|
||||
share/doc/HTML/en/kaffeine/dvbbroadcast.png
|
||||
share/doc/HTML/en/kaffeine/dvbclient.png
|
||||
share/doc/HTML/en/kaffeine/dvbconfig.png
|
||||
share/doc/HTML/en/kaffeine/dvbepg.png
|
||||
share/doc/HTML/en/kaffeine/dvblive.jpg
|
||||
share/doc/HTML/en/kaffeine/dvbscan.png
|
||||
share/doc/HTML/en/kaffeine/dvbtimers.png
|
||||
share/doc/HTML/en/kaffeine/dvbwin.png
|
||||
share/doc/HTML/en/kaffeine/gstpart.png
|
||||
share/doc/HTML/en/kaffeine/index.cache.bz2
|
||||
share/doc/HTML/en/kaffeine/index.docbook
|
||||
share/doc/HTML/en/kaffeine/kaffeinepart.png
|
||||
share/doc/HTML/en/kaffeine/playlistwin.png
|
||||
share/doc/HTML/en/kaffeine/startwindow.png
|
||||
share/icons/hicolor/128x128/apps/kaffeine.png
|
||||
share/icons/hicolor/16x16/actions/player_mute.png
|
||||
share/icons/hicolor/16x16/actions/player_record.png
|
||||
share/icons/hicolor/16x16/apps/kaffeine.png
|
||||
share/icons/hicolor/16x16/apps/kdvbra.png
|
||||
share/icons/hicolor/16x16/apps/kdvbrac.png
|
||||
share/icons/hicolor/16x16/apps/kdvbtv.png
|
||||
share/icons/hicolor/16x16/apps/kdvbtvc.png
|
||||
share/icons/hicolor/16x16/apps/kilogram.png
|
||||
share/icons/hicolor/16x16/mimetypes/mime_kaffeine.png
|
||||
share/icons/hicolor/22x22/actions/player_mute.png
|
||||
share/icons/hicolor/22x22/actions/player_record.png
|
||||
share/icons/hicolor/22x22/apps/kaffeine.png
|
||||
share/icons/hicolor/32x32/actions/player_mute.png
|
||||
share/icons/hicolor/32x32/actions/player_record.png
|
||||
share/icons/hicolor/32x32/apps/kaffeine-pause.png
|
||||
share/icons/hicolor/32x32/apps/kaffeine-play.png
|
||||
share/icons/hicolor/32x32/apps/kaffeine-record.png
|
||||
share/icons/hicolor/32x32/apps/kaffeine.png
|
||||
share/icons/hicolor/32x32/apps/kilogram.png
|
||||
share/icons/hicolor/32x32/mimetypes/mime_kaffeine.png
|
||||
share/icons/hicolor/48x48/apps/kaffeine.png
|
||||
share/icons/hicolor/48x48/mimetypes/mime_kaffeine.png
|
||||
share/icons/hicolor/64x64/apps/kaffeine.png
|
||||
share/locale/bg/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/bn/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/br/
|
||||
share/locale/br/LC_MESSAGES/
|
||||
share/locale/br/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/ca/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/cs/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/da/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/de/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/el/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/es/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/fi/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/fr/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/ga/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/gl/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/he/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/hu/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/it/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/ja/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/lt/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/mk/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/nb/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/nl/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/nn/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/pa/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/pl/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/pt/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/ru/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/sr/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/sr@Latn/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/sv/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/tr/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/uk/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/uz/
|
||||
share/locale/uz/LC_MESSAGES/
|
||||
share/locale/uz/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/xx/
|
||||
share/locale/xx/LC_MESSAGES/
|
||||
share/locale/xx/LC_MESSAGES/kaffeine.mo
|
||||
share/locale/zh_CN/LC_MESSAGES/kaffeine.mo
|
||||
share/mimelnk/application/x-kaffeine.desktop
|
||||
share/mimelnk/application/x-mplayer2.desktop
|
||||
share/services/kaffeine_part.desktop
|
||||
share/services/kaffeineoggvorbis.desktop
|
||||
share/servicetypes/kaffeineaudioencoder.desktop
|
Loading…
Reference in New Issue
Block a user