[maintainer-update] multimedia/qdvdauthor update to 0.0.10

Upgrade qdvdauthor to 0.0.10.

PR:		ports/87823
Submitted by:	Phil Oleson <oz@nixil.net>
This commit is contained in:
Edwin Groothuis 2005-10-23 03:03:43 +00:00
parent 7414dcd4fc
commit f4b845a2b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146166
7 changed files with 3 additions and 111 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= qdvdauthor
PORTVERSION= 0.0.9
PORTREVISION= 2
PORTVERSION= 0.0.10
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME}

View File

@ -1,2 +1,2 @@
MD5 (qdvdauthor-0.0.9.tar.gz) = 465d888ef6f29162fe9b36ff8c49791c
SIZE (qdvdauthor-0.0.9.tar.gz) = 913252
MD5 (qdvdauthor-0.0.10.tar.gz) = da494965fb5ed14037acdbdf75af0857
SIZE (qdvdauthor-0.0.10.tar.gz) = 1168130

View File

@ -1,36 +0,0 @@
--- configure.orig Sat Feb 12 22:46:49 2005
+++ configure Mon Feb 14 20:39:36 2005
@@ -295,20 +295,20 @@
esac;
done;
# Sanity check to make sure we have at least one media library ...
- if [ $WITH_MPLAYER_SUPPORT$WITH_VLC_SUPPORT$WITH_XINE_SUPPORT == "000" ];
+ if [ $WITH_MPLAYER_SUPPORT$WITH_VLC_SUPPORT$WITH_XINE_SUPPORT -eq "000" ];
then
export WITH_XINE_SUPPORT=1
fi;
# Here we check for xine, or mplayer
- if [ $WITH_XINE_SUPPORT == 1 ];
+ if [ $WITH_XINE_SUPPORT -eq 1 ];
then
check_xinelibs;
fi;
- if [ $WITH_VLC_SUPPORT == 1 ];
+ if [ $WITH_VLC_SUPPORT -eq 1 ];
then
check_vlclibs;
fi;
- if [ $WITH_MPLAYER_SUPPORT == 1 ];
+ if [ $WITH_MPLAYER_SUPPORT -eq 1 ];
then
check_mplayerlibs;
fi;
@@ -316,7 +316,7 @@
# Next we write CONFIG.h
echo "#ifndef CONFIG_H" > qdvdauthor/CONFIG.h
echo "#define CONFIG_H" >> qdvdauthor/CONFIG.h
- echo "#define PREFIX_DIRECTORY $PREFIX" >> qdvdauthor/CONFIG.h
+ echo "#define PREFIX_DIRECTORY \"$PREFIX\"" >> qdvdauthor/CONFIG.h
echo "#endif // CONFIG_H" >> qdvdauthor/CONFIG.h

View File

@ -1,22 +0,0 @@
--- qdvdauthor/qdvdauthor.pro.orig Mon Feb 14 20:40:21 2005
+++ qdvdauthor/qdvdauthor.pro Mon Feb 14 20:40:39 2005
@@ -29,19 +29,6 @@
isEmpty(WHICH_PREFIX) {
WHICH_PREFIX = /usr
}
-# Here we create CONFIG.h according to the set-up ...
-system (echo -e '\x23ifndef CONFIG_H' > CONFIG.h )
-system (echo -e '\x23define CONFIG_H' >> CONFIG.h )
-system (echo -e '\x23define PREFIX_DIRECTORY "$$WHICH_PREFIX"' >> CONFIG.h )
-system (echo -e '\x23endif // CONFIG_H' >> CONFIG.h )
-
-# Next we create the MEDIA_CONFIG.h - file
-system (echo -e '\x23ifndef MEDIA_CONFIG_H' > qplayer/MEDIA_CONFIG.h )
-system (echo -e '\x23define MEDIA_CONFIG_H' >> qplayer/MEDIA_CONFIG.h )
-contains ( HAS_MPLAYER_SUPPORT, 1 ) { system (echo -e '\x23define MPLAYER_SUPPORT $$(WITH_MPLAYER_SUPPORT)' >> qplayer/MEDIA_CONFIG.h ) }
-contains ( HAS_XINE_SUPPORT, 1 ) { system (echo -e '\x23define XINE_SUPPORT $$(WITH_XINE_SUPPORT)' >> qplayer/MEDIA_CONFIG.h ) }
-contains ( HAS_VLC_SUPPORT, 1 ) { system (echo -e '\x23define VLC_SUPPORT $$(WITH_VLC_SUPPORT)' >> qplayer/MEDIA_CONFIG.h ) }
-system (echo -e '\x23endif // MEDIA_CONFIG_H' >> qplayer/MEDIA_CONFIG.h )
SOURCES += main.cpp\
utils.cpp \

View File

@ -1,10 +0,0 @@
--- qdvdauthor/qplayer/engines/qxinewidget.h.orig Wed Feb 16 02:14:23 2005
+++ qdvdauthor/qplayer/engines/qxinewidget.h Wed Feb 16 02:15:10 2005
@@ -31,6 +31,7 @@
#include <qtimer.h>
#include <qevent.h>
#include <qthread.h>
+#include <pthread.h>
#include <xine.h>

View File

@ -1,20 +0,0 @@
--- qdvdauthor/qplayer/mediacreator.cpp.orig Mon Feb 14 20:53:57 2005
+++ qdvdauthor/qplayer/mediacreator.cpp Mon Feb 14 20:53:59 2005
@@ -189,7 +189,7 @@
pParent = pParent;
pName = pName;
pExistingEngine = pExistingEngine;
-#ifdef VLC_SUPPORT
+#if (VLC_SUPPORT == 1)
pMediaInterface = (MediaInterface *) new VLCWidget (pParent, "VLCPart", pExistingEngine);
#endif
return pMediaInterface;
@@ -206,7 +206,7 @@
if (m_qsPreferredEngine == "QMPlayerWidget")
pInfo = (MediaInfo *) new MPlayerInfo (pVoid);
#endif
-#ifdef VLC_SUPPORT
+#if (VLC_SUPPORT == 1)
if (m_qsPreferredEngine == "VLCWidget")
pInfo = (MediaInfo *) new VLCInfo (pVoid);
#endif

View File

@ -1,19 +0,0 @@
--- qdvdauthor/qplayer/qplayer.pro.orig Mon Feb 14 20:41:59 2005
+++ qdvdauthor/qplayer/qplayer.pro Mon Feb 14 20:42:05 2005
@@ -25,16 +25,6 @@
CREATE_MEDIA_CONFIG = 1
}
-# So the question is if we should create the MEDIA_CONFIG.h - file ?
-contains (CREATE_MEDIA_CONFIG, 1) {
-system (echo -e '\x23ifndef MEDIA_CONFIG_H' > MEDIA_CONFIG.h )
-system (echo -e '\x23define MEDIA_CONFIG_H' >> MEDIA_CONFIG.h )
-contains ( HAS_MPLAYER_SUPPORT, 1 ) { system (echo -e '\x23define MPLAYER_SUPPORT $$(WITH_MPLAYER_SUPPORT)' >> MEDIA_CONFIG.h ) }
-contains ( HAS_XINE_SUPPORT, 1 ) { system (echo -e '\x23define XINE_SUPPORT $$(WITH_XINE_SUPPORT)' >> MEDIA_CONFIG.h ) }
-contains ( HAS_VLC_SUPPORT, 1 ) { system (echo -e '\x23define VLC_SUPPORT $$(WITH_VLC_SUPPORT)' >> MEDIA_CONFIG.h ) }
-system (echo -e '\x23endif // MEDIA_CONFIG_H' >> MEDIA_CONFIG.h )
-}
-
DISTFILES = README
SOURCES += qplayer.cpp \