Commit 30ff7fcb authored by Anke's avatar Anke

Start of openjpeg/ffmpeg update, first 16

parent 12ff804a
......@@ -8,16 +8,16 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=ffmpeg
pkgver=0.8
pkgver=0.8.3
pkgrel=1
pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix."
arch=('i686' 'x86_64')
url="http://ffmpeg.org/"
license=('GPL3')
depends=('bzip2' 'lame' 'sdl' 'libvorbis' 'xvidcore' 'zlib' 'x264' 'libtheora' 'opencore-amr' 'alsa-lib' 'libvdpau' 'libxfixes' 'schroedinger' 'libva>=1.0.7' 'openjpeg' 'libvpx' 'gsm')
depends=('bzip2' 'lame' 'sdl' 'libvorbis' 'xvidcore' 'zlib' 'x264' 'libtheora' 'opencore-amr' 'alsa-lib' 'libvdpau' 'libxfixes' 'schroedinger' 'libva' 'openjpeg' 'libvpx' 'rtmpdump')
makedepends=('yasm')
options=('force')
source=('http://www.ffmpeg.org/releases/ffmpeg-0.8.tar.bz2')
source=('http://www.ffmpeg.org/releases/ffmpeg-0.8.3.tar.bz2')
md5sums=('7e9b8c8a6952de0c477027e48249f3ed')
build() {
......@@ -35,7 +35,6 @@ build() {
--enable-libtheora \
--enable-postproc \
--enable-shared \
--enable-pthreads \
--enable-x11grab \
--enable-libopencore_amrnb \
--enable-libopencore_amrwb \
......@@ -43,7 +42,7 @@ build() {
--enable-libopenjpeg \
--enable-runtime-cpudetect \
--enable-libvpx \
--enable-libgsm \
--enable-librtmp \
--disable-debug
make
......
# $Id: PKGBUILD 76017 2010-04-06 09:02:47Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Patrick Leslie Polzer <leslie.polzer@gmx.net>
#
# 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>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=libmodplug
pkgver=0.8.8
pkgver=0.8.8.3
pkgrel=1
pkgdesc="A MOD playing library"
arch=(i686 x86_64)
arch=('i686' 'x86_64')
url="http://modplug-xmms.sourceforge.net/"
license=('custom')
depends=('gcc-libs')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/modplug-xmms/libmodplug-${pkgver}.tar.gz)
md5sums=('fa9e5ede2e53d847f288c0315feec275')
source=("http://downloads.sourceforge.net/modplug-xmms/${pkgname}-${pkgver}.tar.gz")
md5sums=('8a9c713f0f56894163ddc61f9a0d1f71')
build() {
cd ${srcdir}/libmodplug-${pkgver}
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
......@@ -5,7 +5,7 @@
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=libva
pkgver=1.0.11
pkgver=1.0.14
pkgrel=1
pkgdesc="libva with patches to extend VA API with data needed for VDPAU and XvBA backends."
arch=('i686' 'x86_64')
......@@ -16,11 +16,11 @@ makedepends=('mesa')
optdepends=('vdpau-video: VDPAU backend for VA API')
options=('!libtool')
source=(http://cgit.freedesktop.org/libva/snapshot/${pkgname}-${pkgver}.tar.bz2)
md5sums=('2f3ce750ee2e8d88f6a225bce1a65e9b')
md5sums=('9a7eba239bffa3b40d7a49e3bb4fb6fb')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
autoreconf -fi
./autogen.sh
./configure --prefix=/usr \
--enable-i965-driver \
--enable-glx
......
......@@ -3,32 +3,33 @@
# Mantainer: Roberto Carvajal <roberto@archlinux.org>
pkgname=mjpegtools
pkgver=1.9.0
pkgrel=3
pkgver=2.0.0
pkgrel=1
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')
makedepends=('gtk2>=2.18.6')
optdepends=('gtk2: glav GUI')
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=('309a6fcf0900a010d6a9c1e91afc2f5c'
'b8ae66237d83be533db8eea166fd3357'
'39e1def8fb0f7c58a217b22dc251a86a')
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')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure || return 1
patch -Np1 -i "$srcdir/mjpegtools-1.9.0-glibc-2.10.patch" || return 1
patch -Np1 -i "${srcdir}/png2yuv-fix-memleak.patch" || return 1
./configure --prefix=/usr --enable-largefile || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
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"
./configure --prefix=/usr --enable-largefile
make
}
install -m644 mpeg2enc/mpeg2syntaxcodes.h \
"${pkgdir}/usr/include/mjpegtools/mpeg2enc/" || return 1
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -m644 mpeg2enc/mpeg2syntaxcodes.h "${pkgdir}/usr/include/mjpegtools/mpeg2enc/"
}
#
# Platform 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>
pkgname=mlt-python-bindings
pkgver=0.7.2
pkgrel=1
pkgdesc="python bindings for MLT multimedia framework"
arch=('i686' 'x86_64')
url="http://www.mltframework.org"
license=('GPL')
depends=('python2' 'mlt')
makedepends=('swig')
source=(http://downloads.sourceforge.net/sourceforge/mlt/mlt-$pkgver.tar.gz)
md5sums=('3adeace6642a5ee0db0715b6bd7b7a52')
build() {
mkdir -p $startdir/pkg/usr/lib/python2.7/
cd $srcdir/mlt-$pkgver/src/swig/python
# python2 fix
sed -i 's_path=`which python_path=`which python2_' build
sed -i 's_`python -c_`python2 -c_' build
./build || return 1
install -m755 mlt.py $startdir/pkg/usr/lib/python2.7/
install -m755 _mlt.so $startdir/pkg/usr/lib/python2.7/
install -m755 mlt_wrap.o $startdir/pkg/usr/lib/python2.7/
}
......@@ -10,7 +10,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
# NOTE: Disabled the gtk2 module so no gtk-preview
pkgname=mlt
pkgver=0.7.2
pkgver=0.7.4
pkgrel=1
pkgdesc="An open source multimedia framework"
arch=('i686' 'x86_64')
......@@ -23,13 +23,46 @@ conflicts=('mlt++<=0.3.8')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('3adeace6642a5ee0db0715b6bd7b7a52')
md5sums=('d5d1ff686f51131a02b0f6fca0f073da')
build() {
cd $srcdir/$pkgname-$pkgver
# mlt
cd $srcdir/mlt-$pkgver
# [ $CARCH == "i686" ] && SSE2=--disable-sse2 || SSE2=
SSE2=--disable-sse2
msg "SSE2=$SSE2"
./configure --prefix=/usr --enable-gpl \
--qimage-libdir=/usr/lib/ --qimage-includedir=/usr/include/Qt \
--avformat-vdpau \
--disable-gtk2 \
--avformat-swscale $SSE2
make
# mlt python bindings
cd $srcdir/mlt-$pkgver/src/swig/python
sed -i 's_path=`which python_path=`which python2_' build
sed -i 's_`python -c_`python2 -c_' build
sed -i 's#python-config#python2-config#' build
./build
}
package_mlt() {
depends=('sdl_image' 'libsamplerate' 'libdv' 'sox' 'libxml2' 'ffmpeg' 'frei0r-plugins')
optdepends=('jack' 'libexif' 'qt' "ladspa")
conflicts=('mlt++<=0.3.8')
cd $srcdir/mlt-$pkgver
make DESTDIR=$pkgdir install
}
./configure --prefix=/usr --enable-gpl --disable-mmx \
--qimage-libdir=/usr/lib/ --qimage-includedir=/usr/include/Qt \
--avformat-swscale --avformat-vdpau --disable-gtk2
package_mlt-python-bindings() {
depends=('python2' 'mlt')
make || return 1
make DESTDIR=$pkgdir install || return 1
cd $srcdir/mlt-$pkgver/src/swig/python
mkdir -p $pkgdir/usr/lib/python2.7/
install -m755 mlt.py $pkgdir/usr/lib/python2.7/
install -m755 _mlt.so $pkgdir/usr/lib/python2.7/
install -m755 mlt_wrap.o $pkgdir/usr/lib/python2.7/
}
\ No newline at end of file
......@@ -8,7 +8,7 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=mpd
pkgver=0.16.3
pkgver=0.16.4
pkgrel=1
pkgdesc="Music daemon that plays MP3, FLAC, and Ogg Vorbis files"
arch=('i686' 'x86_64')
......@@ -20,11 +20,9 @@ depends=('libao' 'ffmpeg' 'libmodplug' 'audiofile' 'libshout' 'libmad' 'curl' 'f
makedepends=('pkgconfig' 'doxygen')
install=${pkgname}.install
source=("http://downloads.sourceforge.net/musicpd/${pkgname}-${pkgver}.tar.bz2"
'mpd'
'mpd-0.16.3_ffmpeg_sigsegv.patch')
md5sums=('6e708c02b0e8c288aec855eecf441a5a'
'e5669c2bff4031928531e52475addeb1'
'9a730957e213c62339e9335971e4b85e')
'mpd')
md5sums=('ddac46eb7d976c5cc6f9bac9e4e100f1'
'e5669c2bff4031928531e52475addeb1')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
......@@ -37,7 +35,6 @@ build() {
--disable-libwrap \
--disable-cue \
--disable-sidplay
patch -Np1 -i $srcdir/mpd-0.16.3_ffmpeg_sigsegv.patch
make
}
......
......@@ -8,8 +8,8 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=mplayer
pkgver=33183
pkgrel=5
pkgver=34104
pkgrel=1
pkgdesc="A movie player for linux"
arch=('i686' 'x86_64')
depends=('a52dec' 'aalib' 'alsa-lib' 'bzip2' 'cdparanoia' 'directfb' 'enca' 'faac' 'faad2' 'fontconfig' 'freetype2'
......@@ -22,7 +22,7 @@ url="http://www.mplayerhq.hu/"
makedepends=('unzip' 'mesa' 'live-media>=2010.01.13' 'yasm')
backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf')
source=(http://chakra-project.org/sources/${pkgname}/${pkgname}-${pkgver}.tar.xz mplayer.desktop mplayer.png)
md5sums=('47931f39cd2b2938dcee29af1e255c27'
md5sums=('69545dd31e4235dd4212c4bf5ce14720'
'c0d6ef795cf6de48e3b87ff7c23f0319'
'd00874ccc644b7f43d6ef1c942fcef28')
......
......@@ -10,7 +10,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=opencv
_realname=OpenCV
pkgver=2.2.0
pkgrel=3
pkgrel=4
pkgdesc="Open Source Computer Vision Library"
arch=('i686' 'x86_64')
license=('BSD')
......
# $Id: $
# Maintainer: Jan de Groot <jgc@archlinux.org>
#
# 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>
pkgname=openjpeg
pkgver=1.3
_pkgver=v1_3
pkgrel=3
pkgver=1.4
_pkgver=v1_4
_revision=r697
pkgrel=1
pkgdesc="An open source JPEG 2000 codec"
arch=(i686 x86_64)
license=('BSD')
url="http://www.openjpeg.org"
depends=('glibc')
source=(http://www.openjpeg.org/openjpeg_${_pkgver}.tar.gz
30_fix_build_for_debian.dpatch)
md5sums=('f9a3ccfa91ac34b589e9bf7577ce8ff9'
'2557f485513e77f6dcea77f4741c4fa1')
depends=('zlib')
source=(http://openjpeg.googlecode.com/files/openjpeg_${_pkgver}_sources_${_revision}.tgz
openjpeg-1.4-autoconf.patch)
md5sums=('7870bb84e810dec63fcf3b712ebb93db'
'46d1d26b59ce546444f3fe8d7c685775')
options=('!makeflags' '!libtool')
build() {
cd "${srcdir}/OpenJPEG_${_pkgver}"
patch -Np1 -i "${srcdir}/30_fix_build_for_debian.dpatch" || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
cd "${srcdir}/${pkgname}_${_pkgver}_sources_${_revision}"
patch -Np1 -i ${srcdir}/openjpeg-1.4-autoconf.patch
# make sure we use system libs
rm -rf libs
./configure --prefix=/usr \
--disable-static
make
}
package() {
cd "${srcdir}/${pkgname}_${_pkgver}_sources_${_revision}"
make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/licenses/openjpeg"
tr '\r' '\n' < license.txt > "${pkgdir}/usr/share/licenses/openjpeg/license.txt" || return 1
chmod 644 "${pkgdir}/usr/share/licenses/openjpeg/license.txt" || return 1
ln -s libopenjpeg.so.2 "${pkgdir}/usr/lib/libopenjpeg.so" || return 1
install -m644 LICENSE "${pkgdir}/usr/share/licenses/openjpeg/LICENSE"
}
diff -up openjpeg_v1_4_sources_r697/doc/Makefile.am.autoconf_DESTDIR openjpeg_v1_4_sources_r697/doc/Makefile.am
--- openjpeg_v1_4_sources_r697/doc/Makefile.am.autoconf_DESTDIR 2011-01-02 12:14:47.000000000 -0600
+++ openjpeg_v1_4_sources_r697/doc/Makefile.am 2011-01-12 12:12:20.959518549 -0600
@@ -20,30 +20,30 @@ all-local:
@cp man/man3/* .
install-data-hook:
- $(INSTALL) -d $(doc_dir)
- $(INSTALL) -d ${mandir}/man1 ${mandir}/man3
+ $(INSTALL) -d $(DESTDIR)$(doc_dir)
+ $(INSTALL) -d $(DESTDIR)${mandir}/man1 $(DESTDIR)${mandir}/man3
if with_libjpwl
- @(cd ${mandir}/man1 && $(RM) JPWL_image_to_j2k* JPWL_j2k_to_image*)
- @(cd ${mandir}/man3 && $(RM) JPWL_libopenjpeg* )
+ @(cd $(DESTDIR)${mandir}/man1 && $(RM) JPWL_image_to_j2k* JPWL_j2k_to_image*)
+ @(cd $(DESTDIR)${mandir}/man3 && $(RM) JPWL_libopenjpeg* )
endif
- @(cd ${mandir}/man1 && $(RM) image_to_j2k* j2k_to_image* j2k_dump* )
- @(cd ${mandir}/man3 && $(RM) libopenjpeg* )
+ @(cd $(DESTDIR)${mandir}/man1 && $(RM) image_to_j2k* j2k_to_image* j2k_dump* )
+ @(cd $(DESTDIR)${mandir}/man3 && $(RM) libopenjpeg* )
@gzip -f image_to_j2k.1 j2k_to_image.1 j2k_dump.1 libopenjpeg.3
- @cp image_to_j2k.1.gz j2k_to_image.1.gz j2k_dump.1.gz ${mandir}/man1
- @cp libopenjpeg.3.gz ${mandir}/man3
+ @cp image_to_j2k.1.gz j2k_to_image.1.gz j2k_dump.1.gz $(DESTDIR)${mandir}/man1
+ @cp libopenjpeg.3.gz $(DESTDIR)${mandir}/man3
@$(RM) *\.gz
if with_libjpwl
- @(cd ${mandir}/man1 && \
+ @(cd $(DESTDIR)${mandir}/man1 && \
$(LN_S) image_to_j2k.1.gz JPWL_image_to_j2k.1.gz && \
$(LN_S) j2k_to_image.1.gz JPWL_j2k_to_image.1.gz)
@(cd ${mandir}/man3 && $(LN_S) libopenjpeg.3.gz JPWL_libopenjpeg.3.gz)
endif
- @$(INSTALL) -m 644 ../LICENSE ../CHANGES $(doc_dir)
+ @$(INSTALL) -m 644 ../LICENSE ../CHANGES $(DESTDIR)$(doc_dir)
uninstall-hook:
- @(cd ${mandir}/man1 && $(RM) JPWL_image_to_j2k* JPWL_j2k_to_image* && \
+ @(cd $(DESTDIR)${mandir}/man1 && $(RM) JPWL_image_to_j2k* JPWL_j2k_to_image* && \
$(RM) image_to_j2k* j2k_to_image* j2k_dump* )
- @(cd ${mandir}/man3 && $(RM) JPWL_libopenjpeg* && \
+ @(cd $(DESTDIR)${mandir}/man3 && $(RM) JPWL_libopenjpeg* && \
$(RM) libopenjpeg* )
- @(cd $(doc_dir) && $(RM) * )
- @rmdir $(doc_dir)
+ @(cd $(DESTDIR)$(doc_dir) && $(RM) * )
+ @rmdir $(DESTDIR)$(doc_dir)
diff -up openjpeg_v1_4_sources_r697/Makefile.am.autoconf_DESTDIR openjpeg_v1_4_sources_r697/Makefile.am
--- openjpeg_v1_4_sources_r697/Makefile.am.autoconf_DESTDIR 2011-01-02 12:14:55.000000000 -0600
+++ openjpeg_v1_4_sources_r697/Makefile.am 2011-01-12 12:15:37.006321242 -0600
@@ -9,7 +9,7 @@ clean-local:
distclean-local: clean-local
-pkgconf_dir = /usr/lib/pkgconfig
+pkgconf_dir = $(libdir)/pkgconfig
install-data-hook:
@echo ""
@@ -17,12 +17,12 @@ install-data-hook:
cat $$f/.report.txt ; \
done
@echo ""
- @echo "Installing: libopenjpeg1.pc $(pkgconf_dir)"
+ @echo "Installing: libopenjpeg1.pc $(DESTDIR)$(pkgconf_dir)"
@echo ""
- @$(INSTALL) -d $(pkgconf_dir)
- @cp libopenjpeg.pc $(pkgconf_dir)/libopenjpeg1.pc
- @(cd $(pkgconf_dir) && $(RM) libopenjpeg.pc && \
+ @$(INSTALL) -d $(DESTDIR)$(pkgconf_dir)
+ @cp libopenjpeg.pc $(DESTDIR)$(pkgconf_dir)/libopenjpeg1.pc
+ @(cd $(DESTDIR)$(pkgconf_dir) && $(RM) libopenjpeg.pc && \
$(LN_S) libopenjpeg1.pc libopenjpeg.pc)
uninstall-hook:
- @(cd $(pkgconf_dir) && $(RM) libopenjpeg.pc libopenjpeg1.pc)
+ @(cd $(DESTDIR)$(pkgconf_dir) && $(RM) libopenjpeg.pc libopenjpeg1.pc)
......@@ -5,7 +5,7 @@
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=poppler-data
pkgver=0.4.3
pkgver=0.4.4
pkgrel=1
pkgdesc="Encoding data for the poppler PDF rendering library"
arch=(any)
......@@ -13,7 +13,7 @@ license=('custom' 'GPL2')
conflicts=('poppler<0.10.5')
url="http://poppler.freedesktop.org/"
source=(http://poppler.freedesktop.org/${pkgname}-${pkgver}.tar.gz)
md5sums=('2d648047e5d0b315df1571b460ee6a96')
md5sums=('f3a1afa9218386b50ffd262c00b35b31')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
......
#
# 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>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgbase=poppler
pkgname=('poppler' 'poppler-glib' 'poppler-qt')
pkgver=0.14.4
pkgver=0.16.7
pkgrel=1
arch=(i686 x86_64)
license=('GPL')
makedepends=('libjpeg>=8.0.2' 'gcc-libs>=4.5.0' 'cairo>=1.10.0' 'libxml2>=2.7.7' 'fontconfig>=2.8.0' 'openjpeg>=1.3-3' 'gtk2>=2.22.0' 'qt>=4.7.0' 'pkgconfig' 'lcms>=1.19')
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=('a40fe96e1115f648ce4689e667743530')
md5sums=('3afa28e3c8c4f06b0fbca3c91e06394e')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd "${srcdir}/${pkgbase}-${pkgver}"
sed -i -e '/AC_PATH_XTRA/d' configure.ac
autoreconf
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
--enable-cairo-output \
--enable-xpdf-headers \
--enable-libjpeg --enable-zlib \
--enable-poppler-qt4 \
--enable-poppler-glib
--enable-poppler-glib \
--disable-gtk
make
}
package_poppler() {
pkgdesc="PDF rendering library based on xpdf 3.0"
depends=('libjpeg>=8.0.2' 'gcc-libs>=4.5.0' 'cairo>=1.10.0' 'libxml2>=2.7.7' 'fontconfig>=2.8.0' 'openjpeg>=1.3-3' 'lcms>=1.19' 'poppler-data>=0.4.3')
depends=('libjpeg' 'gcc-libs' 'cairo' 'libxml2' 'fontconfig' 'openjpeg' 'lcms' 'poppler-data')
conflicts=("poppler-qt3<${pkgver}")
cd "${srcdir}/${pkgbase}-${pkgver}"
sed -e 's/^glib_subdir =.*/glib_subdir =/' \
-e 's/^qt4_subdir =.*/qt4_subdir =/' -i Makefile
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/include/poppler/{glib,qt4}
rm -f "${pkgdir}"/usr/lib/libpoppler-{glib,qt4}.so*
rm -f "${pkgdir}"/usr/lib/pkgconfig/poppler-{glib,qt4}.pc
rm -rf "${pkgdir}/usr/share/gtk-doc"
}
package_poppler-glib() {
pkgdesc="Poppler glib bindings"
depends=("poppler=${pkgver}" 'gtk2>=2.22.0')
depends=("poppler=${pkgver}")
cd "${srcdir}/${pkgbase}-${pkgver}/poppler"
make DESTDIR="${pkgdir}" install-libLTLIBRARIES
......
......@@ -7,7 +7,7 @@
pkgname=texlive-bin
pkgver=2010.1
_luatex_ver=0.62.0
pkgrel=1
pkgrel=3
pkgdesc="TeX Live binaries"
license=('GPL')
arch=('i686' 'x86_64')
......
......@@ -10,23 +10,29 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=transcode
_sripver=0.3-4
pkgver=1.1.5
pkgrel=4
pkgrel=5
pkgdesc="A video/DVD ripper and encoder for the terminal/console."
arch=('i686' 'x86_64')
url="http://tcforge.berlios.de/"
license=('GPL')
depends=('imagemagick' 'lzo2' 'libdv' 'libdvdread' 'ffmpeg' 'mjpegtools'
'xvidcore' 'libmpeg2' 'libtheora' 'libxaw' 'x264' 'libxml2'
'libxv' 'a52dec' 'alsa-lib')
'libmpeg2' 'libxaw' 'libxml2' 'libxv' 'a52dec')
makedepends=('nasm' 'pkgconfig')
options=('!libtool' '!makeflags')
source=(http://download2.berlios.de/tcforge/${pkgname}-${pkgver}.tar.bz2
http://downloads.sourceforge.net/sourceforge/subtitleripper/subtitleripper-${_sripver}.tgz)
http://downloads.sourceforge.net/sourceforge/subtitleripper/subtitleripper-${_sripver}.tgz
transcode-1.1.5-jpeg-7.patch transcode-1.1.5-mpa.patch)
md5sums=('41ac6b1c0fe30f3aab286e771fc31b9e'
'c0bd49a88f667c68c4430ad25bbed510')
'c0bd49a88f667c68c4430ad25bbed510'
'af4056b7530a6f147594f676849e7c7b'
'c299cfc6c4be6a5512d1a129f04e5450')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p0 < ../transcode-1.1.5-jpeg-7.patch
patch -p1 < ../transcode-1.1.5-mpa.patch
# building from here
./configure --prefix=/usr \
--enable-sse=no --enable-sse2=no --enable-altivec=no --enable-mmx \
......@@ -46,24 +52,30 @@ build() {
--with-lzo-libs=/usr/lib \
--with-libavcodec-prefix=/usr \
--with-libavcodec-includes=/usr/include \
--with-libavcodec-libs=/usr/lib || return 1
--with-libavcodec-libs=/usr/lib
make || return 1
make DESTDIR="${pkgdir}" install || return 1
make
##############################################################################
# this imports the latest subtitleripper sources and replaces the internal
mkdir contrib
mv "${srcdir}/subtitleripper" contrib/subrip
# removes dependency on libppm, make it dependend on netpbm just failed, argh...
cd contrib/subrip || return 1
cd contrib/subrip
sed -e 's|^\(.*lppm.*\)$|#\1|' \
-e 's|^\(.*D_HAVE_LIB_PPM.*\)$|#\1|' \
-e 's/DEFINES :=/DEFINES = -DHAVE_GETLINE/' \
-i Makefile || return 1
make || return 1
install -m 755 pgm2txt "${pkgdir}/usr/bin/" || return 1
install -m 755 srttool "${pkgdir}/usr/bin/" || return 1
install -m 755 subtitle2pgm "${pkgdir}/usr/bin/" || return 1
install -m 755 subtitle2vobsub "${pkgdir}/usr/bin/" || return 1
install -m 755 vobsub2pgm "${pkgdir}/usr/bin/" || return 1
-i Makefile
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
cd contrib/subrip
install -m 755 pgm2txt "${pkgdir}/usr/bin/"
install -m 755 srttool "${pkgdir}/usr/bin/"
install -m 755 subtitle2pgm "${pkgdir}/usr/bin/"
install -m 755 subtitle2vobsub "${pkgdir}/usr/bin/"
install -m 755 vobsub2pgm "${pkgdir}/usr/bin/"
}
--- transcode-1.1.5-old/export/aud_aux.c 2010-07-04 12:44:31.867550180 -0500
+++ transcode-1.1.5/export/aud_aux.c 2010-07-04 13:41:01.253292529 -0500
@@ -347,6 +347,7 @@
//-- set parameters (bitrate, channels and sample-rate) --
//--------------------------------------------------------
memset(&mpa_ctx, 0, sizeof(mpa_ctx)); // default all
+ mpa_ctx.codec_type = CODEC_TYPE_AUDIO;
mpa_ctx.bit_rate = vob->mp3bitrate * 1000; // bitrate dest.
mpa_ctx.channels = vob->dm_chan; // channels
mpa_ctx.sample_rate = vob->a_rate;
......@@ -5,7 +5,7 @@
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=x264
pkgver=20110330
pkgver=20110617
pkgrel=1
pkgdesc="free library for encoding H264/AVC video streams"
arch=('i686' 'x86_64')
......@@ -14,14 +14,14 @@ license=('GPL')
depends=('glibc')
makedepends=('yasm')
source=(ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-$pkgver-2245.tar.bz2)
md5sums=('8d1df77c9267d3d7a00c1d855f2f5d87')
md5sums=('928717aa2f0c7ca91e589d6b60e688f1')
build() {
cd "$srcdir/$pkgname-snapshot-$pkgver-2245"
./configure --enable-shared
make ||