forked from void-linux/void-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] New package: cinelerra-5.1.20180901
Closes void-linux#2604
- Loading branch information
Showing
3 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |