[arch-commits] Commit in dvdstyler (5 files)

Balló György bgyorgy at archlinux.org
Fri Jul 3 22:16:58 UTC 2020


    Date: Friday, July 3, 2020 @ 22:16:58
  Author: bgyorgy
Revision: 657670

archrelease: copy trunk to community-x86_64

Added:
  dvdstyler/repos/
  dvdstyler/repos/community-x86_64/
  dvdstyler/repos/community-x86_64/PKGBUILD
    (from rev 657669, dvdstyler/trunk/PKGBUILD)
  dvdstyler/repos/community-x86_64/config.patch
    (from rev 657669, dvdstyler/trunk/config.patch)
  dvdstyler/repos/community-x86_64/dvdstyler.appdata.xml
    (from rev 657669, dvdstyler/trunk/dvdstyler.appdata.xml)

-----------------------+
 PKGBUILD              |   40 ++++++++++++++++++++++++++++++++++
 config.patch          |   42 ++++++++++++++++++++++++++++++++++++
 dvdstyler.appdata.xml |   55 ++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 137 insertions(+)

Copied: dvdstyler/repos/community-x86_64/PKGBUILD (from rev 657669, dvdstyler/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2020-07-03 22:16:58 UTC (rev 657670)
@@ -0,0 +1,40 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Leonidas Spyropoulos <artafinde at gmail com>
+# Contributor: Miguel Revilla <yo at miguelrevilla.com>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Mario J Steele <mario at ruby-im.net>
+
+pkgname=dvdstyler
+pkgver=3.1.2
+pkgrel=2
+pkgdesc="DVD authoring application for the creation of professional-looking DVDs"
+arch=(x86_64)
+url="https://www.dvdstyler.de/"
+license=(GPL2)
+depends=(cdrtools dvdauthor dvd+rw-tools mjpegtools wxsvg)
+makedepends=(docbook-xsl xmlto zip)
+source=("https://downloads.sourceforge.net/$pkgname/DVDStyler-$pkgver.tar.bz2"
+        "config.patch"
+        "$pkgname.appdata.xml")
+sha256sums=('04ff61c278167363904f7ee366bcf98ee15ce05368fa353f6d8ab1e8305d9a0e'
+            'ebcadbea33d96c955bd3811d7bb269fcb4006b8525dfafcf291e5779debba913'
+            '4ecba886e6eca2018f659543fa2242d5801cd12a3b7d293897787f2c6bc9d8f4')
+
+prepare() {
+  cd DVDStyler-$pkgver
+  patch -RNp1 -i ../config.patch
+  sed -i 's|/pixmaps|/icons/hicolor/48x48/apps|' data/Makefile.{am,in}
+}
+
+build() {
+  cd DVDStyler-$pkgver
+  ./configure --prefix=/usr --with-wx-config=/usr/bin/wx-config-gtk3
+  make
+}
+
+package() {
+  cd DVDStyler-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
+}

Copied: dvdstyler/repos/community-x86_64/config.patch (from rev 657669, dvdstyler/trunk/config.patch)
===================================================================
--- repos/community-x86_64/config.patch	                        (rev 0)
+++ repos/community-x86_64/config.patch	2020-07-03 22:16:58 UTC (rev 657670)
@@ -0,0 +1,42 @@
+From 30937f6e427153e85862afed41e69b470d52dc67 Mon Sep 17 00:00:00 2001
+From: ntalex <alex at thuering.biz>
+Date: Fri, 2 Aug 2019 22:49:37 +0200
+Subject: changed to use configation file .dvdstyler/dvdstyler under unix
+
+
+diff --git a/src/Config.cpp b/src/Config.cpp
+index a1ccbf5..6ea06fc 100644
+--- a/src/Config.cpp
++++ b/src/Config.cpp
+@@ -10,9 +10,8 @@
+ 
+ #include "Config.h"
+ #include <wxVillaLib/utils.h>
+-#ifdef __WXMSW__
+ #include <wx/fileconf.h>
+-#endif
++#include <wx/stdpaths.h>
+ 
+ Config s_config;
+ 
+@@ -27,8 +26,19 @@ void Config::Init() {
+ 		} else
+ 			wxConfig::Set(new wxFileConfig(wxT(""), wxT(""), fileName));
+ 	}
+-#endif
++#elif defined(__WXMAC__)
+ 	cfg = wxConfig::Get();
++#else
++	// check if .dvdstyler exist and move it
++	wxString dataDir = wxStandardPaths::Get().GetUserLocalDataDir();
++	if (wxFileExists(dataDir)) {
++		wxRenameFile(dataDir, dataDir + ".tmp");
++		wxMkdir(dataDir);
++		wxRenameFile(dataDir + ".tmp", dataDir + wxFILE_SEP_PATH + "dvdstyler");
++	}
++	cfg = new wxFileConfig("", "", dataDir + wxFILE_SEP_PATH + "dvdstyler");
++	wxConfig::Set(cfg);
++#endif
+ }
+ 
+ bool Config::IsMainWinMaximized() {

Copied: dvdstyler/repos/community-x86_64/dvdstyler.appdata.xml (from rev 657669, dvdstyler/trunk/dvdstyler.appdata.xml)
===================================================================
--- repos/community-x86_64/dvdstyler.appdata.xml	                        (rev 0)
+++ repos/community-x86_64/dvdstyler.appdata.xml	2020-07-03 22:16:58 UTC (rev 657670)
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop">
+  <id>dvdstyler.desktop</id>
+  <metadata_license>CC0-1.0</metadata_license>
+  <project_license>GPL-2.0</project_license>
+  <summary>Cross-platform DVD authoring application</summary>
+  <description>
+    <p>
+            DVDStyler is a cross-platform free DVD authoring application for the
+            creation of professional-looking DVDs. It allows not only burning of
+            video files on DVD that can be played practically on any standalone DVD
+            player, but also creation of individually designed DVD menus. It is
+            Open Source Software and is completely free.
+    </p>
+    <p>
+            Features
+            Tip: DVDStyler is PC software, not self-hosted web software, so a web hosting plan is not required.
+    </p>
+    <ul>
+      <li>Create and burn DVD video with interactive menus</li>
+      <li>Design your own DVD menu or select one from the list of ready to use menu templates</li>
+      <li>Create photo slideshow</li>
+      <li>Add multiple subtitle and audio tracks</li>
+      <li>Support of AVI, MOV, MP4, MPEG, OGG, WMV and other file formats</li>
+      <li>Support of MPEG-2, MPEG-4, DivX, Xvid, MP2, MP3, AC-3 and other audio and video formats</li>
+      <li>Support of multi-core processor</li>
+      <li>Use MPEG and VOB files without reencoding, see FAQ</li>
+      <li>Put files with different audio/video format on one DVD (support of titleset)</li>
+      <li>User-friendly interface with support of drag & drop</li>
+      <li>Flexible menu creation on the basis of scalable vector graphic</li>
+      <li>Import of image file for background</li>
+      <li>Place buttons, text, images and other graphic objects anywhere on the menu screen</li>
+      <li>Change the font/color and other parameters of buttons and graphic objects</li>
+      <li>Scale any button or graphic object</li>
+      <li>Copy any menu object or whole menu</li>
+      <li>Customize navigation using DVD scripting</li>
+    </ul>
+  </description>
+  <url type="homepage">http://www.dvdstyler.de/</url>
+  <screenshots>
+    <screenshot type="default">
+      <image>http://www.dvdstyler.org/images/screenshots/ffm.jpg</image>
+    </screenshot>
+    <screenshot type="default">
+      <image>http://www.dvdstyler.org/images/screenshots/blue.jpg</image>
+    </screenshot>
+    <screenshot type="default">
+      <image>http://www.dvdstyler.org/images/screenshots/filebrowser.jpg</image>
+    </screenshot>
+    <screenshot type="default">
+      <image>http://www.dvdstyler.org/images/screenshots/travel.jpg</image>
+    </screenshot>
+  </screenshots>
+  <update_contact>alex AT thuering.biz</update_contact>
+</component>



More information about the arch-commits mailing list