initial import
This commit is contained in:
36
dvdstyler/PKGBUILD
Normal file
36
dvdstyler/PKGBUILD
Normal file
@@ -0,0 +1,36 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=dvdstyler
|
||||
pkgver=3.1.2
|
||||
pkgrel=1
|
||||
pkgdesc="Free and libre authoring application for the creation of professional-looking DVDs"
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://www.dvdstyler.de/'
|
||||
license=('GPL-2')
|
||||
depends=('libisoburn' 'dvdauthor' 'dvd+rw-tools' 'wxsvg' 'ffmpeg')
|
||||
makedepends=('docbook-xsl' 'xmlto' 'zip' 'gettext-tiny' 'intltool')
|
||||
source=("https://downloads.sourceforge.net/$pkgname/DVDStyler-$pkgver.tar.bz2"
|
||||
"config.patch"
|
||||
"$pkgname.appdata.xml")
|
||||
sha512sums=('b4d1639e6a1083901d451362042fc7dfa49d4f9891d1f1204e1dc6ec2ad6ebfe8beb5e428e22cb698cfe6b757c9425ee646d8865cff63c0f60d44e0518cb1970'
|
||||
'c1632e14cdb1f4eef7fe7a8e495cbab029bfef813d6695bab810df2b437d0615180451cb8b66730394d3a1f6bc20cddfeebb4cdece45d0fadb5fa0c80f008ddf'
|
||||
'6ac128f3816bba4d2c0ba84c93a08bc15c5866c64a57f35a83485f593596c2fd8b5e9d49793f7042fa7c2a076f98e4c7c6c66eb691a21900b82a02c17d739442')
|
||||
|
||||
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 "$srcdir/$pkgname.appdata.xml" "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
|
||||
install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
42
dvdstyler/config.patch
Normal file
42
dvdstyler/config.patch
Normal file
@@ -0,0 +1,42 @@
|
||||
From 30937f6e427153e85862afed41e69b470d52dc67 Mon Sep 17 00:00:00 2001
|
||||
From: ntalex <alex@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() {
|
||||
55
dvdstyler/dvdstyler.appdata.xml
Normal file
55
dvdstyler/dvdstyler.appdata.xml
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user