[arch-commits] Commit in (8 files)

Balló György bgyorgy at archlinux.org
Fri Jul 3 21:53:21 UTC 2020


    Date: Friday, July 3, 2020 @ 21:53:20
  Author: bgyorgy
Revision: 657667

Move dvdstyler from AUR with 70 votes

Added:
  dvdstyler/
  dvdstyler/trunk/
  dvdstyler/trunk/PKGBUILD
  dvdstyler/trunk/config.patch
  dvdstyler/trunk/dvdstyler.appdata.xml
  wxsvg/
  wxsvg/trunk/
  wxsvg/trunk/PKGBUILD

---------------------------------------+
 dvdstyler/trunk/PKGBUILD              |   40 +++++++++++++++++++++++
 dvdstyler/trunk/config.patch          |   42 ++++++++++++++++++++++++
 dvdstyler/trunk/dvdstyler.appdata.xml |   55 ++++++++++++++++++++++++++++++++
 wxsvg/trunk/PKGBUILD                  |   37 +++++++++++++++++++++
 4 files changed, 174 insertions(+)

Added: dvdstyler/trunk/PKGBUILD
===================================================================
--- dvdstyler/trunk/PKGBUILD	                        (rev 0)
+++ dvdstyler/trunk/PKGBUILD	2020-07-03 21:53:20 UTC (rev 657667)
@@ -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=1
+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"
+}

Added: dvdstyler/trunk/config.patch
===================================================================
--- dvdstyler/trunk/config.patch	                        (rev 0)
+++ dvdstyler/trunk/config.patch	2020-07-03 21:53:20 UTC (rev 657667)
@@ -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() {

Added: dvdstyler/trunk/dvdstyler.appdata.xml
===================================================================
--- dvdstyler/trunk/dvdstyler.appdata.xml	                        (rev 0)
+++ dvdstyler/trunk/dvdstyler.appdata.xml	2020-07-03 21:53:20 UTC (rev 657667)
@@ -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>

Added: wxsvg/trunk/PKGBUILD
===================================================================
--- wxsvg/trunk/PKGBUILD	                        (rev 0)
+++ wxsvg/trunk/PKGBUILD	2020-07-03 21:53:20 UTC (rev 657667)
@@ -0,0 +1,37 @@
+# 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: Joshua Stiefer <facedelajunk at gmail.com>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=wxsvg
+pkgver=1.5.22
+pkgrel=1
+pkgdesc="C++ library to create, manipulate and render SVG files"
+arch=(x86_64)
+url="http://wxsvg.sourceforge.net/"
+license=('custom:wxWindows')
+depends=(ffmpeg libexif wxgtk3)
+makedepends=(webkit2gtk)
+source=("https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
+sha256sums=('0de168cd9f0ccd309b8640c1b6e89f2a906983bc12efe75b0c5cd30f1eaff529')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i 's/libwxsvg_la_LDFLAGS = /libwxsvg_la_LDFLAGS = $(LDFLAGS) /' src/Makefile.am
+  autoreconf -fi
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --with-wx-config=/usr/bin/wx-config-gtk3
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}



More information about the arch-commits mailing list