aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/dvdstyler
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-03-27 14:20:07 +0800
committermiwi <miwi@FreeBSD.org>2013-03-27 14:20:07 +0800
commitfbdb63eff0f3eb6c84999d6a3ec77d0c932682da (patch)
tree7a94c3b06de69645191deb4d335b0f7579c1fd55 /multimedia/dvdstyler
parentae5881b2f2a96fd7758c0889f4edc47938532cf6 (diff)
downloadfreebsd-ports-gnome-fbdb63eff0f3eb6c84999d6a3ec77d0c932682da.tar.gz
freebsd-ports-gnome-fbdb63eff0f3eb6c84999d6a3ec77d0c932682da.tar.zst
freebsd-ports-gnome-fbdb63eff0f3eb6c84999d6a3ec77d0c932682da.zip
- Update to 2.4.2
PR: 177260 Submitted by: Ports Fury
Diffstat (limited to 'multimedia/dvdstyler')
-rw-r--r--multimedia/dvdstyler/Makefile73
-rw-r--r--multimedia/dvdstyler/distinfo4
-rw-r--r--multimedia/dvdstyler/files/patch-src__mediatrc_ffmpeg.cpp29
-rw-r--r--multimedia/dvdstyler/pkg-descr2
-rw-r--r--multimedia/dvdstyler/pkg-plist90
5 files changed, 110 insertions, 88 deletions
diff --git a/multimedia/dvdstyler/Makefile b/multimedia/dvdstyler/Makefile
index 0b7ae5049956..99ef0af82f30 100644
--- a/multimedia/dvdstyler/Makefile
+++ b/multimedia/dvdstyler/Makefile
@@ -2,49 +2,64 @@
# $FreeBSD$
PORTNAME= dvdstyler
-DISTVERSION= 2.1
-PORTREVISION= 3
+PORTVERSION= 2.4.1
PORTEPOCH= 2
CATEGORIES= multimedia
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION}
-DISTNAME= DVDStyler-${DISTVERSION}
+MASTER_SITES= SF
+DISTNAME= DVDStyler-${PORTVERSION}
MAINTAINER= multimedia@FreeBSD.org
-COMMENT= WXGTK2 front end to dvd recoding and authoring programs
+COMMENT= WxWidgets frontend to dvd recoding and authoring programs
LICENSE= GPLv2
-BUILD_DEPENDS= dvdauthor:${PORTSDIR}/multimedia/dvdauthor \
+BUILD_DEPENDS= wxsvg>=1.1.13:${PORTSDIR}/graphics/wxsvg \
+ dvdauthor:${PORTSDIR}/multimedia/dvdauthor \
mplex:${PORTSDIR}/multimedia/mjpegtools \
growisofs:${PORTSDIR}/sysutils/dvd+rw-tools \
xmlto:${PORTSDIR}/textproc/xmlto \
zip:${PORTSDIR}/archivers/zip
-RUN_DEPENDS= dvdauthor:${PORTSDIR}/multimedia/dvdauthor \
+LIB_DEPENDS= exif:${PORTSDIR}/graphics/libexif \
+ avcodec1:${PORTSDIR}/multimedia/ffmpeg1
+RUN_DEPENDS= wxsvg>=1.1.13:${PORTSDIR}/graphics/wxsvg \
+ dvdauthor:${PORTSDIR}/multimedia/dvdauthor \
mplex:${PORTSDIR}/multimedia/mjpegtools \
growisofs:${PORTSDIR}/sysutils/dvd+rw-tools \
- xmlto:${PORTSDIR}/textproc/xmlto
-LIB_DEPENDS+= avformat.1:${PORTSDIR}/multimedia/ffmpeg \
- exif:${PORTSDIR}/graphics/libexif
+ zip:${PORTSDIR}/archivers/zip
+
+OPTIONS_DEFINE= GNOME DOCS
USE_BZIP2= yes
USE_WX= 2.8
WX_COMPS= wx svg
WX_CONF_ARGS= absolute
-USE_GMAKE= yes
USE_GNOME= desktopfileutils
-USE_PKGCONFIG= build
-WANT_GNOME= yes
USE_GETTEXT= yes
USE_CDRTOOLS= yes # dvdstyler needs mkisofs
+USE_PKGCONFIG= build
+USE_GMAKE= yes
GNU_CONFIGURE= yes
-CPPFLAGS+= "-I${LOCALBASE}/include"
-LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CONFIGURE_ENV= LIBAV_CFLAGS="${LIBAV_CFLAGS}" LIBAV_LIBS="${LIBAV_LIBS}" \
+ ac_cv_path_FFMPEG_PATH="${LOCALBASE}/bin/ffmpeg1"
+MAKE_ENV= AM_CPPFLAGS="${LIBAV_CFLAGS}"
+MAKE_JOBS_SAFE= yes
+
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
MAN1= dvdstyler.1
-.include <bsd.port.pre.mk>
+LIBAV_PC= libavcodec1 libavformat1 libavutil1 libswscale1
+LIBAV_CFLAGS= $$(pkg-config --cflags ${LIBAV_PC})
+LIBAV_LIBS= $$(pkg-config --libs ${LIBAV_PC})
+
+.include <bsd.port.options.mk>
-.if ${HAVE_GNOME:Mlibgnomeui}!=""
+.if ${PORT_OPTIONS:MGNOME}
USE_GNOME+= libgnomeui
+GNOMEUI_PC= libgnomeui-2.0
+.else
+GNOMEUI_PC= _libgnomeui-2.0_
.endif
.if defined(WITH_DVD_DEVICE)
@@ -62,18 +77,22 @@ pre-everything::
.endif
post-patch:
+ @${REINPLACE_CMD} -e '/GNOMEUI2/s|"libgnomeui-2.0"|"${GNOMEUI_PC}"|g' \
+ ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e '/^install-data-am:/s|install-docDATA||g' \
+ ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|"sg\*"|"cd*"|g' \
+ ${WRKSRC}/src/BurnDlg.cpp
@${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|g' \
- ${WRKSRC}/src/BurnDlg.cpp ${WRKSRC}/src/Config.h
- @${REINPLACE_CMD} -e 's|gnome-config|disable-config|g ; \
- s|kde-config|disable-config|g' ${WRKSRC}/configure
+ ${WRKSRC}/src/Config.h
post-install:
- @${MKDIR} ${PREFIX}/share/applications
- @${INSTALL_DATA} ${WRKSRC}/data/dvdstyler.desktop \
- ${PREFIX}/share/applications/
- @${MKDIR} ${PREFIX}/share/pixmaps
- @${INSTALL_DATA} ${WRKSRC}/src/rc/dvdstyler.png \
- ${PREFIX}/share/pixmaps/
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
+.for i in AUTHORS ChangeLog INSTALL README
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
+.endfor
+.endif
@-update-desktop-database
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/multimedia/dvdstyler/distinfo b/multimedia/dvdstyler/distinfo
index 9ba5c3849b01..a49f55cfaacd 100644
--- a/multimedia/dvdstyler/distinfo
+++ b/multimedia/dvdstyler/distinfo
@@ -1,2 +1,2 @@
-SHA256 (DVDStyler-2.1.tar.bz2) = 2d2d237a5991b94147a5ed09323244004d617926fd26bf27f5c179bad62ec3cd
-SIZE (DVDStyler-2.1.tar.bz2) = 3832722
+SHA256 (DVDStyler-2.4.1.tar.bz2) = 800dfa15f1deaa17cfc860efbb176bc53998c20c390d9b9fbb9e699c637be153
+SIZE (DVDStyler-2.4.1.tar.bz2) = 5421164
diff --git a/multimedia/dvdstyler/files/patch-src__mediatrc_ffmpeg.cpp b/multimedia/dvdstyler/files/patch-src__mediatrc_ffmpeg.cpp
deleted file mode 100644
index 6a8016eed9d9..000000000000
--- a/multimedia/dvdstyler/files/patch-src__mediatrc_ffmpeg.cpp
+++ /dev/null
@@ -1,29 +0,0 @@
---- src/mediatrc_ffmpeg.cpp.orig 2011-11-01 15:57:37.937699918 +0100
-+++ src/mediatrc_ffmpeg.cpp 2011-11-01 15:56:04.978979342 +0100
-@@ -1360,6 +1360,7 @@
- ost->enc = avcodec_find_encoder(ost->st->codec->codec_id);
- switch (codec->codec_type) {
- case AVMEDIA_TYPE_AUDIO:
-+ {
- ost->fifo= av_fifo_alloc(1024);
- if(!ost->fifo)
- goto fail;
-@@ -1382,8 +1383,10 @@
- ost->resample_sample_fmt = icodec->sample_fmt;
- ost->resample_sample_rate = icodec->sample_rate;
- ost->resample_channels = icodec->channels;
-+ }
- break;
- case AVMEDIA_TYPE_VIDEO:
-+ {
- if (codec->pix_fmt == PIX_FMT_NONE)
- codec->pix_fmt = icodec->pix_fmt;
- choose_pixel_fmt(ost->st, ost->enc);
-@@ -1423,6 +1426,7 @@
- wxLogError(wxT("Error opening filters!"));
- return false;
- }
-+ }
- break;
- case AVMEDIA_TYPE_SUBTITLE:
- ost->encoding_needed = 1;
diff --git a/multimedia/dvdstyler/pkg-descr b/multimedia/dvdstyler/pkg-descr
index bac5d3be06cc..4d5d9d60dffc 100644
--- a/multimedia/dvdstyler/pkg-descr
+++ b/multimedia/dvdstyler/pkg-descr
@@ -11,4 +11,4 @@ The main DVDStyler features are:
o set chapters for each movie
o change post command for each movie
-WWW: http://dvdstyler.sourceforge.net/
+WWW: http://www.dvdstyler.org/
diff --git a/multimedia/dvdstyler/pkg-plist b/multimedia/dvdstyler/pkg-plist
index 77e2b507dd42..d8abf786db79 100644
--- a/multimedia/dvdstyler/pkg-plist
+++ b/multimedia/dvdstyler/pkg-plist
@@ -1,10 +1,9 @@
bin/dvdstyler
share/applications/dvdstyler.desktop
-%%DOCSDIR%%/AUTHORS
-%%DOCSDIR%%/COPYING
-%%DOCSDIR%%/ChangeLog
-%%DOCSDIR%%/INSTALL
-%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/README
%%DATADIR%%/backgrounds/02_bi_domrep.jpg
%%DATADIR%%/backgrounds/03_creta.jpg
%%DATADIR%%/backgrounds/04_kiel_kanal.jpg
@@ -39,15 +38,15 @@ share/applications/dvdstyler.desktop
%%DATADIR%%/buttons/arrow-mirror-left.xml
%%DATADIR%%/buttons/arrow-mirror-right.xml
%%DATADIR%%/buttons/arrow-red.xml
-%%DATADIR%%/buttons/arrow-simple.xml
+%%DATADIR%%/buttons/arrow-simple-v2.xml
+%%DATADIR%%/buttons/arrow-star.xml
%%DATADIR%%/buttons/arrow-text-left.xml
%%DATADIR%%/buttons/arrow-text-right.xml
-%%DATADIR%%/buttons/arrow3d-left.xml
-%%DATADIR%%/buttons/arrow3d-right.xml
-%%DATADIR%%/buttons/arrow-star.xml
%%DATADIR%%/buttons/arrow.xml
%%DATADIR%%/buttons/arrow2.xml
%%DATADIR%%/buttons/arrow3.xml
+%%DATADIR%%/buttons/arrow3d-left.xml
+%%DATADIR%%/buttons/arrow3d-right.xml
%%DATADIR%%/buttons/buttons.lst
%%DATADIR%%/buttons/cancel.xml
%%DATADIR%%/buttons/cancel2.xml
@@ -55,52 +54,74 @@ share/applications/dvdstyler.desktop
%%DATADIR%%/buttons/deprecated/arrow-left.xml
%%DATADIR%%/buttons/deprecated/arrow-next.xml
%%DATADIR%%/buttons/deprecated/arrow-right.xml
+%%DATADIR%%/buttons/deprecated/arrow-simple.xml
%%DATADIR%%/buttons/deprecated/arrow-up.xml
%%DATADIR%%/buttons/deprecated/arrow2-down.xml
%%DATADIR%%/buttons/deprecated/arrow2-left.xml
%%DATADIR%%/buttons/deprecated/arrow2-right.xml
%%DATADIR%%/buttons/deprecated/arrow2-up.xml
+%%DATADIR%%/buttons/deprecated/ellipse.xml
+%%DATADIR%%/buttons/deprecated/frame-shadow.xml
+%%DATADIR%%/buttons/deprecated/frame.xml
+%%DATADIR%%/buttons/deprecated/home.xml
+%%DATADIR%%/buttons/deprecated/text-circle.xml
%%DATADIR%%/buttons/deprecated/text-shadow.xml
+%%DATADIR%%/buttons/deprecated/text-square.xml
+%%DATADIR%%/buttons/deprecated/text-underlined-v2.xml
%%DATADIR%%/buttons/deprecated/text-underlined.xml
+%%DATADIR%%/buttons/deprecated/text-v2.xml
%%DATADIR%%/buttons/deprecated/text.xml
-%%DATADIR%%/buttons/ellipse.xml
-%%DATADIR%%/buttons/frame.xml
-%%DATADIR%%/buttons/frame-shadow.xml
-%%DATADIR%%/buttons/home.xml
+%%DATADIR%%/buttons/ellipse-v2.xml
+%%DATADIR%%/buttons/ellipse45.xml
+%%DATADIR%%/buttons/frame-v2.xml
+%%DATADIR%%/buttons/frame45.xml
%%DATADIR%%/buttons/hand-left.xml
%%DATADIR%%/buttons/hand-right.xml
+%%DATADIR%%/buttons/home-v2.xml
%%DATADIR%%/buttons/ok.xml
%%DATADIR%%/buttons/ok2.xml
%%DATADIR%%/buttons/pill.xml
%%DATADIR%%/buttons/pill2.xml
%%DATADIR%%/buttons/pill3.xml
-%%DATADIR%%/buttons/text-circle.xml
-%%DATADIR%%/buttons/text-shadow.xml
-%%DATADIR%%/buttons/text-square.xml
-%%DATADIR%%/buttons/text-underlined-v2.xml
-%%DATADIR%%/buttons/text-v2.xml
+%%DATADIR%%/buttons/text-circle-v2.xml
+%%DATADIR%%/buttons/text-square-v2.xml
+%%DATADIR%%/buttons/text-underlined-v3.xml
+%%DATADIR%%/buttons/text-v3.xml
%%DATADIR%%/data/empty_ntsc_ac3.mpg
%%DATADIR%%/data/empty_ntsc_mp2.mpg
%%DATADIR%%/data/empty_pal_ac3.mpg
%%DATADIR%%/data/empty_pal_mp2.mpg
%%DATADIR%%/data/subtitles.rgb
+%%DATADIR%%/docs/help_ca.zip
%%DATADIR%%/docs/help_de.zip
%%DATADIR%%/docs/help_en.zip
+%%DATADIR%%/docs/help_fi.zip
%%DATADIR%%/docs/help_fr.zip
%%DATADIR%%/docs/help_it.zip
%%DATADIR%%/docs/help_ja.zip
%%DATADIR%%/docs/help_nb.zip
%%DATADIR%%/docs/help_pl.zip
+%%DATADIR%%/docs/help_pt.zip
+%%DATADIR%%/docs/help_pt_BR.zip
+%%DATADIR%%/docs/help_ro.zip
%%DATADIR%%/docs/help_ru.zip
%%DATADIR%%/docs/help_uk.zip
%%DATADIR%%/docs/help_zh_CN.zip
%%DATADIR%%/docs/help_zh_TW.zip
-%%DATADIR%%/objects/ellipse.xml
-%%DATADIR%%/objects/frame.xml
+%%DATADIR%%/objects/deprecated/ellipse-v2.xml
+%%DATADIR%%/objects/deprecated/ellipse.xml
+%%DATADIR%%/objects/deprecated/frame-v2.xml
+%%DATADIR%%/objects/deprecated/frame.xml
+%%DATADIR%%/objects/deprecated/rectangle.xml
+%%DATADIR%%/objects/deprecated/text-shadow.xml
+%%DATADIR%%/objects/deprecated/text.xml
+%%DATADIR%%/objects/ellipse-v3.xml
+%%DATADIR%%/objects/ellipse45.xml
+%%DATADIR%%/objects/frame-v3.xml
+%%DATADIR%%/objects/frame45.xml
%%DATADIR%%/objects/image.xml
-%%DATADIR%%/objects/rectangle.xml
-%%DATADIR%%/objects/text-shadow.xml
-%%DATADIR%%/objects/text.xml
+%%DATADIR%%/objects/rectangle-v2.xml
+%%DATADIR%%/objects/text-v2.xml
%%DATADIR%%/rc/add.png
%%DATADIR%%/rc/dvdstyler.png
%%DATADIR%%/rc/files.png
@@ -119,10 +140,6 @@ share/applications/dvdstyler.desktop
%%DATADIR%%/rc/remove.png
%%DATADIR%%/rc/run.png
%%DATADIR%%/rc/save.png
-%%DATADIR%%/templates/Travel/travel.dvdt
-%%DATADIR%%/templates/Travel/travel.png
-%%DATADIR%%/templates/Travel/travelWS.dvdt
-%%DATADIR%%/templates/Travel/travelWS.png
%%DATADIR%%/templates/Basic/blue.dvdt
%%DATADIR%%/templates/Basic/blue.png
%%DATADIR%%/templates/Basic/blueWS.dvdt
@@ -131,14 +148,25 @@ share/applications/dvdstyler.desktop
%%DATADIR%%/templates/Basic/neon.png
%%DATADIR%%/templates/Basic/neonWS.dvdt
%%DATADIR%%/templates/Basic/neonWS.png
+%%DATADIR%%/templates/Basic/ocean.dvdt
+%%DATADIR%%/templates/Basic/ocean.png
+%%DATADIR%%/templates/Basic/oceanWS.dvdt
+%%DATADIR%%/templates/Basic/oceanWS.png
%%DATADIR%%/templates/Basic/turbulence.dvdt
%%DATADIR%%/templates/Basic/turbulence.png
+%%DATADIR%%/templates/Travel/travel.dvdt
+%%DATADIR%%/templates/Travel/travel.png
+%%DATADIR%%/templates/Travel/travelWS.dvdt
+%%DATADIR%%/templates/Travel/travelWS.png
+share/locale/ar/LC_MESSAGES/dvdstyler.mo
+share/locale/ca/LC_MESSAGES/dvdstyler.mo
share/locale/cs/LC_MESSAGES/dvdstyler.mo
share/locale/da/LC_MESSAGES/dvdstyler.mo
share/locale/de/LC_MESSAGES/dvdstyler.mo
share/locale/el/LC_MESSAGES/dvdstyler.mo
share/locale/es/LC_MESSAGES/dvdstyler.mo
share/locale/eu/LC_MESSAGES/dvdstyler.mo
+share/locale/fi/LC_MESSAGES/dvdstyler.mo
share/locale/fr/LC_MESSAGES/dvdstyler.mo
share/locale/hu/LC_MESSAGES/dvdstyler.mo
share/locale/hy/LC_MESSAGES/dvdstyler.mo
@@ -151,13 +179,16 @@ share/locale/nl/LC_MESSAGES/dvdstyler.mo
share/locale/pl/LC_MESSAGES/dvdstyler.mo
share/locale/pt/LC_MESSAGES/dvdstyler.mo
share/locale/pt_BR/LC_MESSAGES/dvdstyler.mo
+share/locale/ro/LC_MESSAGES/dvdstyler.mo
share/locale/ru/LC_MESSAGES/dvdstyler.mo
share/locale/sk/LC_MESSAGES/dvdstyler.mo
share/locale/sl/LC_MESSAGES/dvdstyler.mo
share/locale/sr/LC_MESSAGES/dvdstyler.mo
share/locale/sv/LC_MESSAGES/dvdstyler.mo
-share/locale/vi/LC_MESSAGES/dvdstyler.mo
+share/locale/tr/LC_MESSAGES/dvdstyler.mo
share/locale/uk/LC_MESSAGES/dvdstyler.mo
+share/locale/uz/LC_MESSAGES/dvdstyler.mo
+share/locale/vi/LC_MESSAGES/dvdstyler.mo
share/locale/zh_CN/LC_MESSAGES/dvdstyler.mo
share/locale/zh_TW/LC_MESSAGES/dvdstyler.mo
share/pixmaps/dvdstyler.png
@@ -167,6 +198,7 @@ share/pixmaps/dvdstyler.png
@dirrm %%DATADIR%%/templates/Basic
@dirrm %%DATADIR%%/templates
@dirrm %%DATADIR%%/rc
+@dirrm %%DATADIR%%/objects/deprecated
@dirrm %%DATADIR%%/objects
@dirrm %%DATADIR%%/docs
@dirrm %%DATADIR%%/data
@@ -174,7 +206,7 @@ share/pixmaps/dvdstyler.png
@dirrm %%DATADIR%%/buttons
@dirrm %%DATADIR%%/backgrounds
@dirrm %%DATADIR%%
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrmtry share/applications
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true