Commit 345552a2 authored by Fabian's avatar Fabian

preparing for the openjpeg update

parent 57aff7e1
......@@ -5,7 +5,7 @@
pkgname=ffmpeg
pkgver=0.10.3
pkgrel=1
pkgrel=2
pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix"
arch=('i686' 'x86_64')
url="http://ffmpeg.org/"
......
......@@ -7,7 +7,7 @@
pkgname=frei0r-plugins
pkgver=1.3
pkgrel=2
pkgrel=3
pkgdesc="frei0r is a minimalistic plugin API for video sources and filters."
arch=(i686 x86_64)
url="http://www.piksel.org/frei0r"
......
......@@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=libmodplug
pkgver=0.8.8.3
pkgrel=1
pkgrel=2
pkgdesc="A MOD playing library"
arch=('i686' 'x86_64')
url="http://modplug-xmms.sourceforge.net/"
......
......@@ -5,7 +5,7 @@
pkgname=libva
pkgver=1.0.15
pkgrel=4
pkgrel=5
pkgdesc="libva with patches to extend VA API with data needed for VDPAU and XvBA backends."
arch=('i686' 'x86_64')
url="http://freedesktop.org/wiki/Software/vaapi"
......
......@@ -6,26 +6,24 @@
pkgname=mjpegtools
pkgver=2.0.0
pkgrel=2
pkgrel=3
pkgdesc="Set of tools that can do recording of videos and playback, simple cut-and-paste editing and the MPEG compression of audio and video"
arch=(i686 x86_64)
license=('GPL')
url="http://mjpeg.sourceforge.net/"
depends=('libjpeg>=8' 'libpng>=1.4.0' 'sdl' 'gcc-libs' 'libdv')
makedeends=('v4l-utils')
options=('!makeflags' '!libtool')
source=(http://downloads.sourceforge.net/sourceforge/mjpeg/${pkgname}-${pkgver}.tar.gz)
#mjpegtools-1.9.0-glibc-2.10.patch
#png2yuv-fix-memleak.patch)
md5sums=('903e1e3b967eebcc5fe5626d7517dc46')
#'b8ae66237d83be533db8eea166fd3357'
#'39e1def8fb0f7c58a217b22dc251a86a')
source=("http://downloads.sourceforge.net/sourceforge/mjpeg/${pkgname}-${pkgver}.tar.gz"
"mjpegtools-v41-2.6.38.patch")
md5sums=('903e1e3b967eebcc5fe5626d7517dc46'
'529dc1735c4f1e5b7b61c8e61c716811')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np0 -i "${srcdir}/mjpegtools-v41-2.6.38.patch"
sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure
#patch -Np1 -i "$srcdir/mjpegtools-1.9.0-glibc-2.10.patch"
#patch -Np1 -i "${srcdir}/png2yuv-fix-memleak.patch"
#patch -Np0 -i "${srcdir}/mjpegtools-1.9.0-jpeg-7.patch"
sed -i -e '2199s/DeleteRegion (a_pRegion);/this->DeleteRegion (a_pRegion);/' y4mdenoise/MotionSearcher.hh
./configure --prefix=/usr --enable-largefile
make
}
......
Index: lavtools/lavvideo.c
===================================================================
--- lavtools/lavvideo.c.orig
+++ lavtools/lavvideo.c
@@ -63,7 +63,7 @@ Copyright by Gernot Ziegler.
* errors here, check your linux/time.h && sys/time.h header setup.
*/
#define _LINUX_TIME_H
-#include <linux/videodev.h>
+#include <libv4l1-videodev.h>
#include <videodev_mjpeg.h>
#include <frequencies.h>
Index: lavtools/liblavplay.c
===================================================================
--- lavtools/liblavplay.c.orig
+++ lavtools/liblavplay.c
@@ -68,7 +68,8 @@
* errors here, check your linux/time.h && sys/time.h header setup.
*/
#define _LINUX_TIME_H
-#include <linux/videodev.h>
+#include <libv4l1-videodev.h>
+#define BASE_VIDIOCPRIVATE 192 /* 192-255 are private */
#else
#define VIDEO_MODE_PAL 0
#define VIDEO_MODE_NTSC 1
Index: lavtools/liblavrec.c
===================================================================
--- lavtools/liblavrec.c.orig
+++ lavtools/liblavrec.c
@@ -63,7 +63,8 @@
* errors here, check your linux/time.h && sys/time.h header setup.
*/
#define _LINUX_TIME_H
-#include <linux/videodev.h>
+#include <libv4l1-videodev.h>
+#define BASE_VIDIOCPRIVATE 192 /* 192-255 are private */
#ifdef HAVE_SYS_SOUNDCARD_H
#include <sys/soundcard.h>
#endif
Index: lavtools/testrec.c
===================================================================
--- lavtools/testrec.c.orig
+++ lavtools/testrec.c
@@ -89,7 +89,7 @@
* errors here, check your linux/time.h && sys/time.h header setup.
*/
#define _LINUX_TIME_H
-#include <linux/videodev.h>
+#include <libv4l1-videodev.h>
#include <linux/soundcard.h>
/* These are explicit prototypes for the compiler, to prepare separation of audiolib.c */
Index: configure.ac
===================================================================
--- configure.ac.orig
+++ configure.ac
@@ -164,7 +164,7 @@ AC_ARG_WITH([v4l], AC_HELP_STRING([--wit
AS_IF([test "x$with_v4l" != "xno"], [
case $host in
*-*-linux*)
- AC_CHECK_HEADER(linux/videodev.h,
+ AC_CHECK_HEADER(libv4l1-videodev.h,
[have_video4linux=true
AC_DEFINE(HAVE_V4L, 1,
[Building for Linux - using the video4linux API])], [])
@@ -173,7 +173,7 @@ esac])
AS_IF([test "x$have_video4linux" != "xtrue" && test "x$with_v4l" != "xno"],
[have_video4linux=false
- AC_MSG_WARN([videodev.h not found - please install the linux kernel headers programms needing v4l disabled])])
+ AC_MSG_WARN([libv4l1-videodev.h not found - please install the linux kernel headers programms needing v4l disabled])])
AM_CONDITIONAL(HAVE_V4L, test x$have_video4linux = xtrue)
dnl *********************************************************************
Index: configure
===================================================================
--- configure.orig
+++ configure
@@ -16392,7 +16392,7 @@ if test "x$with_v4l" != "xno"; then :
case $host in
*-*-linux*)
- ac_fn_c_check_header_mongrel "$LINENO" "linux/videodev.h" "ac_cv_header_linux_videodev_h" "$ac_includes_default"
+ ac_fn_c_check_header_mongrel "$LINENO" "libv4l1-videodev.h" "ac_cv_header_linux_videodev_h" "$ac_includes_default"
if test "x$ac_cv_header_linux_videodev_h" = xyes; then :
have_video4linux=true
@@ -16407,8 +16407,8 @@ fi
if test "x$have_video4linux" != "xtrue" && test "x$with_v4l" != "xno"; then :
have_video4linux=false
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: videodev.h not found - please install the linux kernel headers programms needing v4l disabled" >&5
-$as_echo "$as_me: WARNING: videodev.h not found - please install the linux kernel headers programms needing v4l disabled" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libv4l1-videodev.h not found - please install the linux kernel headers programms needing v4l disabled" >&5
+$as_echo "$as_me: WARNING: libv4l1-videodev.h not found - please install the linux kernel headers programms needing v4l disabled" >&2;}
fi
if test x$have_video4linux = xtrue; then
HAVE_V4L_TRUE=
......@@ -8,7 +8,7 @@
pkgbase=mlt
pkgname=('mlt' 'mlt-python-bindings')
pkgver=0.7.8
pkgrel=2
pkgrel=3
pkgdesc="An open source multimedia framework"
arch=('i686' 'x86_64')
url="http://www.mltframework.org"
......
......@@ -5,7 +5,7 @@
pkgname=mpd
pkgver=0.16.5
pkgrel=2
pkgrel=3
pkgdesc="Music daemon that plays MP3, FLAC, and Ogg Vorbis files"
arch=('i686' 'x86_64')
license=('GPL')
......
......@@ -5,7 +5,7 @@
pkgname=mplayer
pkgver=34923
pkgrel=1
pkgrel=2
pkgdesc="Multimedia player."
arch=('i686' 'x86_64')
depends=('a52dec' 'aalib' 'alsa-lib' 'bzip2' 'cdparanoia' 'directfb' 'enca' 'faac' 'faad2'
......
......@@ -5,7 +5,7 @@
pkgname=mplayer2
pkgver=2.0.4
pkgrel=1
pkgrel=2
pkgdesc="A movie player"
arch=('i686' 'x86_64')
license=('GPL')
......
......@@ -7,7 +7,7 @@ pkgbase=opencv
pkgname=('opencv' 'opencv-docs' 'opencv-samples')
_realname=OpenCV
pkgver=2.4.0
pkgrel=3
pkgrel=4
pkgdesc="Open Source Computer Vision Library"
arch=('i686' 'x86_64')
license=('BSD')
......
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# Maintainer: Fabian Kosmale <0inkane@googlemail.com>
# Contributor (i686): Phil Miller <philm[at]chakra-project[dog]org>
# Contributor (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=openjpeg
pkgver=1.4
_pkgver=v1_4
_revision=r697
pkgver=1.5.0
pkgrel=1
pkgdesc="An open source JPEG 2000 codec"
arch=(i686 x86_64)
license=('BSD')
url="http://www.openjpeg.org"
depends=('zlib')
source=(http://openjpeg.googlecode.com/files/openjpeg_${_pkgver}_sources_${_revision}.tgz
openjpeg-1.4-autoconf.patch)
md5sums=('7870bb84e810dec63fcf3b712ebb93db'
'46d1d26b59ce546444f3fe8d7c685775')
source=(http://openjpeg.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
md5sums=("e5d66193ddfa59a87da1eb08ea86293b")
options=('!makeflags' '!libtool')
options=('!libtool')
build() {
cd "${srcdir}/${pkgname}_${_pkgver}_sources_${_revision}"
patch -Np1 -i ${srcdir}/openjpeg-1.4-autoconf.patch
# make sure we use system libs
cd "${srcdir}/${pkgname}-${pkgver}"
# make sure we use system libs with --disable-static
# we want the most informative output during build,
# thus we pass --disable-silent-rules to configure
rm -rf libs
./configure --prefix=/usr \
--disable-static
--disable-static --disable-silent-rules
make
}
package() {
cd "${srcdir}/${pkgname}_${_pkgver}_sources_${_revision}"
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/licenses/openjpeg"
install -m644 LICENSE "${pkgdir}/usr/share/licenses/openjpeg/LICENSE"
}
......@@ -6,7 +6,7 @@
pkgname=poppler-data
pkgver=0.4.4
pkgrel=1
pkgrel=2
pkgdesc="Encoding data for the poppler PDF rendering library"
arch=(any)
license=('custom' 'GPL2')
......
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# Maintainer: Fabian Kosmale <0inkane@googlemail.com>
# Contributor (i686): Phil Miller <philm[at]chakra-project[dog]org>
# Contributor (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgbase=poppler
pkgname=('poppler' 'poppler-glib' 'poppler-qt')
pkgver=0.16.7
pkgver=0.20.2
pkgrel=1
arch=(i686 x86_64)
arch=("i686" "x86_64")
license=('GPL')
makedepends=('libjpeg-turbo' 'gcc-libs' 'cairo' 'libxml2' 'fontconfig' 'openjpeg' 'qt' 'pkgconfig' 'lcms')
options=('!libtool')
url="http://poppler.freedesktop.org/"
source=(http://poppler.freedesktop.org/${pkgname}-${pkgver}.tar.gz)
md5sums=('3afa28e3c8c4f06b0fbca3c91e06394e')
md5sums=('45dd2c16c8c4d1a39e830e45745c4e25')
build() {
......@@ -72,4 +73,4 @@ package_poppler-qt() {
install -m755 -d "${pkgdir}/usr/lib/pkgconfig"
install -m644 ../poppler-qt4.pc "${pkgdir}/usr/lib/pkgconfig/"
rm -f "${pkgdir}"/usr/lib/libpoppler.*
}
\ No newline at end of file
}
......@@ -6,7 +6,7 @@
pkgname=texlive-bin
pkgver=2012.0
pkgrel=1
pkgrel=2
pkgdesc="TeX Live binaries"
license=('GPL')
arch=('i686' 'x86_64')
......
......@@ -6,7 +6,7 @@
pkgname=transcode
_sripver=0.3-4
pkgver=1.1.7
pkgrel=3
pkgrel=4
pkgdesc="A video/DVD ripper and encoder for the terminal/console"
arch=('i686' 'x86_64')
url="http://tcforge.berlios.de/"
......
......@@ -5,7 +5,7 @@
pkgname='vlc'
pkgver=2.0.3
pkgrel=1
pkgrel=2
arch=('i686' 'x86_64')
url="http://www.videolan.org/vlc/"
license=('GPL')
......
......@@ -5,7 +5,7 @@
pkgname=x264
pkgver=20120518
pkgrel=1
pkgrel=2
pkgdesc="free library for encoding H264/AVC video streams"
arch=('i686' 'x86_64')
url="http://www.videolan.org/developers/x264.html"
......
......@@ -5,7 +5,7 @@
pkgname=xine-lib
pkgver=1.2.1
pkgrel=5
pkgrel=6
pkgdesc="A multimedia playback engine"
arch=('i686' 'x86_64')
url="http://www.xine-project.org"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment