Import devede-3.3

DeVeDe is a program to create video DVDs and CDs (VCD, sVCD or CVD),
suitables for home players, from any number of video files, in any of
the formats supported by MPlayer.
This commit is contained in:
ajacoutot 2007-11-15 15:55:15 +00:00
parent 93bf583904
commit 4e45b5374e
5 changed files with 165 additions and 0 deletions

View File

@ -0,0 +1,48 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/11/15 15:55:15 ajacoutot Exp $
COMMENT= video DVDs and CDs creation tool
DISTNAME= devede-3.3
CATEGORIES= multimedia x11
EXTRACT_SUFX= .tar.bz2
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
HOMEPAGE= http://www.rastersoft.com/programas/devede.html
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.rastersoft.com/descargas/
MODULES= lang/python
RUN_DEPENDS= ::x11/py-gtk2 \
::multimedia/dvdauthor \
::graphics/vcdimager \
::sysutils/cdrtools \
::x11/mplayer \
:desktop-file-utils-*:devel/desktop-file-utils
.if ${MACHINE_ARCH} == "i386"
RUN_DEPENDS+= ::devel/py-psyco
PKG_ARCH= ${MACHINE_ARCH},${ARCH}
.else
PKG_ARCH= *
.endif
NO_BUILD= Yes
NO_REGRESS= Yes
pre-configure:
@find ${WRKSRC} -name \*.py | \
xargs perl -pi -e 's,/usr/bin/env python,${MODPY_BIN},g'
do-install:
cd ${WRKSRC} && /bin/sh install.sh prefix=${TRUEPREFIX} uninstall=no
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (devede-3.3.tar.bz2) = bJKdP8du57T6J1/A34Ve/w==
RMD160 (devede-3.3.tar.bz2) = yhg1r2hs+lUEdemDAI/7u15HAig=
SHA1 (devede-3.3.tar.bz2) = rdwCMIXLuPJH4svKLqXOEeXie60=
SHA256 (devede-3.3.tar.bz2) = /xAX5LH+Qdiny3JQfhIT8gpK3uFpyICiNXY+HZaogEM=
SIZE (devede-3.3.tar.bz2) = 1209175

View File

@ -0,0 +1,40 @@
$OpenBSD: patch-devede_convert_py,v 1.1.1.1 2007/11/15 15:55:15 ajacoutot Exp $
--- devede_convert.py.orig Sun Oct 21 23:52:48 2007
+++ devede_convert.py Wed Nov 14 12:00:59 2007
@@ -141,9 +141,13 @@ class create_all:
# TODO Windows Stuff
estado=''
freespace=''
- if sys.platform!='win32':
+ # OpenBSD does not have os.statvfs
+ if sys.platform!='win32' and not sys.platform.startswith('openbsd'):
estado=os.statvfs(filefolder) # eg. f="C:\Documents and Settings\User name\Desktop"
freespace=95*estado.f_bsize*estado.f_bavail/100000
+ elif sys.platform.startswith('openbsd'):
+ estado=''
+ freespace=''
else:
try:
spc, bps, fc, tc = win32api.GetDiskFreeSpace(filefolder)
@@ -349,7 +353,9 @@ class create_all:
mplay="mplayer.exe"
else:
mplay="mplayer"
- parameters=[mplay,"-sid","0x20",self.filefolder+"previewfile_01_01.mpg"]
+ playfile=glob.glob(self.filefolder+"previewfile_01_01.*")
+ for prefile in playfile:
+ parameters=[mplay,"-sid","0x20",prefile]
newtree=gtk.glade.XML(self.gladefile,"wpreviewagain_dialog",domain="devede")
w=newtree.get_widget("wpreviewagain_dialog")
while True:
@@ -364,7 +370,9 @@ class create_all:
while gtk.events_pending():
gtk.main_iteration()
w.destroy()
- os.remove(self.filefolder+"previewfile_01_01.mpg")
+ remfile=glob.glob(self.filefolder+"previewfile_01_01.*")
+ for remprefile in remfile:
+ os.remove(remprefile)
return False
if self.current_action=="create_disc":

View File

@ -0,0 +1,3 @@
DeVeDe is a program to create video DVDs and CDs (VCD, sVCD or CVD),
suitables for home players, from any number of video files, in any of
the formats supported by MPlayer.

View File

@ -0,0 +1,69 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/11/15 15:55:15 ajacoutot Exp $
bin/devede
lib/devede/
lib/devede/devede_bincue.py
lib/devede/devede_convert.py
lib/devede/devede_delete.py
lib/devede/devede_dvd.py
lib/devede/devede_executor.py
lib/devede/devede_gtk_helper.py
lib/devede/devede_other.py
lib/devede/devede_subtitles.py
lib/devede/devede_video_convert.py
lib/devede/devede_xml_menu.py
share/applications/
share/applications/devede.desktop
share/devede/
share/devede/background.png
share/devede/barras.png
share/devede/devede.glade
share/devede/devedesans.ttf
share/devede/estira.png
share/devede/ntsc_active.png
share/devede/ntsc_wide_active.png
share/devede/pal_active.png
share/devede/pal_wide_active.png
share/devede/silence.wav
share/doc/devede/
share/doc/devede/html/
share/doc/devede/html/choose.jpg
share/doc/devede/html/create.jpg
share/doc/devede/html/devede.html
share/doc/devede/html/faq.html
share/doc/devede/html/gpl.html
share/doc/devede/html/main.jpg
share/doc/devede/html/main2.jpg
share/doc/devede/html/menu.jpg
share/doc/devede/html/menu_bad.jpg
share/doc/devede/html/menu_opts.jpg
share/doc/devede/html/movie1.jpg
share/doc/devede/html/movie2.jpg
share/doc/devede/html/movie3.jpg
share/doc/devede/html/movie4.jpg
share/doc/devede/html/movie5.jpg
share/doc/devede/html/movie6.jpg
share/doc/devede/html/psf.html
share/doc/devede/html/title_prop.jpg
share/locale/ca/LC_MESSAGES/devede.mo
share/locale/cs/LC_MESSAGES/devede.mo
share/locale/de_DE/
share/locale/de_DE/LC_MESSAGES/
share/locale/de_DE/LC_MESSAGES/devede.mo
share/locale/es/LC_MESSAGES/devede.mo
share/locale/fr/LC_MESSAGES/devede.mo
share/locale/gl/LC_MESSAGES/devede.mo
share/locale/it/LC_MESSAGES/devede.mo
share/locale/nb_NO/
share/locale/nb_NO/LC_MESSAGES/
share/locale/nb_NO/LC_MESSAGES/devede.mo
share/locale/pl/LC_MESSAGES/devede.mo
share/locale/pt_BR/LC_MESSAGES/devede.mo
share/locale/pt_PT/
share/locale/pt_PT/LC_MESSAGES/
share/locale/pt_PT/LC_MESSAGES/devede.mo
share/locale/sk/LC_MESSAGES/devede.mo
share/locale/sv/LC_MESSAGES/devede.mo
share/pixmaps/
share/pixmaps/devede.svg
@exec %D/bin/update-desktop-database
@unexec %D/bin/update-desktop-database