2007-06-25 10:32:40 +02:00
|
|
|
# Description: Tools for recording, editing, playing and encoding mpeg video.
|
|
|
|
# URL: http://mjpeg.sourceforge.net
|
2014-11-10 13:28:07 +01:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2017-05-07 14:34:54 +02:00
|
|
|
# Depends on: libdv libjpeg-turbo libpng
|
2020-06-03 13:28:27 +02:00
|
|
|
# Optional: v4l-utils sdl_gfx
|
2007-06-25 10:32:40 +02:00
|
|
|
|
|
|
|
name=mjpegtools
|
2021-03-04 09:23:57 +01:00
|
|
|
version=2.2.0
|
|
|
|
release=1
|
|
|
|
source=(https://downloads.sourceforge.net/project/mjpeg/$name/$version/$name-$version.tar.bz2)
|
2007-06-25 10:32:40 +02:00
|
|
|
|
|
|
|
build() {
|
2008-12-19 13:13:16 +01:00
|
|
|
cd $name-$version
|
2008-09-28 11:17:42 +02:00
|
|
|
|
2015-01-16 14:27:16 +01:00
|
|
|
sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure
|
2018-07-22 12:21:59 +02:00
|
|
|
export CFLAGS+=' -fPIC'
|
|
|
|
export CXXFLAGS+=' -fPIC'
|
|
|
|
export LDFLAGS+=' -fPIC'
|
2015-01-16 14:27:16 +01:00
|
|
|
|
2007-06-25 10:32:40 +02:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2017-05-07 14:34:54 +02:00
|
|
|
--enable-largefile \
|
2007-06-25 10:32:40 +02:00
|
|
|
--enable-simd-accel \
|
2013-11-28 13:31:29 +01:00
|
|
|
--disable-dependency-tracking \
|
|
|
|
--disable-assert
|
2007-06-25 10:32:40 +02:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2013-11-28 13:31:29 +01:00
|
|
|
|
|
|
|
rm -r $PKG/usr/share/info
|
2007-06-25 10:32:40 +02:00
|
|
|
}
|