Skip to content

Commit

Permalink
[WIP] New package: cinelerra-5.1.20180901
Browse files Browse the repository at this point in the history
  • Loading branch information
abenson committed Jun 17, 2020
1 parent 8148f47 commit 74f8b11
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 0 deletions.
33 changes: 33 additions & 0 deletions srcpkgs/cinelerra/patches/a52dec.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
--- libzmpeg3/Makefile.orig
+++ libzmpeg3/Makefile
@@ -77,7 +77,7 @@
UTILS += $(OBJDIR)/zmpeg3ifochk
UTILS += $(OBJDIR)/zmpeg3cc2txt

-LIBS = -lm -lpthread
+LIBS = -lm -lpthread -la52

LIBS += $(lib_a52dec) $(lib_djbfft)

--- mpeg2enc/Makefile.orig
+++ mpeg2enc/Makefile
@@ -54,7 +54,7 @@
$(OBJDIR)/writepic.o

LIBS := $(LIBZMPEG3)/$(OBJDIR)/libzmpeg3.a
-LIBS += $(libraries)
+LIBS += $(libraries) -la52

HVEG2LIB = $(OBJDIR)/hveg2enc.a
HVEG2ENC = $(OBJDIR)/hveg2enc
--- mplexlo/Makefile.orig
+++ mplexlo/Makefile
@@ -11,7 +11,7 @@
CFLAGS += $(static_incs)

LIBS := $(LIBZMPEG3)/$(OBJDIR)/libzmpeg3.a
-LIBS += $(libraries)
+LIBS += $(libraries) -la52

OUTPUT := $(OBJDIR)/mplexlo

11 changes: 11 additions & 0 deletions srcpkgs/cinelerra/patches/libintl.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- cinelerra/Makefile.orig
+++ cinelerra/Makefile
@@ -431,8 +431,6 @@
ifeq ($(WANT_CIN_3RDPARTY),no)
LIBS += -lavcodec -lavdevice -lavfilter -lavformat -lavutil
LIBS += -lswresample -lswscale
-LIBS += -lintl -liconv
-LIBS += -lexecinfo

LIBS += $(shared_libs)
LIBS += $(system_libs)
34 changes: 34 additions & 0 deletions srcpkgs/cinelerra/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Template file for 'cinelerra'
pkgname=cinelerra
version=5.1.20200531
revision=1
wrksrc="${pkgname}-${version%*.*}"
build_style=gnu-configure
configure_args="--disable-static-build --without-commercial --without-thirdparty"
hostmakedepends="automake cmake nasm yasm pkg-config"
makedepends="liba52-devel fftw-devel glib-devel glu-devel gtk+-devel ladspa-sdk
lame-devel libavc1394-devel libdv-devel libiec61883-devel libnuma-devel
libopenexr-devel libraw1394-devel libsndfile-devel libtheora-devel
libva-devel libvdpau-devel libvpx-devel libXcomposite-devel libXcursor-devel
libXi-devel libXinerama-devel libXrandr-devel libXv-devel opus-devel
sord-devel suil-devel twolame-devel ffmpeg-devel x264-devel x265-devel
giflib-devel lilv-devel lv2 libopenjpeg2-devel MesaLib-devel libwebp-devel
libusb-devel gettext-devel"
depends="dejavu-fonts-ttf inkscape dvdauthor udftools"
short_desc="Advanced non-linear video editor and compositor"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://www.cinelerra-gg.org"
distfiles="https://cinelerra-gg.org/download/pkgs/src/cin_${version}-src.tgz"
checksum=0e791571e9a08bf3e8237fb80547fc7f99e1371cb56d9d63a98b638ba62b389b

export CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/a52dec \
-I${XBPS_CROSS_BASE}/usr/include/lilv-0 \
-I${XBPS_CROSS_BASE}/usr/include/suil-0"

export LDFLAGS+=" -L${XBPS_CROSS_BASE}/usr/lib \
-llilv-0"

pre_configure() {
./autogen.sh
}

0 comments on commit 74f8b11

Please sign in to comment.