Commit b5df64cb authored by Neophytos's avatar Neophytos

Merge branch 'testing' of gitorious.org:chakra-packages/apps into testing

parents a80c53da 463920b5
#
# Apps 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>
# contributor SpepS <dreamspepser at yahoo dot it>
_name=ardour
pkgname=$_name
pkgver=3.0beta3_11482
pkgrel=1
pkgdesc="A multichannel hard disk recorder and digital audio workstation"
arch=('i686' 'x86_64')
url="http://$_name.org/"
license=('GPL')
depends=('qjackctl' 'desktop-file-utils')
options=('!strip')
install="$pkgname.install"
_source_arch="_32"
[ "$CARCH" = "x86_64" ] && _source_arch="_64"
md5sums=('14c899f77ddd30bc974a47b5be5f01e9')
[ "$CARCH" = "i686" ] && md5sums=('f3b1cfd1bb3f1d5d48e1e95768e9f13c')
source=("http://$_name.org/files/${_name/a/A}${_source_arch}bit-$pkgver-dbg.tar"
"$pkgname.desktop")
md5sums+=('36d0dbc5b98e3fa9a1b6bfc36f3baa56')
build() {
return 0
}
package() {
cd "$srcdir/${_name/a/A}${_source_arch}bit-$pkgver-dbg"
# unpack
install -d "$pkgdir/opt"
bsdtar --no-same-owner -jxvf \
${_name/a/A}_x86${_source_arch/_32}-$pkgver-dbg.tar.bz2 \
-C "$pkgdir/opt"
# install to /opt as does not conflict
# with other ardour installations and libs
cd "$pkgdir/opt"
mv ${_name/a/A}_x86${_source_arch/_32}-$pkgver-dbg $_name
# rm uninstaller and sanity check
rm $_name/bin/{*.uninstall.sh,sanityCheck}
# launcher
install -d "$pkgdir/usr/bin"
cat << EOF >> "$pkgdir/usr/bin/$pkgname"
#!/bin/bash
cd /opt/$_name/bin && ./${_name}3
EOF
chmod +x "$pkgdir/usr/bin/$pkgname"
# desktop file
install -Dm644 "$srcdir/$pkgname.desktop" \
"$pkgdir/usr/share/applications/$pkgname.desktop"
}
# vim:set ts=2 sw=2 et:
[Desktop Entry]
Name=Ardour Binary
Comment=Multitrack hard disk recorder
Exec=ardour3
Icon=/opt/ardour/etc/icons/ardour_icon_48px.png
Terminal=false
Type=Application
X-MultipleArgs=false
Categories=GTK;Audio;AudioVideoEditing;AudioVideo;Video;
post_install() {
update-desktop-database -q
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
......@@ -10,13 +10,13 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=blender
pkgver=2.62
pkgrel=1
pkgrel=2
pkgdesc="A fully integrated 3D graphics creation suite"
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.blender.org"
depends=('libpng' 'libtiff' 'openexr' 'sdl' 'python3' 'desktop-file-utils' 'shared-mime-info' 'hicolor-icon-theme' 'xdg-utils' 'glew' 'libxi' 'libxmu'
'mesa' 'freetype2' 'openal' 'libsndfile' 'libsamplerate' 'ffmpeg' 'fftw' 'directfb')
'mesa' 'freetype2' 'openal' 'libsndfile' 'libsamplerate' 'ffmpeg' 'fftw')
makedepends=('cmake' 'jack')
install=blender.install
source=(http://download.blender.org/source/$pkgname-$pkgver.tar.gz)
......
......@@ -6,33 +6,39 @@
pkgname=dosbox
pkgver=0.74
pkgrel=1
pkgrel=4
pkgdesc="An emulator with builtin DOS for running DOS Games"
arch=('i686' 'x86_64')
url="http://dosbox.sourceforge.net/"
license=('GPL')
depends=('sdl_net' 'sdl_sound' 'libgl' 'libpng' 'alsa-lib' 'gcc-libs')
depends=('sdl_net' 'sdl_sound' 'libgl' 'libpng' 'alsa-lib' 'gcc-libs' 'zlib')
makedepends=('mesa')
source=("http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz"
'dosbox.png' 'dosbox.desktop')
'dosbox.png' 'dosbox.desktop' 'gcc46.patch')
md5sums=('b9b240fa87104421962d14eee71351e8'
'2aac25fc06979e375953fcc36824dc5e'
'85169ca599028bee8e29e0b3b7b34dd8')
'85169ca599028bee8e29e0b3b7b34dd8'
'3fba2e3c7c43290319b2928f40ed30e5')
build(){
cd ${srcdir}/${pkgname}-${pkgver}
sed -i 's/png_check_sig/png_sig_cmp/' configure || return 1
patch -Np1 -i "$srcdir/gcc46.patch"
sed -i 's/png_check_sig/png_sig_cmp/' configure
./configure --prefix=/usr \
--sysconfdir=/etc/dosbox || return 1
make || return 1
--sysconfdir=/etc/dosbox
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install || return 1
make DESTDIR=${pkgdir} install
# install docs, make does not install them
install -Dm644 README "$pkgdir"/usr/share/doc/$pkgname/README
install -Dm644 docs/README.video "$pkgdir"/usr/share/doc/$pkgname/README.video
install -Dm644 ${srcdir}/${pkgname}.png \
${pkgdir}/usr/share/pixmaps/${pkgname}.png || return 1
${pkgdir}/usr/share/pixmaps/${pkgname}.png
install -Dm644 ${srcdir}/${pkgname}.desktop \
${pkgdir}/usr/share/applications/${pkgname}.desktop || return 1
${pkgdir}/usr/share/applications/${pkgname}.desktop
}
diff -aur dosbox-0.74/include/dos_inc.h dosbox-0.74.new//include/dos_inc.h
--- dosbox-0.74/include/dos_inc.h 2010-05-10 17:43:54.000000000 +0000
+++ dosbox-0.74.new//include/dos_inc.h 2011-06-17 20:42:43.982548979 +0000
@@ -28,6 +28,8 @@
#include "mem.h"
#endif
+#include <stddef.h> //for offsetof
+
#ifdef _MSC_VER
#pragma pack (1)
#endif
#
# Apps Packages for Chakra, part of chakra-project.org
#
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=mplayer-vaapi
pkgver=33161
_vaapi_version=20110127
pkgrel=4
pkgver=34578
pkgrel=1
pkgdesc="A movie player, compiled with vaapi support"
arch=('i686' 'x86_64')
url="http://www.splitted-desktop.com/~gbeauchesne/mplayer-vaapi/"
url="http://gitorious.org/vaapi/mplayer"
license=('GPL')
depends=('a52dec' 'aalib' 'alsa-lib' 'bzip2' 'cdparanoia' 'directfb' 'enca' 'faac' 'faad2' 'fontconfig' 'freetype2'
'gcc-libs' 'giflib' 'glibc' 'jack' 'lame' 'libcaca' 'libdca' 'libgl' 'libjpeg' 'libmad' 'libmng' 'libogg'
'libpng' 'libtheora' 'libvdpau>=0.4' 'libvpx' 'libx11' 'libxext' 'libxinerama' 'libxv' 'libxvmc' 'libxxf86dga'
'libxxf86vm' 'libxss' 'lirc-utils' 'mpg123' 'ncurses' 'opencore-amr' 'openjpeg' 'orc' 'rtmpdump' 'schroedinger'
'sdl' 'smbclient' 'ttf-dejavu' 'x264' 'xvidcore' 'zlib')
makedepends=('unzip' 'mesa' 'live-media>=2010.01.13' 'yasm' 'ladspa')
depends=('libxxf86dga' 'libxxf86vm' 'libmad' 'libcdio' 'libxinerama' 'sdl'
'lame' 'fontconfig' 'libtheora' 'xvidcore' 'libmng' 'libxss' 'mesa'
'smbclient' 'aalib' 'jack' 'libcaca' 'x264' 'faac' 'faad2'
'lirc-utils' 'ttf-dejavu' 'libxvmc' 'enca' 'opencore-amr' 'libdca'
'a52dec' 'schroedinger' 'mpg123' 'libvpx' 'libpulse' 'fribidi' 'faad2'
'libva' 'desktop-file-utils')
makedepends=('unzip' 'live-media' 'yasm' 'ladspa' 'git')
provides=("mplayer=$pkgver")
conflicts=('mplayer')
backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf')
source=(http://pkgbuild.com/~foutrelis/mplayer-$pkgver.tar.xz
http://www.splitted-desktop.com/~gbeauchesne/mplayer-vaapi/mplayer-vaapi-$_vaapi_version.tar.bz2
source=(http://pkgbuild.com/~foutrelis/mplayer-vaapi-$pkgver.tar.xz
mplayer.desktop
mplayer.png
patch-fixes.patch)
install=mplayer.install
md5sums=('b8b2842ba3fff04a9b64a94bd2b0a667'
'b39bd73ae8241dcb21dd1a8fa5eb87eb'
'647b9f4ab5284a7fef3f84f992214e77'
'd00874ccc644b7f43d6ef1c942fcef28'
'c7a1df1c1d0f1e51ee400d96b0f34195')
mplayer.png)
options=('!buildflags' '!emptydirs')
install=mplayer-vaapi.install
sha256sums=('cc35a057c8a64d2cdec2dc0a037811ef0f91dd03cd3d07465c7272a08665a37d'
'9aa54571b37d15aec2c8e3ddf086753217efc3084ebf466335b2f28d819c74da'
'061739a8cc267748ad58f168034cc39785d949a5262772535e1b347c7842af48')
build() {
cd "$srcdir/mplayer-$pkgver"
# Custom CFLAGS break the mplayer build
unset CFLAGS LDFLAGS
# Update vaapi patches for changes introduced in mplayer/ffmpeg
patch -d "$srcdir/mplayer-vaapi-$_vaapi_version" -p1 -i \
"$srcdir/patch-fixes.patch"
for patch in mplayer-{vaapi{,-{gma500-workaround,0.29}},vdpau}; do
patch -Np1 -i "$srcdir/mplayer-vaapi-$_vaapi_version/patches/$patch.patch"
done
cd "$srcdir/mplayer-vaapi-$pkgver"
./configure --prefix=/usr \
--enable-runtime-cpudetection \
--disable-gui \
--disable-arts \
--disable-liblzo \
--disable-speex \
--disable-openal \
--disable-fribidi \
--disable-libdv \
--disable-musepack \
--disable-esd \
--disable-mga \
--enable-xvmc \
--disable-vdpau \
--enable-vaapi \
--language=all \
--confdir=/etc/mplayer
--enable-runtime-cpudetection \
--disable-gui \
--disable-arts \
--disable-liblzo \
--disable-speex \
--disable-cdparanoia \
--disable-openal \
--disable-libdv \
--disable-musepack \
--disable-esd \
--disable-mga \
--enable-xvmc \
--disable-vdpau \
--enable-vaapi \
--language=all \
--confdir=/etc/mplayer
[ "$CARCH" = "i686" ] && sed 's|-march=i486|-march=i686|g' -i config.mak
[[ $CARCH == i686 ]] && sed -i 's|-march=i486|-march=i686|g' config.mak
make
}
package() {
cd "$srcdir/mplayer-$pkgver"
make -j1 DESTDIR=$pkgdir install
cd "$srcdir/mplayer-vaapi-$pkgver"
make -j1 DESTDIR="$pkgdir" install-mplayer install-mplayer-man
install -Dm644 etc/{codecs.conf,input.conf,example.conf} "$pkgdir/etc/mplayer/"
install -dm755 "$pkgdir/usr/share/mplayer/"
ln -s /usr/share/fonts/TTF/DejaVuSans.ttf "$pkgdir/usr/share/mplayer/subfont.ttf"
......@@ -83,3 +68,4 @@ package() {
install -Dm644 "$srcdir/mplayer.png" "$pkgdir/usr/share/pixmaps/mplayer.png"
}
# vim:set ts=2 sw=2 et:
\ No newline at end of file
post_install() {
update-desktop-database -q
}
post_upgrade() {
post_install $1
}
post_remove() {
post_install $1
}
\ No newline at end of file
......@@ -16,9 +16,8 @@ makedepends=('qt-private-headers>=4.8.0' 'git')
depends=('qt>=4.8.0')
optdepends=('qt-docs: for the integrated Qt documentation'
'gdb: for the debugger'
'qt-doc: for the integrated Qt documentation'
'cmake: for cmake project suppport'
'openssh-askpass: for ssh support'
'ksshaskpass: for ssh support'
'git: for git support'
'mercurial: for mercurial support'
'bzr: for bazaar support')
......
......@@ -8,16 +8,17 @@
pkgname=virtualbox
pkgver=4.1.8
_build=75467
pkgrel=2
pkgrel=3
pkgdesc='Oracle VM VirtualBox Binary Edition'
arch=('i686' 'x86_64')
url='http://virtualbox.org/'
license=('GPL2')
depends=('libidl2' 'libxcursor' 'libxinerama' 'libxslt' 'curl' 'linux-headers' 'python2' 'directfb')
depends=('libidl2' 'libxcursor' 'libxinerama' 'libxslt' 'curl' 'linux-headers' 'python2')
options=('!strip')
optdepends=('virtualbox-ext-oracle: for Oracle extensions'
'dkms: for handling kernel modules with dkms'
'qt: for GUI support'
'sdl: for VBoxSDL and GUI support'
'mesa: for OpenGL support'
'libgl: for shared OpenGL support'
'libxt: for shared clipboard support'
......
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