dvda-author, initial recipe (#1674)

This commit is contained in:
Schrijvers Luc
2017-09-27 22:26:16 +02:00
committed by GitHub
parent c8c86f5997
commit 137a885fe2
2 changed files with 77 additions and 0 deletions

View File

@@ -0,0 +1,55 @@
SUMMARY="Author a DVD-Audio DVD"
DESCRIPTION="A set of tools for authoring and playback of unencrypted \
and uncompressed audio on DVD-Audio discs and hybrid DVD-Audio/Video discs."
HOMEPAGE="http://dvd-audio.sourceforge.net"
COPYRIGHT="2005 Dave Chapman"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://netcologne.dl.sourceforge.net/project/dvd-audio/dvda-author/dvda-author%20older%20versions/Maintained%20original%2005.07%20version/dvda-author-05.07.tar.gz"
CHECKSUM_SHA256="519d59c217c58c6ceda6256bac3b029e3a3ea2d89a0e1ab4bcf7124a5d27b4e5"
SOURCE_DIR="dvda-author-05.07"
PATCHES="dvda_author-05.07.patchset"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
dvda_author$secondaryArchSuffix = $portVersion
cmd:dvda$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libFLAC$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libFLAC$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:make
"
BUILD()
{
autoreconf -vfi
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}
TEST()
{
# No real test at the moment
make check
}

View File

@@ -0,0 +1,22 @@
From d3eea1808a670f58ec4dad6302ebfc86f0c71d7f Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Wed, 27 Sep 2017 21:17:17 +0200
Subject: fix -fno-stack-protector compiler error
diff --git a/src/Makefile.am b/src/Makefile.am
index 27d591d..2b7e57d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,7 +2,7 @@ bin_PROGRAMS=dvda
dvda_SOURCES=amg.c ats.c atsi.c audio.c dvda-author.c samg.c
EXTRA_DIST=amg.h ats.h atsi.h audio.h samg.h Makefile.am.debug
SUBDIRS=libFLAC
-AM_CFLAGS=-O3 -Wall -fstack-protector -D_FORTIFY_SOURCE=2
+AM_CFLAGS=-O3 -Wall -fno-stack-protector -D_FORTIFY_SOURCE=2
AM_CPPFLAGS=-IlibFLAC/include
AM_LDFLAGS= -s
LDADD=libFLAC/libFLAC.a -lm
--
2.14.1