mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
libdv: added a recipe for version 1.0.0
This commit is contained in:
75
media-libs/libdv/libdv-1.0.0.recipe
Normal file
75
media-libs/libdv/libdv-1.0.0.recipe
Normal file
@@ -0,0 +1,75 @@
|
||||
SUMMARY="a GPL codec for DV video"
|
||||
DESCRIPTION="
|
||||
The Quasar DV codec (libdv) is a software codec for DV video, the encoding format \
|
||||
used by most digital camcorders, typically those that support the IEEE 1394 \
|
||||
(a.k.a FireWire or i.Link) interface. Libdv was developed according to the \
|
||||
official standards for DV video: IEC 61834 and SMPTE 314M."
|
||||
HOMEPAGE="http://libdv.sourceforge.net"
|
||||
COPYRIGHT="
|
||||
1999 Erik Walthinsen <omega@cse.ogi.edu>
|
||||
1999 Charles 'Buck' Krasic <krasic@acm.org>"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
SRC_URI="http://sourceforge.net/projects/libdv/files/libdv/$portVersion/libdv-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="a305734033a9c25541a59e8dd1c254409953269ea7c710c39e540bd8853389ba"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PATCHES="libdv-$portVersion.patchset"
|
||||
|
||||
PROVIDES="
|
||||
libdv$secondaryArchSuffix = $portVersion compat >= 1.0
|
||||
lib:libdv$secondaryArchSuffix = 4.0.3 compat >= 4
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
lib:libsdl_1.2$secondaryArchSuffix
|
||||
lib:libpopt$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
devel:libsdl_1.2$secondaryArchSuffix
|
||||
devel:libpopt${secondaryArchSuffix}
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoconf
|
||||
automake
|
||||
runConfigure ./configure --disable-gtk \
|
||||
--without-debug
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs libdv
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libdv${secondaryArchSuffix}_devel = $portVersion compat >= 1.0
|
||||
devel:libdv$secondaryArchSuffix = 4.0.3 compat >= 4
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libdv$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
47
media-libs/libdv/patches/libdv-1.0.0.patchset
Normal file
47
media-libs/libdv/patches/libdv-1.0.0.patchset
Normal file
@@ -0,0 +1,47 @@
|
||||
From dbbb34e3759ad5e67150f959a7cc2eb1dc2d1bdf Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Wed, 11 Jun 2014 18:05:39 +0000
|
||||
Subject: haiku patch
|
||||
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 2b95735..20c67c2 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1,7 +1,7 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
AC_INIT(libdv/parse.c)
|
||||
dnl AC_CONFIG_AUX_DIR(config)
|
||||
-AM_CONFIG_HEADER(config.h)
|
||||
+AC_CONFIG_HEADERS(config.h)
|
||||
|
||||
RPM_RELEASE=1
|
||||
AC_CANONICAL_HOST
|
||||
@@ -161,11 +161,6 @@ AM_CONDITIONAL(HOST_X86_64, test x$arch_x86_64 = xtrue)
|
||||
|
||||
dnl Checks for libraries.
|
||||
have_gtk="false"
|
||||
-if $use_gtk; then
|
||||
- REQUIRES='glib >= 1.2.4 gtk+ >= 1.2.4'
|
||||
- PKG_CHECK_MODULES(GTK,$REQUIRES,have_gtk="true",have_gtk="false")
|
||||
- AC_DEFINE(HAVE_GTK)
|
||||
-fi
|
||||
|
||||
AM_CONDITIONAL(HAVE_GTK, test x$have_gtk = xtrue)
|
||||
|
||||
diff --git a/encodedv/Makefile.am b/encodedv/Makefile.am
|
||||
index 2887e7c..63b1c69 100644
|
||||
--- a/encodedv/Makefile.am
|
||||
+++ b/encodedv/Makefile.am
|
||||
@@ -9,7 +9,7 @@ LIBTOOL = $(SHELL) $(top_builddir)/libtool --silent
|
||||
|
||||
CLEANFILES =
|
||||
|
||||
-bin_PROGRAMS= encodedv dvconnect dubdv
|
||||
+bin_PROGRAMS= encodedv dubdv
|
||||
|
||||
noinst_PROGRAMS= fix_headers scan_packet_headers steal_header ppmqscale dvavi
|
||||
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
Reference in New Issue
Block a user