mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 10:07:15 +08:00
sound-stack update
- other rebuilds might be needed
This commit is contained in:
parent
276fc30f0f
commit
e46c7bdb0d
@ -5,15 +5,15 @@
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
pkgname=alsa-firmware
|
||||
pkgver=1.0.24.1
|
||||
pkgrel=2
|
||||
pkgver=1.0.25
|
||||
pkgrel=1
|
||||
pkgdesc="ALSA firmware package"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://alsa-project.org/"
|
||||
license=('GPL')
|
||||
options=(!strip)
|
||||
source=(ftp://ftp.alsa-project.org/pub/firmware/$pkgname-$pkgver.tar.bz2)
|
||||
md5sums=('d37434dfcfececd8581d2f0bbe2fcf1b')
|
||||
md5sums=('f1939da45b162c83a726c54a470ef139')
|
||||
|
||||
#source=("http://chakra.sourceforge.net/sources/${pkgname}/${pkgname}-${pkgver}.tar.xz")
|
||||
#md5sums=('7890f824992030e3b9616fe6bb671702')
|
||||
@ -32,9 +32,8 @@ mksource() {
|
||||
|
||||
build() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
|
@ -8,8 +8,8 @@
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=alsa-lib
|
||||
pkgver=1.0.24.1
|
||||
pkgrel=3
|
||||
pkgver=1.0.25
|
||||
pkgrel=1
|
||||
pkgdesc="An alternative implementation of Linux sound support"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.alsa-project.org"
|
||||
@ -19,7 +19,7 @@ makedepends=('python2')
|
||||
license=('GPL')
|
||||
options=(!libtool)
|
||||
source=(ftp://ftp.alsa-project.org/pub/lib/$pkgname-$pkgver.tar.bz2)
|
||||
md5sums=('7cc05f25e1d5b65da8fb3fdcd540f226')
|
||||
md5sums=('06fe5819020c6684b991dcffc5471304')
|
||||
|
||||
#source=("http://chakra.sourceforge.net/sources/${pkgname}/${pkgname}-${pkgver}.tar.xz")
|
||||
#md5sums=('9ed124442c6af1ad1630e6a4c918f88a')
|
||||
|
@ -8,8 +8,8 @@
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=alsa-oss
|
||||
pkgver=1.0.17
|
||||
pkgrel=3
|
||||
pkgver=1.0.25
|
||||
pkgrel=1
|
||||
pkgdesc="OSS compatibility library"
|
||||
arch=(i686 x86_64)
|
||||
license=('GPL')
|
||||
@ -28,4 +28,4 @@ package() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
md5sums=('1b1850c2fc91476a73d50f537cbd402f')
|
||||
md5sums=('922ea177db15c72f1b5037181c73f934')
|
||||
|
@ -5,19 +5,22 @@
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
pkgname=alsa-plugins
|
||||
pkgver=1.0.24
|
||||
pkgrel=2
|
||||
pkgver=1.0.25
|
||||
pkgrel=1
|
||||
pkgdesc="Extra alsa plugins"
|
||||
arch=('i686' 'x86_64')
|
||||
arch=(i686 x86_64)
|
||||
url="http://www.alsa-project.org"
|
||||
license=('GPL')
|
||||
depends=('alsa-lib>1.0.24')
|
||||
makedepends=('pulseaudio' 'jack' 'ffmpeg')
|
||||
optdepends=('pulseaudio' 'jack' 'ffmpeg')
|
||||
license=(GPL)
|
||||
depends=(alsa-lib)
|
||||
makedepends=(libpulse jack ffmpeg)
|
||||
optdepends=('libpulse: PulseAudio plugin'
|
||||
'jack: Jack plugin'
|
||||
'ffmpeg: libavcodec resampling plugin'
|
||||
'libsamplerate: libsamplerate resampling plugin'
|
||||
'speex: libspeexdsp resampling plugin')
|
||||
options=('!libtool')
|
||||
install=$pkgname.install
|
||||
source=(ftp://ftp.alsa-project.org/pub/plugins/alsa-plugins-$pkgver.tar.bz2)
|
||||
md5sums=('e4d4c90e11ab9d1a117afbbc1edd2b16')
|
||||
source=("ftp://ftp.alsa-project.org/pub/plugins/$pkgname-$pkgver.tar.bz2")
|
||||
md5sums=('038c023eaa51171f018fbf7141255185')
|
||||
|
||||
#source=("http://chakra.sourceforge.net/sources/${pkgname}/${pkgname}-${pkgver}.tar.xz")
|
||||
#md5sums=('01d00251cbe4f510e131eeee69c8361a')
|
||||
@ -35,9 +38,9 @@ mksource() {
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $startdir/src/alsa-plugins-$pkgver
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
@ -46,4 +49,4 @@ package() {
|
||||
|
||||
mkdir -p "$pkgdir/usr/share/doc/$pkgname"
|
||||
install -m644 doc/README* doc/*.txt "$pkgdir/usr/share/doc/$pkgname/"
|
||||
}
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
post_install() {
|
||||
echo "Install jack-audio-connection-kit, libsamplerate, ffmpeg
|
||||
or pulseaudio to get their respective plugins working"
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
0
alsa-utils/90alsa
Normal file → Executable file
0
alsa-utils/90alsa
Normal file → Executable file
@ -8,41 +8,27 @@
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=alsa-utils
|
||||
pkgver=1.0.24.2
|
||||
pkgrel=2
|
||||
pkgver=1.0.25
|
||||
pkgrel=1
|
||||
pkgdesc="An alternative implementation of Linux sound support"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.alsa-project.org"
|
||||
#can not use >=$pkgver due to use of letters in alsa-lib update versioning
|
||||
depends=("alsa-lib" 'dialog' 'pciutils' 'ncurses')
|
||||
depends=("alsa-lib" 'dialog' 'pciutils' 'ncurses' 'psmisc' 'libsamplerate')
|
||||
makedepends=('xmlto' 'docbook-xsl')
|
||||
license=('GPL')
|
||||
source=(ftp://ftp.alsa-project.org/pub/utils/$pkgname-${pkgver}.tar.bz2
|
||||
#source=("http://chakra.sourceforge.net/sources/${pkgname}/${pkgname}-${pkgver}.tar.xz"
|
||||
alsa
|
||||
alsaconf.patch
|
||||
alsa.conf.d
|
||||
90alsa)
|
||||
backup=(etc/conf.d/alsa)
|
||||
|
||||
# create tarball: source PKGBUILD && mksource
|
||||
|
||||
mksource() {
|
||||
rm -vRf ${pkgname}-${pkgver}
|
||||
git clone git://git.alsa-project.org/${pkgname}.git ${pkgname}-${pkgver}
|
||||
rm -vRf ${pkgname}-${pkgver}/.git
|
||||
pushd ${pkgname}-${pkgver}
|
||||
popd
|
||||
tar -cvJf ${pkgname}-${pkgver}.tar.xz ${pkgname}-${pkgver}/*
|
||||
md5sum ${pkgname}-${pkgver}.tar.xz
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $startdir/src/$pkgname-${pkgver}
|
||||
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
patch -Np1 -i ../alsaconf.patch
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
./configure --prefix=/usr --with-systemdsystemunitdir=/lib/systemd/system
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
@ -54,8 +40,8 @@ package() {
|
||||
# dir where to save ALSA state
|
||||
install -d ${pkgdir}/var/lib/alsa
|
||||
}
|
||||
md5sums=('8238cd57cb301d1c36bcf0ecb59ce6b2'
|
||||
'3ef812cae83053d01cd560284efad71f'
|
||||
'62ebef77d5617d0036012cc541dcf23c'
|
||||
'93089f0d8872078939f76dd2acaebc2b'
|
||||
md5sums=('f81f9dcb9a014fd32cb3a70066a5b9a9'
|
||||
'2ba1a1cbf653bf1a69f8a720fd6549da'
|
||||
'7521bf20f5b3501a510ec4462ae4a934'
|
||||
'4c8ae9f976c7df5e271a4cb91ccc7767'
|
||||
'529216f6a46e61a546640e08ea7a0879')
|
||||
|
@ -7,50 +7,56 @@
|
||||
case "$1" in
|
||||
start)
|
||||
stat_busy "Restoring ALSA Levels"
|
||||
/usr/sbin/alsactl $ALSA_ARGS restore
|
||||
if [ $? -gt 0 ]; then
|
||||
stat_fail
|
||||
else
|
||||
if [[ ! -e /var/lib/alsa/asound.state ]]; then
|
||||
/usr/sbin/alsactl $ALSA_ARGS store || { stat_fail; exit 1; }
|
||||
fi
|
||||
if /usr/sbin/alsactl $ALSA_ARGS restore; then
|
||||
stat_done
|
||||
add_daemon alsa
|
||||
else
|
||||
stat_fail
|
||||
exit 1
|
||||
fi
|
||||
|
||||
POWERSAVE=${POWERSAVE:-0}
|
||||
if [ -e /sys/module/snd_ac97_codec/parameters/power_save \
|
||||
-a $POWERSAVE -ne 0 ]; then
|
||||
if [[ -e /sys/module/snd_ac97_codec/parameters/power_save ]] \
|
||||
&& (( $POWERSAVE )); then
|
||||
echo $POWERSAVE > /sys/module/snd_ac97_codec/parameters/power_save
|
||||
[ -c /dev/dsp ] && echo 1 > /dev/dsp
|
||||
[[ -c /dev/dsp ]] && echo 1 > /dev/dsp
|
||||
fi
|
||||
|
||||
if [ -e /sys/module/snd_hda_intel/parameters/power_save \
|
||||
-a $POWERSAVE -ne 0 ]; then
|
||||
if [[ -e /sys/module/snd_hda_intel/parameters/power_save ]] \
|
||||
&& (( $POWERSAVE )); then
|
||||
echo $POWERSAVE > /sys/module/snd_hda_intel/parameters/power_save
|
||||
[ -c /dev/dsp ] && echo 1 > /dev/dsp
|
||||
[[ -c /dev/dsp ]] && echo 1 > /dev/dsp
|
||||
fi
|
||||
;;
|
||||
stop)
|
||||
SAVE_VOLUME=${SAVE_VOLUME:-yes}
|
||||
if [ "$SAVE_VOLUME" == "yes" ]; then
|
||||
if [[ "$SAVE_VOLUME" = "yes" ]]; then
|
||||
stat_busy "Saving ALSA Levels"
|
||||
/usr/sbin/alsactl $ALSA_ARGS store
|
||||
/usr/sbin/alsactl $ALSA_ARGS store || { stat_fail; exit 1; }
|
||||
else
|
||||
stat_busy "Stopping ALSA"
|
||||
fi
|
||||
if [ "$MUTE_VOLUME" == "yes" ]; then
|
||||
/usr/bin/amixer -q set Master 0 mute
|
||||
fi
|
||||
if [ $? -gt 0 ]; then
|
||||
stat_fail
|
||||
else
|
||||
stat_done
|
||||
rm_daemon alsa
|
||||
/usr/bin/amixer -q set Master 0 mute || { stat_fail; exit 1; }
|
||||
fi
|
||||
stat_done
|
||||
rm_daemon alsa
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
sleep 1
|
||||
$0 start
|
||||
;;
|
||||
force-restart)
|
||||
stat_busy "Trying to TERM or KILL processes that are blocking ALSA..."
|
||||
FILES="$(ls -1 /dev/snd/* | grep -vi control)"
|
||||
fuser -k -SIGTERM $FILES
|
||||
fuser -k $FILES
|
||||
stat_done
|
||||
$0 restart
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 {start|stop|restart}"
|
||||
echo "usage: $0 {start|stop|restart|force-restart}"
|
||||
esac
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Arguments for alsactl
|
||||
# example: ALSA_ARGS="--file /var/run/alsa-state"
|
||||
ALSA_ARGS=""
|
||||
# example: ALSA_ARGS="--file /var/lib/alsa/asound.state"
|
||||
ALSA_ARGS="--file /var/lib/alsa/asound.state"
|
||||
|
||||
# Enables powersaving mode for AC97 and hda_intel audio chips.
|
||||
# Set to 1 to enable powersaving.
|
||||
|
@ -5,7 +5,7 @@ diff -Naur alsa-utils-1.0.9a-orig/alsaconf/alsaconf.in alsa-utils-1.0.9a/alsacon
|
||||
distribution="redhat"
|
||||
elif test -f /etc/fedora-release && grep -q "Fedora" /etc/fedora-release; then
|
||||
distribution="fedora"
|
||||
+elif test -f /etc/arch-release && grep -q "Arch" /etc/arch-release; then
|
||||
+elif test -f /etc/arch-release; then
|
||||
+ distribution="arch"
|
||||
elif [ -f /etc/slackware-version -o -f /etc/slamd64-version ]; then
|
||||
distribution="slackware"
|
||||
|
@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=cdemu-client
|
||||
pkgver=1.4.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Simple command-line client for controlling cdemu-daemon"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://cdemu.sourceforge.net/"
|
||||
|
@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=cdemu-daemon
|
||||
pkgver=1.4.0
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="CD/DVD-ROM device emulator daemon"
|
||||
arch=('i686' 'x86_64')
|
||||
backup=('etc/conf.d/cdemud'
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
pkgname=('cdrdao')
|
||||
pkgver=1.2.3
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL')
|
||||
url="http://cdrdao.sourceforge.net/"
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
pkgname=celt
|
||||
pkgver=0.11.1
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="Low-latency audio communication codec"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.celt-codec.org"
|
||||
|
@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=dssi
|
||||
pkgver=1.1.1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="An API for audio plugins, with particular application for software synthesis plugins with native user interfaces."
|
||||
arch=("i686" "x86_64")
|
||||
url="http://dssi.sourceforge.net/"
|
||||
|
@ -8,8 +8,8 @@
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=ffmpeg
|
||||
pkgver=0.8.9
|
||||
pkgrel=2
|
||||
pkgver=0.10
|
||||
pkgrel=1
|
||||
epoch=1
|
||||
pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix"
|
||||
arch=('i686' 'x86_64')
|
||||
@ -18,7 +18,7 @@ license=('GPL')
|
||||
depends=('bzip2' 'lame' 'sdl' 'libvorbis' 'xvidcore' 'zlib' 'x264' 'libtheora' 'opencore-amr' 'alsa-lib' 'libvdpau' 'libxfixes' 'schroedinger' 'libvpx' 'libva' 'openjpeg' 'rtmpdump' 'speex')
|
||||
makedepends=('yasm')
|
||||
source=("http://${pkgname}.org/releases/${pkgname}-${pkgver}.tar.bz2")
|
||||
md5sums=('001d4e81008b02099cec28924aa11257')
|
||||
md5sums=('dc665cc599a739e3c5262ccdac13d129')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=ffmpegthumbnailer
|
||||
pkgver=2.0.7
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Lightweight video thumbnailer that can be used by file managers."
|
||||
url="http://code.google.com/p/ffmpegthumbnailer/"
|
||||
license=('GPL2')
|
||||
|
@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=flac
|
||||
pkgver=1.2.1
|
||||
pkgrel=5
|
||||
pkgrel=6
|
||||
pkgdesc="Free Lossless Audio Codec"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://flac.sourceforge.net/"
|
||||
|
@ -7,7 +7,7 @@
|
||||
pkgbase=gstreamer0.10-bad
|
||||
pkgname=('gstreamer0.10-bad' 'gstreamer0.10-bad-plugins')
|
||||
pkgver=0.10.22
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
arch=('i686' 'x86_64')
|
||||
license=('LGPL' 'GPL')
|
||||
makedepends=('pkgconfig' 'gstreamer0.10-base>=0.10.34' 'xvidcore' 'libdca' 'bzip2' 'libdc1394'
|
||||
|
@ -10,7 +10,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
pkgbase=('gstreamer0.10-base')
|
||||
pkgname=('gstreamer0.10-base' 'gstreamer0.10-base-plugins')
|
||||
pkgver=0.10.35
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
arch=('i686' 'x86_64')
|
||||
license=('LGPL')
|
||||
makedepends=('pkgconfig' "gstreamer0.10>=${pkgver}" 'orc' 'libxv' 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango' 'gobject-introspection')
|
||||
|
@ -10,7 +10,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
pkgbase=gstreamer0.10-good
|
||||
pkgname=('gstreamer0.10-good' 'gstreamer0.10-good-plugins')
|
||||
pkgver=0.10.30
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
arch=('i686' 'x86_64')
|
||||
license=('LGPL')
|
||||
makedepends=('intltool' 'pkgconfig' 'gstreamer0.10-base>=0.10.34' 'libavc1394' 'libiec61883' 'aalib' 'libshout' 'libdv'
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
pkgname=gstreamer0.10-pulse
|
||||
pkgver=0.10.30
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="A GStreamer 0.10 plugin for the PulseAudio sound server"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('LGPL')
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
pkgname=gstreamer0.10-python
|
||||
pkgver=0.10.22
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Python bindings for GStreamer 0.10"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('LGPL')
|
||||
|
@ -7,7 +7,7 @@
|
||||
pkgbase=gstreamer0.10-ugly
|
||||
pkgname=('gstreamer0.10-ugly' 'gstreamer0.10-ugly-plugins')
|
||||
pkgver=0.10.18
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
arch=('i686' 'x86_64')
|
||||
license=('LGPL')
|
||||
makedepends=('pkgconfig' 'gstreamer0.10-base' 'libdvdread' 'lame' 'libmpeg2' 'a52dec' 'libid3tag' 'libmad'
|
||||
|
@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=gstreamer0.10
|
||||
pkgver=0.10.35
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="GStreamer Multimedia Framework"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('LGPL')
|
||||
|
@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=jack
|
||||
pkgver=0.121.3
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A low-latency audio server"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL2' 'custom:LGPL2')
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
pkgname=ladspa
|
||||
pkgver=1.13
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="Linux Audio Developer's Simple Plugin API (LADSPA)"
|
||||
arch=("i686" "x86_64")
|
||||
license=('LGPL')
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
pkgname=libao
|
||||
pkgver=1.1.0
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="A cross-platform audio output library and plugins"
|
||||
url="http://www.xiph.org/ao"
|
||||
arch=('i686' 'x86_64')
|
||||
|
@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=liblastfm
|
||||
pkgver=0.3.3
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="A collection of libraries to help you integrate Last.fm services into your rich desktop software"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://github.com/mxcl/liblastfm/"
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
pkgname=liblrdf
|
||||
pkgver=0.4.8
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A library for the manipulation of RDF file in LADSPA plugins"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://sourceforge.net/projects/lrdf" #"http://sourceforge.net/projects/lrdf"
|
||||
|
@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=libmirage
|
||||
pkgver=1.4.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="CD-ROM image (B6T/CCD/CDI/CUE/ISO/MDS/NRG/TOC) access library"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://cdemu.sourceforge.net/"
|
||||
|
@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=libogg
|
||||
pkgver=1.3.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Ogg bitstream and framing library"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.xiph.org/ogg/"
|
||||
|
@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=libsamplerate
|
||||
pkgver=0.1.8
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Secret Rabbit Code - aka Sample Rate Converter for audio"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.mega-nerd.com/SRC/index.html"
|
||||
|
@ -8,8 +8,8 @@
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=libshout
|
||||
pkgver=2.2.2
|
||||
pkgrel=5
|
||||
pkgver=2.3.0
|
||||
pkgrel=1
|
||||
epoch=1
|
||||
pkgdesc="Library for accessing a shoutcast/icecast server"
|
||||
arch=('i686' 'x86_64')
|
||||
@ -18,7 +18,7 @@ url="http://www.icecast.org/"
|
||||
options=('!libtool' 'force')
|
||||
license=('LGPL')
|
||||
source=(http://downloads.xiph.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
||||
md5sums=('4f75fc9901c724b712c371c9a1e782d3')
|
||||
md5sums=('976a5979505f3de4026ae7fffb10754b')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=libsndfile
|
||||
pkgver=1.0.25
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A C library for reading and writing files containing sampled sound"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.mega-nerd.com/libsndfile"
|
||||
|
@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=libtheora
|
||||
pkgver=1.1.1
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="An open video codec developed by the Xiph.org"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.xiph.org"
|
||||
|
@ -8,8 +8,8 @@
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=libvorbis
|
||||
pkgver=1.3.2
|
||||
pkgrel=2
|
||||
pkgver=1.3.3
|
||||
pkgrel=1
|
||||
pkgdesc="Vorbis codec library"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('custom')
|
||||
@ -17,17 +17,17 @@ url="http://www.xiph.org/ogg/vorbis/"
|
||||
depends=('libogg')
|
||||
options=('!libtool')
|
||||
source=(http://downloads.xiph.org/releases/vorbis/${pkgname}-${pkgver}.tar.gz)
|
||||
md5sums=('c870b9bd5858a0ecb5275c14486d9554')
|
||||
md5sums=('6b1a36f0d72332fae5130688e65efe1f')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
#-march=i686 optimizes too much, strip it out
|
||||
CFLAGS=${CFLAGS/-march=$CARCH} ./configure --prefix=/usr --disable-static
|
||||
CFLAGS=${CFLAGS/-march=$CARCH} LIBS+="-lm" ./configure --prefix=/usr --disable-static
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
@ -9,7 +9,7 @@
|
||||
pkgbase=mlt
|
||||
pkgname=('mlt' 'mlt-python-bindings')
|
||||
pkgver=0.7.6
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="An open source multimedia framework"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.mltframework.org"
|
||||
|
@ -4,25 +4,22 @@
|
||||
# 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=mplayer
|
||||
pkgver=34104
|
||||
pkgrel=3
|
||||
pkgver=34707
|
||||
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'
|
||||
'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')
|
||||
'gcc-libs' 'giflib' 'glibc' 'jack' 'lame' 'libbluray' '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')
|
||||
license=('GPL')
|
||||
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-linux.org/sources/${pkgname}/${pkgname}-${pkgver}.tar.xz mplayer.desktop mplayer.png)
|
||||
md5sums=('6973a2c9982f003829548a4c4d637b6b'
|
||||
md5sums=('fad5faddafdb0146d10aa21fa278e194'
|
||||
'c0d6ef795cf6de48e3b87ff7c23f0319'
|
||||
'd00874ccc644b7f43d6ef1c942fcef28')
|
||||
|
||||
|
@ -1,34 +1,46 @@
|
||||
#
|
||||
# Platform Packages for Chakra, part of chakra-project.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>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=normalize
|
||||
pkgver=0.7.7
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="A tool for adjusting the volume of WAV files to a standard level"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://normalize.nongnu.org"
|
||||
license=('GPL')
|
||||
depends=('audiofile' 'libmad' 'vorbis-tools' 'lame' 'flac' 'mpg123')
|
||||
source=(http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
|
||||
url="http://normalize.nongnu.org"
|
||||
md5sums=('1749b16fc7a08aa5d0cf9f76eeaa8436')
|
||||
makedepends=('pkg-config' 'intltool')
|
||||
source=("http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
|
||||
'normalize-0.7.7-audiofile-pkgconfig.patch'
|
||||
'normalize-0.7.7-m4.patch')
|
||||
md5sums=('1749b16fc7a08aa5d0cf9f76eeaa8436'
|
||||
'77d565e29bef11837e80347adfd42b58'
|
||||
'0b4bca7bf183275b9f939576ebad4233')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
patch -Np1 -i "${srcdir}/normalize-0.7.7-audiofile-pkgconfig.patch"
|
||||
patch -Np0 -i "${srcdir}/normalize-0.7.7-m4.patch"
|
||||
|
||||
touch AUTHORS NEWS ChangeLog
|
||||
libtoolize --force --copy
|
||||
aclocal -I m4
|
||||
autoreconf
|
||||
automake --add-missing
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--mandir=/usr/share/man \
|
||||
--with-audiofile \
|
||||
--with-mad
|
||||
make
|
||||
make
|
||||
}
|
||||
|
||||
package(){
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
}
|
||||
|
55
normalize/normalize-0.7.7-audiofile-pkgconfig.patch
Normal file
55
normalize/normalize-0.7.7-audiofile-pkgconfig.patch
Normal file
@ -0,0 +1,55 @@
|
||||
Use pkgconfig to check for audiofile since the audiofile-config script was
|
||||
removed from >=audiofile-0.3.0.
|
||||
|
||||
--- normalize-0.7.7/configure.ac.orig
|
||||
+++ normalize-0.7.7/configure.ac
|
||||
@@ -248,33 +248,16 @@
|
||||
|
||||
|
||||
dnl *** Stuff for audiofile library ***
|
||||
-dnl v0.2.1 and before have bugs with 24-bit LE files
|
||||
-AM_PATH_AUDIOFILE([ 0.2.2 ], [ have_audiofile=true ])
|
||||
-dnl AC_CHECK_LIB(audiofile, afSetVirtualSampleFormat, have_audiofile=true)
|
||||
+AC_ARG_WITH(audiofile, AC_HELP_STRING([--with-audiofile],
|
||||
+ [use the audiofile library (default yes)]))
|
||||
AH_TEMPLATE([USE_AUDIOFILE],
|
||||
[Define if you want to use the audiofile library.])
|
||||
-AC_ARG_WITH(audiofile,
|
||||
- AC_HELP_STRING([--with-audiofile],
|
||||
- [use the audiofile library (default yes)]),
|
||||
- [ case "$withval" in
|
||||
- no) with_audiofile=false ;;
|
||||
- *) with_audiofile=true ;;
|
||||
- esac ])
|
||||
|
||||
-use_audiofile=false
|
||||
-if test x$with_audiofile != xfalse; then
|
||||
- if test x$have_audiofile = xtrue; then
|
||||
- AC_DEFINE(USE_AUDIOFILE)
|
||||
- use_audiofile=true
|
||||
-dnl AUDIOFILELIBS="-laudiofile"
|
||||
- elif test x$with_audiofile = xtrue; then
|
||||
- AC_MSG_ERROR([--with-audiofile specified, but audiofile library not found])
|
||||
- fi
|
||||
-fi
|
||||
-dnl AC_SUBST(AUDIOFILELIBS)
|
||||
-test x$use_audiofile = xfalse && AUDIOFILE_LIBS=
|
||||
-test x$use_audiofile = xfalse && AUDIOFILE_CFLAGS=
|
||||
-AM_CONDITIONAL(AUDIOFILE, test x$use_audiofile = xtrue)
|
||||
+AS_IF([test "x$with_audiofile" = "xyes"], [
|
||||
+ PKG_CHECK_MODULES([AUDIOFILE], [audiofile])
|
||||
+ AC_DEFINE(USE_AUDIOFILE)
|
||||
+])
|
||||
+AM_CONDITIONAL(AUDIOFILE, test x$with_audiofile = xyes)
|
||||
|
||||
|
||||
dnl *** Stuff for mad mpeg audio decoder library ***
|
||||
@@ -330,7 +313,7 @@
|
||||
|
||||
echo
|
||||
echo "Configuration:"
|
||||
-echo " audiofile library: $use_audiofile"
|
||||
+echo " audiofile library: $with_audiofile"
|
||||
echo " mpeg audio support: $use_mad"
|
||||
echo " xmms volume adjust plugin: $use_xmms"
|
||||
echo
|
553
normalize/normalize-0.7.7-m4.patch
Normal file
553
normalize/normalize-0.7.7-m4.patch
Normal file
@ -0,0 +1,553 @@
|
||||
--- m4/extra.m4
|
||||
+++ m4/extra.m4
|
||||
@@ -0,0 +1,550 @@
|
||||
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
||||
+# 2005 Free Software Foundation, Inc.
|
||||
+# This file is free software; the Free Software Foundation
|
||||
+# gives unlimited permission to copy and/or distribute it,
|
||||
+# with or without modifications, as long as this notice is preserved.
|
||||
+
|
||||
+# This program is distributed in the hope that it will be useful,
|
||||
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
+# PARTICULAR PURPOSE.
|
||||
+# Configure paths for GLIB
|
||||
+# Owen Taylor 97-11-3
|
||||
+
|
||||
+dnl AM_PATH_GLIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
|
||||
+dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if "gmodule" or
|
||||
+dnl gthread is specified in MODULES, pass to glib-config
|
||||
+dnl
|
||||
+AC_DEFUN(AM_PATH_GLIB,
|
||||
+[dnl
|
||||
+dnl Get the cflags and libraries from the glib-config script
|
||||
+dnl
|
||||
+AC_ARG_WITH(glib-prefix,[ --with-glib-prefix=PFX Prefix where GLIB is installed (optional)],
|
||||
+ glib_config_prefix="$withval", glib_config_prefix="")
|
||||
+AC_ARG_WITH(glib-exec-prefix,[ --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional)],
|
||||
+ glib_config_exec_prefix="$withval", glib_config_exec_prefix="")
|
||||
+AC_ARG_ENABLE(glibtest, [ --disable-glibtest Do not try to compile and run a test GLIB program],
|
||||
+ , enable_glibtest=yes)
|
||||
+
|
||||
+ if test x$glib_config_exec_prefix != x ; then
|
||||
+ glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix"
|
||||
+ if test x${GLIB_CONFIG+set} != xset ; then
|
||||
+ GLIB_CONFIG=$glib_config_exec_prefix/bin/glib-config
|
||||
+ fi
|
||||
+ fi
|
||||
+ if test x$glib_config_prefix != x ; then
|
||||
+ glib_config_args="$glib_config_args --prefix=$glib_config_prefix"
|
||||
+ if test x${GLIB_CONFIG+set} != xset ; then
|
||||
+ GLIB_CONFIG=$glib_config_prefix/bin/glib-config
|
||||
+ fi
|
||||
+ fi
|
||||
+
|
||||
+ for module in . $4
|
||||
+ do
|
||||
+ case "$module" in
|
||||
+ gmodule)
|
||||
+ glib_config_args="$glib_config_args gmodule"
|
||||
+ ;;
|
||||
+ gthread)
|
||||
+ glib_config_args="$glib_config_args gthread"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ done
|
||||
+
|
||||
+ AC_PATH_PROG(GLIB_CONFIG, glib-config, no)
|
||||
+ min_glib_version=ifelse([$1], ,0.99.7,$1)
|
||||
+ AC_MSG_CHECKING(for GLIB - version >= $min_glib_version)
|
||||
+ no_glib=""
|
||||
+ if test "$GLIB_CONFIG" = "no" ; then
|
||||
+ no_glib=yes
|
||||
+ else
|
||||
+ GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags`
|
||||
+ GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs`
|
||||
+ glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \
|
||||
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
||||
+ glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \
|
||||
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
||||
+ glib_config_micro_version=`$GLIB_CONFIG $glib_config_args --version | \
|
||||
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
|
||||
+ if test "x$enable_glibtest" = "xyes" ; then
|
||||
+ ac_save_CFLAGS="$CFLAGS"
|
||||
+ ac_save_LIBS="$LIBS"
|
||||
+ CFLAGS="$CFLAGS $GLIB_CFLAGS"
|
||||
+ LIBS="$GLIB_LIBS $LIBS"
|
||||
+dnl
|
||||
+dnl Now check if the installed GLIB is sufficiently new. (Also sanity
|
||||
+dnl checks the results of glib-config to some extent
|
||||
+dnl
|
||||
+ rm -f conf.glibtest
|
||||
+ AC_TRY_RUN([
|
||||
+#include <glib.h>
|
||||
+#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
+
|
||||
+int
|
||||
+main ()
|
||||
+{
|
||||
+ int major, minor, micro;
|
||||
+ char *tmp_version;
|
||||
+
|
||||
+ system ("touch conf.glibtest");
|
||||
+
|
||||
+ /* HP/UX 9 (%@#!) writes to sscanf strings */
|
||||
+ tmp_version = g_strdup("$min_glib_version");
|
||||
+ if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
|
||||
+ printf("%s, bad version string\n", "$min_glib_version");
|
||||
+ exit(1);
|
||||
+ }
|
||||
+
|
||||
+ if ((glib_major_version != $glib_config_major_version) ||
|
||||
+ (glib_minor_version != $glib_config_minor_version) ||
|
||||
+ (glib_micro_version != $glib_config_micro_version))
|
||||
+ {
|
||||
+ printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
|
||||
+ $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
|
||||
+ glib_major_version, glib_minor_version, glib_micro_version);
|
||||
+ printf ("*** was found! If glib-config was correct, then it is best\n");
|
||||
+ printf ("*** to remove the old version of GLIB. You may also be able to fix the error\n");
|
||||
+ printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
|
||||
+ printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
|
||||
+ printf("*** required on your system.\n");
|
||||
+ printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n");
|
||||
+ printf("*** to point to the correct copy of glib-config, and remove the file config.cache\n");
|
||||
+ printf("*** before re-running configure\n");
|
||||
+ }
|
||||
+ else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
|
||||
+ (glib_minor_version != GLIB_MINOR_VERSION) ||
|
||||
+ (glib_micro_version != GLIB_MICRO_VERSION))
|
||||
+ {
|
||||
+ printf("*** GLIB header files (version %d.%d.%d) do not match\n",
|
||||
+ GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
|
||||
+ printf("*** library (version %d.%d.%d)\n",
|
||||
+ glib_major_version, glib_minor_version, glib_micro_version);
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ if ((glib_major_version > major) ||
|
||||
+ ((glib_major_version == major) && (glib_minor_version > minor)) ||
|
||||
+ ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
|
||||
+ {
|
||||
+ return 0;
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
|
||||
+ glib_major_version, glib_minor_version, glib_micro_version);
|
||||
+ printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
|
||||
+ major, minor, micro);
|
||||
+ printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
|
||||
+ printf("***\n");
|
||||
+ printf("*** If you have already installed a sufficiently new version, this error\n");
|
||||
+ printf("*** probably means that the wrong copy of the glib-config shell script is\n");
|
||||
+ printf("*** being found. The easiest way to fix this is to remove the old version\n");
|
||||
+ printf("*** of GLIB, but you can also set the GLIB_CONFIG environment to point to the\n");
|
||||
+ printf("*** correct copy of glib-config. (In this case, you will have to\n");
|
||||
+ printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
|
||||
+ printf("*** so that the correct libraries are found at run-time))\n");
|
||||
+ }
|
||||
+ }
|
||||
+ return 1;
|
||||
+}
|
||||
+],, no_glib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
|
||||
+ CFLAGS="$ac_save_CFLAGS"
|
||||
+ LIBS="$ac_save_LIBS"
|
||||
+ fi
|
||||
+ fi
|
||||
+ if test "x$no_glib" = x ; then
|
||||
+ AC_MSG_RESULT(yes)
|
||||
+ ifelse([$2], , :, [$2])
|
||||
+ else
|
||||
+ AC_MSG_RESULT(no)
|
||||
+ if test "$GLIB_CONFIG" = "no" ; then
|
||||
+ echo "*** The glib-config script installed by GLIB could not be found"
|
||||
+ echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in"
|
||||
+ echo "*** your path, or set the GLIB_CONFIG environment variable to the"
|
||||
+ echo "*** full path to glib-config."
|
||||
+ else
|
||||
+ if test -f conf.glibtest ; then
|
||||
+ :
|
||||
+ else
|
||||
+ echo "*** Could not run GLIB test program, checking why..."
|
||||
+ CFLAGS="$CFLAGS $GLIB_CFLAGS"
|
||||
+ LIBS="$LIBS $GLIB_LIBS"
|
||||
+ AC_TRY_LINK([
|
||||
+#include <glib.h>
|
||||
+#include <stdio.h>
|
||||
+], [ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ],
|
||||
+ [ echo "*** The test program compiled, but did not run. This usually means"
|
||||
+ echo "*** that the run-time linker is not finding GLIB or finding the wrong"
|
||||
+ echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
|
||||
+ echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
|
||||
+ echo "*** to the installed location Also, make sure you have run ldconfig if that"
|
||||
+ echo "*** is required on your system"
|
||||
+ echo "***"
|
||||
+ echo "*** If you have an old version installed, it is best to remove it, although"
|
||||
+ echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
|
||||
+ echo "***"
|
||||
+ echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
|
||||
+ echo "*** came with the system with the command"
|
||||
+ echo "***"
|
||||
+ echo "*** rpm --erase --nodeps gtk gtk-devel" ],
|
||||
+ [ echo "*** The test program failed to compile or link. See the file config.log for the"
|
||||
+ echo "*** exact error that occured. This usually means GLIB was incorrectly installed"
|
||||
+ echo "*** or that you have moved GLIB since it was installed. In the latter case, you"
|
||||
+ echo "*** may want to edit the glib-config script: $GLIB_CONFIG" ])
|
||||
+ CFLAGS="$ac_save_CFLAGS"
|
||||
+ LIBS="$ac_save_LIBS"
|
||||
+ fi
|
||||
+ fi
|
||||
+ GLIB_CFLAGS=""
|
||||
+ GLIB_LIBS=""
|
||||
+ ifelse([$3], , :, [$3])
|
||||
+ fi
|
||||
+ AC_SUBST(GLIB_CFLAGS)
|
||||
+ AC_SUBST(GLIB_LIBS)
|
||||
+ rm -f conf.glibtest
|
||||
+])
|
||||
+
|
||||
+# Configure paths for GTK+
|
||||
+# Owen Taylor 97-11-3
|
||||
+
|
||||
+dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
|
||||
+dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
|
||||
+dnl
|
||||
+AC_DEFUN(AM_PATH_GTK,
|
||||
+[dnl
|
||||
+dnl Get the cflags and libraries from the gtk-config script
|
||||
+dnl
|
||||
+AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)],
|
||||
+ gtk_config_prefix="$withval", gtk_config_prefix="")
|
||||
+AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)],
|
||||
+ gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="")
|
||||
+AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program],
|
||||
+ , enable_gtktest=yes)
|
||||
+
|
||||
+ for module in . $4
|
||||
+ do
|
||||
+ case "$module" in
|
||||
+ gthread)
|
||||
+ gtk_config_args="$gtk_config_args gthread"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ done
|
||||
+
|
||||
+ if test x$gtk_config_exec_prefix != x ; then
|
||||
+ gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
|
||||
+ if test x${GTK_CONFIG+set} != xset ; then
|
||||
+ GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
|
||||
+ fi
|
||||
+ fi
|
||||
+ if test x$gtk_config_prefix != x ; then
|
||||
+ gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
|
||||
+ if test x${GTK_CONFIG+set} != xset ; then
|
||||
+ GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
|
||||
+ fi
|
||||
+ fi
|
||||
+
|
||||
+ AC_PATH_PROG(GTK_CONFIG, gtk-config, no)
|
||||
+ min_gtk_version=ifelse([$1], ,0.99.7,$1)
|
||||
+ AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
|
||||
+ no_gtk=""
|
||||
+ if test "$GTK_CONFIG" = "no" ; then
|
||||
+ no_gtk=yes
|
||||
+ else
|
||||
+ GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
|
||||
+ GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
|
||||
+ gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
|
||||
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
||||
+ gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
|
||||
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
||||
+ gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
|
||||
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
|
||||
+ if test "x$enable_gtktest" = "xyes" ; then
|
||||
+ ac_save_CFLAGS="$CFLAGS"
|
||||
+ ac_save_LIBS="$LIBS"
|
||||
+ CFLAGS="$CFLAGS $GTK_CFLAGS"
|
||||
+ LIBS="$GTK_LIBS $LIBS"
|
||||
+dnl
|
||||
+dnl Now check if the installed GTK is sufficiently new. (Also sanity
|
||||
+dnl checks the results of gtk-config to some extent
|
||||
+dnl
|
||||
+ rm -f conf.gtktest
|
||||
+ AC_TRY_RUN([
|
||||
+#include <gtk/gtk.h>
|
||||
+#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
+
|
||||
+int
|
||||
+main ()
|
||||
+{
|
||||
+ int major, minor, micro;
|
||||
+ char *tmp_version;
|
||||
+
|
||||
+ system ("touch conf.gtktest");
|
||||
+
|
||||
+ /* HP/UX 9 (%@#!) writes to sscanf strings */
|
||||
+ tmp_version = g_strdup("$min_gtk_version");
|
||||
+ if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
|
||||
+ printf("%s, bad version string\n", "$min_gtk_version");
|
||||
+ exit(1);
|
||||
+ }
|
||||
+
|
||||
+ if ((gtk_major_version != $gtk_config_major_version) ||
|
||||
+ (gtk_minor_version != $gtk_config_minor_version) ||
|
||||
+ (gtk_micro_version != $gtk_config_micro_version))
|
||||
+ {
|
||||
+ printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
|
||||
+ $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
|
||||
+ gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||
+ printf ("*** was found! If gtk-config was correct, then it is best\n");
|
||||
+ printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
|
||||
+ printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
|
||||
+ printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
|
||||
+ printf("*** required on your system.\n");
|
||||
+ printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
|
||||
+ printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
|
||||
+ printf("*** before re-running configure\n");
|
||||
+ }
|
||||
+#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
|
||||
+ else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
|
||||
+ (gtk_minor_version != GTK_MINOR_VERSION) ||
|
||||
+ (gtk_micro_version != GTK_MICRO_VERSION))
|
||||
+ {
|
||||
+ printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
|
||||
+ GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
|
||||
+ printf("*** library (version %d.%d.%d)\n",
|
||||
+ gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||
+ }
|
||||
+#endif /* defined (GTK_MAJOR_VERSION) ... */
|
||||
+ else
|
||||
+ {
|
||||
+ if ((gtk_major_version > major) ||
|
||||
+ ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
|
||||
+ ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
|
||||
+ {
|
||||
+ return 0;
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
|
||||
+ gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||
+ printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
|
||||
+ major, minor, micro);
|
||||
+ printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
|
||||
+ printf("***\n");
|
||||
+ printf("*** If you have already installed a sufficiently new version, this error\n");
|
||||
+ printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
|
||||
+ printf("*** being found. The easiest way to fix this is to remove the old version\n");
|
||||
+ printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
|
||||
+ printf("*** correct copy of gtk-config. (In this case, you will have to\n");
|
||||
+ printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
|
||||
+ printf("*** so that the correct libraries are found at run-time))\n");
|
||||
+ }
|
||||
+ }
|
||||
+ return 1;
|
||||
+}
|
||||
+],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
|
||||
+ CFLAGS="$ac_save_CFLAGS"
|
||||
+ LIBS="$ac_save_LIBS"
|
||||
+ fi
|
||||
+ fi
|
||||
+ if test "x$no_gtk" = x ; then
|
||||
+ AC_MSG_RESULT(yes)
|
||||
+ ifelse([$2], , :, [$2])
|
||||
+ else
|
||||
+ AC_MSG_RESULT(no)
|
||||
+ if test "$GTK_CONFIG" = "no" ; then
|
||||
+ echo "*** The gtk-config script installed by GTK could not be found"
|
||||
+ echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
|
||||
+ echo "*** your path, or set the GTK_CONFIG environment variable to the"
|
||||
+ echo "*** full path to gtk-config."
|
||||
+ else
|
||||
+ if test -f conf.gtktest ; then
|
||||
+ :
|
||||
+ else
|
||||
+ echo "*** Could not run GTK test program, checking why..."
|
||||
+ CFLAGS="$CFLAGS $GTK_CFLAGS"
|
||||
+ LIBS="$LIBS $GTK_LIBS"
|
||||
+ AC_TRY_LINK([
|
||||
+#include <gtk/gtk.h>
|
||||
+#include <stdio.h>
|
||||
+], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
|
||||
+ [ echo "*** The test program compiled, but did not run. This usually means"
|
||||
+ echo "*** that the run-time linker is not finding GTK or finding the wrong"
|
||||
+ echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
|
||||
+ echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
|
||||
+ echo "*** to the installed location Also, make sure you have run ldconfig if that"
|
||||
+ echo "*** is required on your system"
|
||||
+ echo "***"
|
||||
+ echo "*** If you have an old version installed, it is best to remove it, although"
|
||||
+ echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
|
||||
+ echo "***"
|
||||
+ echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
|
||||
+ echo "*** came with the system with the command"
|
||||
+ echo "***"
|
||||
+ echo "*** rpm --erase --nodeps gtk gtk-devel" ],
|
||||
+ [ echo "*** The test program failed to compile or link. See the file config.log for the"
|
||||
+ echo "*** exact error that occured. This usually means GTK was incorrectly installed"
|
||||
+ echo "*** or that you have moved GTK since it was installed. In the latter case, you"
|
||||
+ echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ])
|
||||
+ CFLAGS="$ac_save_CFLAGS"
|
||||
+ LIBS="$ac_save_LIBS"
|
||||
+ fi
|
||||
+ fi
|
||||
+ GTK_CFLAGS=""
|
||||
+ GTK_LIBS=""
|
||||
+ ifelse([$3], , :, [$3])
|
||||
+ fi
|
||||
+ AC_SUBST(GTK_CFLAGS)
|
||||
+ AC_SUBST(GTK_LIBS)
|
||||
+ rm -f conf.gtktest
|
||||
+])
|
||||
+
|
||||
+# CFLAGS and library paths for XMMS
|
||||
+# written 15 December 1999 by Ben Gertzfield <che@debian.org>
|
||||
+
|
||||
+dnl Usage:
|
||||
+dnl AM_PATH_XMMS([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
|
||||
+dnl
|
||||
+dnl Example:
|
||||
+dnl AM_PATH_XMMS(0.9.5.1, , AC_MSG_ERROR([*** XMMS >= 0.9.5.1 not installed - please install first ***]))
|
||||
+dnl
|
||||
+dnl Defines XMMS_CFLAGS, XMMS_LIBS, XMMS_DATA_DIR, XMMS_PLUGIN_DIR,
|
||||
+dnl XMMS_VISUALIZATION_PLUGIN_DIR, XMMS_INPUT_PLUGIN_DIR,
|
||||
+dnl XMMS_OUTPUT_PLUGIN_DIR, XMMS_GENERAL_PLUGIN_DIR, XMMS_EFFECT_PLUGIN_DIR,
|
||||
+dnl and XMMS_VERSION for your plugin pleasure.
|
||||
+dnl
|
||||
+
|
||||
+dnl XMMS_TEST_VERSION(AVAILABLE-VERSION, NEEDED-VERSION [, ACTION-IF-OKAY [, ACTION-IF-NOT-OKAY]])
|
||||
+AC_DEFUN(XMMS_TEST_VERSION, [
|
||||
+
|
||||
+# Determine which version number is greater. Prints 2 to stdout if
|
||||
+# the second number is greater, 1 if the first number is greater,
|
||||
+# 0 if the numbers are equal.
|
||||
+
|
||||
+# Written 15 December 1999 by Ben Gertzfield <che@debian.org>
|
||||
+# Revised 15 December 1999 by Jim Monty <monty@primenet.com>
|
||||
+
|
||||
+ AC_PROG_AWK
|
||||
+ xmms_got_version=[` $AWK ' \
|
||||
+BEGIN { \
|
||||
+ print vercmp(ARGV[1], ARGV[2]); \
|
||||
+} \
|
||||
+ \
|
||||
+function vercmp(ver1, ver2, ver1arr, ver2arr, \
|
||||
+ ver1len, ver2len, \
|
||||
+ ver1int, ver2int, len, i, p) { \
|
||||
+ \
|
||||
+ ver1len = split(ver1, ver1arr, /\./); \
|
||||
+ ver2len = split(ver2, ver2arr, /\./); \
|
||||
+ \
|
||||
+ len = ver1len > ver2len ? ver1len : ver2len; \
|
||||
+ \
|
||||
+ for (i = 1; i <= len; i++) { \
|
||||
+ p = 1000 ^ (len - i); \
|
||||
+ ver1int += ver1arr[i] * p; \
|
||||
+ ver2int += ver2arr[i] * p; \
|
||||
+ } \
|
||||
+ \
|
||||
+ if (ver1int < ver2int) \
|
||||
+ return 2; \
|
||||
+ else if (ver1int > ver2int) \
|
||||
+ return 1; \
|
||||
+ else \
|
||||
+ return 0; \
|
||||
+}' $1 $2`]
|
||||
+
|
||||
+ if test $xmms_got_version -eq 2; then # failure
|
||||
+ ifelse([$4], , :, $4)
|
||||
+ else # success!
|
||||
+ ifelse([$3], , :, $3)
|
||||
+ fi
|
||||
+])
|
||||
+
|
||||
+AC_DEFUN(AM_PATH_XMMS,
|
||||
+[
|
||||
+AC_ARG_WITH(xmms-prefix,[ --with-xmms-prefix=PFX Prefix where XMMS is installed (optional)],
|
||||
+ xmms_config_prefix="$withval", xmms_config_prefix="")
|
||||
+AC_ARG_WITH(xmms-exec-prefix,[ --with-xmms-exec-prefix=PFX Exec prefix where XMMS is installed (optional)],
|
||||
+ xmms_config_exec_prefix="$withval", xmms_config_exec_prefix="")
|
||||
+
|
||||
+if test x$xmms_config_exec_prefix != x; then
|
||||
+ xmms_config_args="$xmms_config_args --exec-prefix=$xmms_config_exec_prefix"
|
||||
+ if test x${XMMS_CONFIG+set} != xset; then
|
||||
+ XMMS_CONFIG=$xmms_config_exec_prefix/bin/xmms-config
|
||||
+ fi
|
||||
+fi
|
||||
+
|
||||
+if test x$xmms_config_prefix != x; then
|
||||
+ xmms_config_args="$xmms_config_args --prefix=$xmms_config_prefix"
|
||||
+ if test x${XMMS_CONFIG+set} != xset; then
|
||||
+ XMMS_CONFIG=$xmms_config_prefix/bin/xmms-config
|
||||
+ fi
|
||||
+fi
|
||||
+
|
||||
+AC_PATH_PROG(XMMS_CONFIG, xmms-config, no)
|
||||
+min_xmms_version=ifelse([$1], ,0.9.5.1, $1)
|
||||
+
|
||||
+if test "$XMMS_CONFIG" = "no"; then
|
||||
+ no_xmms=yes
|
||||
+else
|
||||
+ XMMS_CFLAGS=`$XMMS_CONFIG $xmms_config_args --cflags`
|
||||
+ XMMS_LIBS=`$XMMS_CONFIG $xmms_config_args --libs`
|
||||
+ XMMS_VERSION=`$XMMS_CONFIG $xmms_config_args --version`
|
||||
+ XMMS_DATA_DIR=`$XMMS_CONFIG $xmms_config_args --data-dir`
|
||||
+ XMMS_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --plugin-dir`
|
||||
+ XMMS_VISUALIZATION_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args \
|
||||
+ --visualization-plugin-dir`
|
||||
+ XMMS_INPUT_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --input-plugin-dir`
|
||||
+ XMMS_OUTPUT_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --output-plugin-dir`
|
||||
+ XMMS_EFFECT_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --effect-plugin-dir`
|
||||
+ XMMS_GENERAL_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --general-plugin-dir`
|
||||
+
|
||||
+ XMMS_TEST_VERSION($XMMS_VERSION, $min_xmms_version, ,no_xmms=version)
|
||||
+fi
|
||||
+
|
||||
+AC_MSG_CHECKING(for XMMS - version >= $min_xmms_version)
|
||||
+
|
||||
+if test "x$no_xmms" = x; then
|
||||
+ AC_MSG_RESULT(yes)
|
||||
+ ifelse([$2], , :, [$2])
|
||||
+else
|
||||
+ AC_MSG_RESULT(no)
|
||||
+
|
||||
+ if test "$XMMS_CONFIG" = "no" ; then
|
||||
+ echo "*** The xmms-config script installed by XMMS could not be found."
|
||||
+ echo "*** If XMMS was installed in PREFIX, make sure PREFIX/bin is in"
|
||||
+ echo "*** your path, or set the XMMS_CONFIG environment variable to the"
|
||||
+ echo "*** full path to xmms-config."
|
||||
+ else
|
||||
+ if test "$no_xmms" = "version"; then
|
||||
+ echo "*** An old version of XMMS, $XMMS_VERSION, was found."
|
||||
+ echo "*** You need a version of XMMS newer than $min_xmms_version."
|
||||
+ echo "*** The latest version of XMMS is always available from"
|
||||
+ echo "*** http://www.xmms.org/"
|
||||
+ echo "***"
|
||||
+
|
||||
+ echo "*** If you have already installed a sufficiently new version, this error"
|
||||
+ echo "*** probably means that the wrong copy of the xmms-config shell script is"
|
||||
+ echo "*** being found. The easiest way to fix this is to remove the old version"
|
||||
+ echo "*** of XMMS, but you can also set the XMMS_CONFIG environment to point to the"
|
||||
+ echo "*** correct copy of xmms-config. (In this case, you will have to"
|
||||
+ echo "*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf"
|
||||
+ echo "*** so that the correct libraries are found at run-time)"
|
||||
+ fi
|
||||
+ fi
|
||||
+ XMMS_CFLAGS=""
|
||||
+ XMMS_LIBS=""
|
||||
+ ifelse([$3], , :, [$3])
|
||||
+fi
|
||||
+AC_SUBST(XMMS_CFLAGS)
|
||||
+AC_SUBST(XMMS_LIBS)
|
||||
+AC_SUBST(XMMS_VERSION)
|
||||
+AC_SUBST(XMMS_DATA_DIR)
|
||||
+AC_SUBST(XMMS_PLUGIN_DIR)
|
||||
+AC_SUBST(XMMS_VISUALIZATION_PLUGIN_DIR)
|
||||
+AC_SUBST(XMMS_INPUT_PLUGIN_DIR)
|
||||
+AC_SUBST(XMMS_OUTPUT_PLUGIN_DIR)
|
||||
+AC_SUBST(XMMS_GENERAL_PLUGIN_DIR)
|
||||
+AC_SUBST(XMMS_EFFECT_PLUGIN_DIR)
|
||||
+])
|
@ -12,7 +12,7 @@ pkgname=('opencv' 'opencv-docs' 'opencv-samples')
|
||||
_realname=OpenCV
|
||||
pkgver=2.3.1
|
||||
_realver=2.3.1a
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="Open Source Computer Vision Library"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('BSD')
|
||||
|
21
orc/PKGBUILD
21
orc/PKGBUILD
@ -5,28 +5,25 @@
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
pkgname=orc
|
||||
pkgver=0.4.14
|
||||
pkgver=0.4.16
|
||||
pkgrel=1
|
||||
pkgdesc="The Oil Runtime Compiler"
|
||||
pkgdesc="The Oild Runtime Compiler"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('custom')
|
||||
url="http://code.entropywave.com/projects/orc/"
|
||||
depends=('glibc')
|
||||
options=('!libtool')
|
||||
source=(http://code.entropywave.com/download/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
||||
md5sums=('6b3ff209e9763ebe40e152538884bd71')
|
||||
source=(http://code.entropywave.com/download/$pkgname/$pkgname-$pkgver.tar.gz)
|
||||
md5sums=('e482932e544c847761449b106ecbc483')
|
||||
|
||||
build () {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--disable-static
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
./configure --prefix=/usr --disable-static
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
||||
}
|
||||
|
@ -10,9 +10,9 @@ pkgrel=1
|
||||
pkgdesc="A Colour Management System (CMS) on operating system level."
|
||||
url="http://oyranos.org/"
|
||||
arch=('i686' 'x86_64')
|
||||
makedepends=(fltk qt elektra cups sane cairo openicc)
|
||||
makedepends=(fltk qt cups sane cairo)
|
||||
depends=(libxml2 libxinerama libxrandr libxfixes libxxf86vm doxygen graphviz lcms2 libraw xcalib libxcm yajl)
|
||||
optdepends=(fltk qt elektra cups sane cairo openicc)
|
||||
optdepends=(fltk qt cups sane cairo)
|
||||
source=("http://prdownloads.sourceforge.net/oyranos/$pkgname-$pkgver.tar.bz2")
|
||||
md5sums=('0c4bb2479efc37123db4ff8cd7bb787a')
|
||||
license=('MIT')
|
||||
@ -24,4 +24,4 @@ build() {
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
|
||||
md5sums=('c80d142741c284b06cbea29b9d859933')
|
||||
md5sums=('c80d142741c284b06cbea29b9d859933')
|
||||
|
29
perl-alien-sdl/PKGBUILD
Normal file
29
perl-alien-sdl/PKGBUILD
Normal file
@ -0,0 +1,29 @@
|
||||
#
|
||||
# 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=perl-alien-sdl
|
||||
_realname=Alien-SDL
|
||||
pkgver=1.430
|
||||
pkgrel=1
|
||||
pkgdesc="Building, finding and using SDL binaries"
|
||||
arch=(i686 x86_64)
|
||||
license=(PerlArtistic GPL)
|
||||
url="http://search.cpan.org/dist/Alien-SDL/"
|
||||
depends=(sdl=1.2.15 perl-file-sharedir perl-capture-tiny)
|
||||
makedepends=(perl-file-which perl-text-patch)
|
||||
options=(!emptydirs)
|
||||
source=(http://search.cpan.org/CPAN/authors/id/F/FR/FROGGS/$_realname-$pkgver.tar.gz)
|
||||
md5sums=('9d7774212fb4e1c46325746c953a808b')
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_realname-$pkgver"
|
||||
|
||||
# install module in vendor directories
|
||||
perl Build.PL installdirs=vendor destdir="$pkgdir" --with-sdl-config
|
||||
|
||||
perl Build
|
||||
perl Build install
|
||||
}
|
@ -8,7 +8,7 @@
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=perl-sdl
|
||||
pkgver=2.534
|
||||
pkgver=2.536
|
||||
pkgrel=1
|
||||
pkgdesc="Simple DirectMedia Layer for Perl."
|
||||
arch=(i686 x86_64)
|
||||
@ -20,8 +20,8 @@ options=('!emptydirs')
|
||||
replaces=(sdl_perl)
|
||||
conflicts=(sdl_perl)
|
||||
provides=("sdl_perl=$pkgver")
|
||||
source=(http://search.cpan.org/CPAN/authors/id/K/KT/KTHAKORE/SDL-$pkgver.tar.gz)
|
||||
md5sums=('1dd0b888c1ef7f40e9b24aed6bba1bdf')
|
||||
source=(http://search.cpan.org/CPAN/authors/id/F/FR/FROGGS/SDL-$pkgver.tar.gz)
|
||||
md5sums=('5c682e8a96cd655e959497b034b978ce')
|
||||
|
||||
build() {
|
||||
cd $srcdir/SDL-$pkgver
|
||||
|
@ -7,7 +7,7 @@
|
||||
pkgname=('phonon-backend-gstreamer')
|
||||
_pkgname=('phonon-gstreamer')
|
||||
pkgver=4.5.9
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Phonon GStreamer backend"
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://phonon.kde.org'
|
||||
|
@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=('phonon-backend-mplayer')
|
||||
_pkgname=('phonon-mplayer')
|
||||
pkgver=20111223
|
||||
pkgver=20120212
|
||||
pkgrel=1
|
||||
pkgdesc='Phonon MPlayer backend'
|
||||
arch=('i686' 'x86_64')
|
||||
@ -20,27 +20,26 @@ makedepends=('qt' 'pkgconfig' 'cmake' 'automoc4' 'git' 'mesa')
|
||||
groups=("kde-complete" "kde-uninstall")
|
||||
conflicts=("phonon-mplayer-svn" 'phonon-mplayer')
|
||||
replaces=("phonon-mplayer-svn" 'phonon-mplayer')
|
||||
source=(http://chakra-linux.org/sources/${pkgname}/${pkgname}-${pkgver}.tar.xz)
|
||||
md5sums=(3e4334033ff7930a9b2a55a8b46fc9db)
|
||||
|
||||
_gitroot="git://anongit.kde.org/${_pkgname}.git"
|
||||
_gitname="${_pkgname}"
|
||||
# create tarball: source PKGBUILD && mksource
|
||||
|
||||
mksource() {
|
||||
rm -vRf ${pkgname}-${pkgver}
|
||||
git clone git://anongit.kde.org/${_pkgname}.git ${pkgname}-${pkgver}
|
||||
rm -vRf ${pkgname}-${pkgver}/.git
|
||||
pushd ${pkgname}-${pkgver}
|
||||
popd
|
||||
tar -cvJf ${pkgname}-${pkgver}.tar.xz ${pkgname}-${pkgver}/*
|
||||
md5sum ${pkgname}-${pkgver}.tar.xz
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir"
|
||||
cd "$srcdir/${pkgname}-${pkgver}"
|
||||
|
||||
msg "Connecting to GIT server...."
|
||||
if [ -d ${_gitname} ] ; then
|
||||
cd ${_gitname} && git pull origin
|
||||
msg "The local files are updated."
|
||||
else
|
||||
git clone ${_gitroot} ${_gitname}
|
||||
fi
|
||||
msg "GIT checkout done or server timeout"
|
||||
msg "Starting make..."
|
||||
|
||||
rm -rf "${srcdir}/${_gitname}-build"
|
||||
git clone -l "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
|
||||
cd "${srcdir}/${_gitname}-build"
|
||||
|
||||
# Config
|
||||
[ ${CARCH} = 'x86_64' ] && CXXFLAGS="$CXXFLAGS -fPIC"
|
||||
|
||||
|
@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=phonon
|
||||
pkgver=4.6.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
epoch=1
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://phonon.kde.org"
|
||||
|
@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=pyogg
|
||||
pkgver=1.3
|
||||
pkgrel=8
|
||||
pkgrel=9
|
||||
pkgdesc="Python ogg wrapper library"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://ekyo.nerim.net/software/pyogg/index.html"
|
||||
|
@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=pyvorbis
|
||||
pkgver=1.4
|
||||
pkgrel=7
|
||||
pkgrel=8
|
||||
pkgdesc="Python vorbis wrapper library"
|
||||
arch=(i686 x86_64)
|
||||
license=('LGPL')
|
||||
|
@ -8,7 +8,7 @@
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=rdesktop
|
||||
pkgver=1.7.0
|
||||
pkgver=1.7.1
|
||||
pkgrel=1
|
||||
depends=('libx11' 'openssl' 'libao' 'libsamplerate')
|
||||
pkgdesc="Is used to connect to windows terminal servers"
|
||||
@ -17,7 +17,7 @@ license=('GPL')
|
||||
arch=('i686' 'x86_64')
|
||||
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
|
||||
'rdesktop-send_physical_buttons.diff' 'rdesktop-libao.patch')
|
||||
md5sums=('77fa93b21aa38837a85e81c00e757228'
|
||||
md5sums=('c4b39115951c4a6d74f511c99b18fcf9'
|
||||
'880d3aeac67b901e6bf44d1323374768'
|
||||
'bd2c9bc68bddcc2652c668753d787df7')
|
||||
|
||||
|
19
sdl/PKGBUILD
19
sdl/PKGBUILD
@ -5,31 +5,28 @@
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
pkgname=sdl
|
||||
pkgver=1.2.14
|
||||
pkgrel=2
|
||||
pkgver=1.2.15
|
||||
pkgrel=1
|
||||
pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.libsdl.org"
|
||||
license=('LGPL')
|
||||
depends=('glibc' 'libxext' 'libxrender' 'libx11')
|
||||
makedepends=('alsa-lib' 'esound' 'mesa')
|
||||
makedepends=('alsa-lib' 'mesa' 'libpulse')
|
||||
options=('!libtool')
|
||||
source=(http://www.libsdl.org/release/SDL-${pkgver}.tar.gz
|
||||
sdl-1.2.14-joystick-crash.diff
|
||||
sdl-1.2.14-fix-mouse-clicking.patch
|
||||
sdl-1.2.14-fix-disappearing-cursor.patch)
|
||||
md5sums=('e52086d1b508fa0b76c52ee30b55bec4'
|
||||
'9d8890b3817736a5d365f7497f096634'
|
||||
sdl-1.2.14-disable-mmx.patch)
|
||||
md5sums=('9d96df8417572a2afb781a7c4c811a85'
|
||||
'd79137e6bdadf21ff2f716590e9709ac'
|
||||
'a6cf3e71b653aa97d0d8ae6c0a789807')
|
||||
'a19dabb85729fab36f2662e9e273a4d9')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/SDL-${pkgver}
|
||||
patch -Np1 -i $srcdir/sdl-1.2.14-joystick-crash.diff
|
||||
patch -Np1 -i $srcdir/sdl-1.2.14-fix-mouse-clicking.patch
|
||||
patch -Np1 -i $srcdir/sdl-1.2.14-fix-disappearing-cursor.patch
|
||||
patch -Np1 -i $srcdir/sdl-1.2.14-disable-mmx.patch
|
||||
./configure --prefix=/usr --disable-nasm --enable-alsa --enable-esd \
|
||||
--with-x --disable-rpath
|
||||
--with-x --disable-rpath --disable-static
|
||||
make
|
||||
}
|
||||
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff -Naur SDL-1.2.13-old/configure SDL-1.2.13/configure
|
||||
--- SDL-1.2.13-old/configure 2007-12-31 15:09:39.000000000 +1000
|
||||
+++ SDL-1.2.13/configure 2008-10-20 22:22:36.000000000 +1000
|
||||
@@ -25382,7 +25382,7 @@
|
||||
enable_esd_shared=yes
|
||||
fi
|
||||
|
||||
- esd_lib_spec=`echo $ESD_LIBS | sed 's/.*-L\([^ ]*\).*/\1\/libesd.so.*/'`
|
||||
+ esd_lib_spec="/usr/lib/libesd.so.*"
|
||||
esd_lib=`ls -- $esd_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`
|
||||
echo "-- $esd_lib_spec -> $esd_lib"
|
||||
|
13
sdl/sdl-1.2.14-disable-mmx.patch
Normal file
13
sdl/sdl-1.2.14-disable-mmx.patch
Normal file
@ -0,0 +1,13 @@
|
||||
# and another one from FS#26020
|
||||
|
||||
--- a/src/video/SDL_yuv_sw.c 2009-10-13 06:07:15.000000000 +0700
|
||||
+++ b/src/video/SDL_yuv_sw.c 2011-09-20 19:26:30.247742620 +0700
|
||||
@@ -89,6 +89,8 @@
|
||||
#include "SDL_yuvfuncs.h"
|
||||
#include "SDL_yuv_sw_c.h"
|
||||
|
||||
+#undef __OPTIMIZE__
|
||||
+
|
||||
/* The functions used to manipulate software video overlays */
|
||||
static struct private_yuvhwfuncs sw_yuvfuncs = {
|
||||
SDL_LockYUV_SW,
|
@ -1,17 +0,0 @@
|
||||
Index: SDL-1.2.14/src/video/x11/SDL_x11events.c
|
||||
===================================================================
|
||||
--- SDL-1.2.14.orig/src/video/x11/SDL_x11events.c 2010-04-30 09:16:35.000000000 -0400
|
||||
+++ SDL-1.2.14/src/video/x11/SDL_x11events.c 2010-04-30 09:16:35.000000000 -0400
|
||||
@@ -444,8 +444,10 @@
|
||||
if ( xevent.xcrossing.mode == NotifyUngrab )
|
||||
printf("Mode: NotifyUngrab\n");
|
||||
#endif
|
||||
- if ( xevent.xcrossing.detail != NotifyInferior ) {
|
||||
- if ( this->input_grab == SDL_GRAB_OFF ) {
|
||||
+ if ( (xevent.xcrossing.mode != NotifyGrab) &&
|
||||
+ (xevent.xcrossing.mode != NotifyUngrab) &&
|
||||
+ (xevent.xcrossing.detail != NotifyInferior) ) {
|
||||
+ if ( this->input_grab == SDL_GRAB_OFF ) {
|
||||
posted = SDL_PrivateAppActive(0, SDL_APPMOUSEFOCUS);
|
||||
} else {
|
||||
posted = SDL_PrivateMouseMotion(0, 0,
|
@ -1,14 +0,0 @@
|
||||
Description: Fix crash with joystick detection.
|
||||
Index: libsdl1.2-1.2.14/src/joystick/linux/SDL_sysjoystick.c
|
||||
===================================================================
|
||||
--- libsdl1.2-1.2.14.orig/src/joystick/linux/SDL_sysjoystick.c 2010-01-12 12:37:36.000000000 -0500
|
||||
+++ libsdl1.2-1.2.14/src/joystick/linux/SDL_sysjoystick.c 2010-01-12 12:38:27.000000000 -0500
|
||||
@@ -700,7 +700,7 @@
|
||||
continue;
|
||||
}
|
||||
if ( test_bit(i, absbit) ) {
|
||||
- int values[5];
|
||||
+ int values[6];
|
||||
|
||||
if ( ioctl(fd, EVIOCGABS(i), values) < 0 )
|
||||
continue;
|
@ -4,34 +4,35 @@
|
||||
# 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=sdl_mixer
|
||||
pkgver=1.2.11
|
||||
pkgrel=4
|
||||
pkgver=1.2.12
|
||||
pkgrel=1
|
||||
pkgdesc="A simple multi-channel audio mixer"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.libsdl.org/projects/SDL_mixer/"
|
||||
license=('LGPL' 'GPL')
|
||||
depends=('sdl' 'libvorbis' 'libmikmod' 'smpeg')
|
||||
license=('custom')
|
||||
depends=('sdl>=1.2.12' 'libvorbis' 'libmikmod' 'smpeg')
|
||||
makedepends=('fluidsynth')
|
||||
optdepends=('fluidsynth: MIDI software synth, replaces built-in timidity')
|
||||
options=('!libtool')
|
||||
source=(http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${pkgver}.tar.gz)
|
||||
md5sums=('65ada3d997fe85109191a5fb083f248c')
|
||||
source=(http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-$pkgver.tar.gz)
|
||||
md5sums=('e03ff73d77a55e3572ad0217131dc4a1')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/SDL_mixer-${pkgver}
|
||||
cd "$srcdir/SDL_mixer-$pkgver"
|
||||
|
||||
sed -e "/CONFIG_FILE_ETC/s/\/etc\/timidity.cfg/\/etc\/timidity++\/timidity.cfg/" \
|
||||
-e "/DEFAULT_PATH/s/\/etc\/timidity/\/etc\/timidity++/" \
|
||||
-e "/DEFAULT_PATH2/s/\/usr\/local\/lib\/timidity/\/usr\/lib\/timidity/" \
|
||||
sed -e "/CONFIG_FILE_ETC/s|/etc/timidity.cfg|/etc/timidity++/timidity.cfg|" \
|
||||
-e "/DEFAULT_PATH/s|/etc/timidity|/etc/timidity++|" \
|
||||
-e "/DEFAULT_PATH2/s|/usr/local/lib/timidity|/usr/lib/timidity|" \
|
||||
-i timidity/config.h
|
||||
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
./configure --prefix=/usr --disable-static
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/SDL_mixer-${pkgver}
|
||||
make DESTDIR=${pkgdir} install
|
||||
cd "$srcdir/SDL_mixer-$pkgver"
|
||||
make DESTDIR="$pkgdir" install
|
||||
|
||||
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=sdl_sound
|
||||
pkgver=1.0.3
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="A library to decode several popular sound file formats, such as .WAV and .MP3"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://icculus.org/SDL_sound/"
|
||||
|
@ -10,7 +10,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=sox
|
||||
pkgver=14.3.2
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="The Swiss Army knife of sound processing tools"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://sox.sourceforge.net/"
|
||||
|
@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=speex
|
||||
pkgver=1.2rc1
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="A free codec for free speech"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('BSD')
|
||||
|
@ -9,35 +9,32 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=timidity++
|
||||
pkgver=2.13.2
|
||||
pkgrel=12
|
||||
pkgrel=13
|
||||
pkgdesc="A MIDI to WAVE converter and player"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://timidity.sourceforge.net"
|
||||
license=('GPL')
|
||||
depends=('libao' 'libvorbis' 'jack' 'ncurses')
|
||||
makedepends=('tk' 'libxaw')
|
||||
optdepends=('gtk2: for using the GTK+ interface' 'tk: for using the Tk interface' \
|
||||
'xaw3d: for using the Xaw interface')
|
||||
optdepends=('xaw3d: for using the Xaw interface')
|
||||
backup=('etc/timidity++/timidity.cfg')
|
||||
source=(http://downloads.sourceforge.net/timidity/TiMidity++-${pkgver}.tar.bz2 \
|
||||
timidity.cfg timidity++.sh 2.13.2-gcc4.patch TiMidity++-2.13.2+flac-1.1.3.patch \
|
||||
timidity++-2.13.2-exiterror.patch timidity++-2.13.2-gtk26.patch \
|
||||
timidity++-2.13.2-polling.patch)
|
||||
timidity++-2.13.2-exiterror.patch timidity++-2.13.2-polling.patch)
|
||||
md5sums=('a82ceeb2245e22f4de2b41da21eaee32' '3fcc8f065c959205113fa7e9ab2be3c6'\
|
||||
'35606c12af9c6be9361d64fc536f046f' '0868926c5290817cacb9a1849bc043c2'\
|
||||
'fcbd27ff83066f69a3f8bd2442a3b3e2' '31bdaea612f18e2c3d45a8a73ab44c81'\
|
||||
'16a4adec164836d4390dc6b0f9a69ce9' '3f0034ead451cdd1078868e9e9b0494c')
|
||||
'3f0034ead451cdd1078868e9e9b0494c')
|
||||
sha1sums=('8e603146e1164335303a5ac5dff291f369241b4e' '660b3afbb720d26e8f008034cee66dd8da082d6e'\
|
||||
'9f3e732a7ca1e97119a76df62ecf154df04d4f77' '8d50618a2379c078b07e8d0fc59457855c16106c'\
|
||||
'59b0dbe3cde8f7b41d83676d8c37809255d3fb36' '7cd697b4f7cb1ce45cec46c2e0f6e5e8bf1d9d60'\
|
||||
'ce115e84d99708f0bdb5b57bd98b0c3514fa2bf4' '6abaedaecdecabf9dc76c062f7157571aed53984')
|
||||
'6abaedaecdecabf9dc76c062f7157571aed53984')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/TiMidity++-${pkgver}"
|
||||
patch -p1 < ../2.13.2-gcc4.patch
|
||||
patch -p1 < ../TiMidity++-2.13.2+flac-1.1.3.patch
|
||||
patch -p1 < ../timidity++-2.13.2-exiterror.patch
|
||||
patch -p0 < ../timidity++-2.13.2-gtk26.patch
|
||||
patch -p0 < ../timidity++-2.13.2-polling.patch
|
||||
sed -i 's/tcl8.4/tcl8.5/' configure
|
||||
sed -i 's/tk8.4/tk8.5/' configure
|
||||
@ -46,7 +43,7 @@ build() {
|
||||
--enable-server --enable-alsaseq --enable-spectrogram \
|
||||
--enable-audio=alsa,oss,ao,vorbis,flac,esd,jack \
|
||||
--enable-dynamic=ncurses,tcltk,vt100,xaw, \
|
||||
--disable-gtktest
|
||||
--disable-gtktest --disable-gtk
|
||||
make
|
||||
}
|
||||
|
||||
|
@ -1,19 +0,0 @@
|
||||
--- interface/gtk_i.c 2004/12/21 16:59:33 1.1
|
||||
+++ interface/gtk_i.c 2004/12/21 16:59:41
|
||||
@@ -365,6 +365,7 @@ void
|
||||
Launch_Gtk_Process(int pipe_number)
|
||||
{
|
||||
int argc = 0;
|
||||
+ gchar **argv = NULL;
|
||||
GtkWidget *button, *mbar, *swin;
|
||||
GtkWidget *table, *align, *handlebox;
|
||||
GtkWidget *vbox, *hbox, *vbox2, *scrolled_win;
|
||||
@@ -373,7 +374,7 @@ Launch_Gtk_Process(int pipe_number)
|
||||
/* enable locale */
|
||||
gtk_set_locale ();
|
||||
|
||||
- gtk_init (&argc, NULL);
|
||||
+ gtk_init (&argc, &argv);
|
||||
|
||||
ttip = create_yellow_tooltips();
|
||||
window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
|
@ -1,67 +1,46 @@
|
||||
#
|
||||
# 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>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
# $Id$
|
||||
# Maintainer:
|
||||
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
|
||||
# Contributor: roberto <roberto@archlinux.org>
|
||||
|
||||
pkgname=transcode
|
||||
_sripver=0.3-4
|
||||
pkgver=1.1.5
|
||||
pkgrel=7
|
||||
pkgdesc="A video/DVD ripper and encoder for the terminal/console."
|
||||
pkgver=1.1.7
|
||||
pkgrel=1
|
||||
pkgdesc="A video/DVD ripper and encoder for the terminal/console"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://tcforge.berlios.de/"
|
||||
license=('GPL')
|
||||
depends=('gawk' 'imagemagick' 'lzo2' 'libdv' 'libdvdread' 'ffmpeg>=0.8.9' 'mjpegtools'
|
||||
depends=('gawk' 'imagemagick' 'lzo2' 'libdvdread' 'ffmpeg' 'mjpegtools'
|
||||
'libmpeg2' 'libxaw' 'libxml2' 'libxv' 'a52dec')
|
||||
makedepends=('nasm' 'pkgconfig')
|
||||
options=('!libtool' '!makeflags')
|
||||
source=(http://download2.berlios.de/tcforge/${pkgname}-${pkgver}.tar.bz2
|
||||
makedepends=('nasm')
|
||||
options=('!libtool')
|
||||
source=(https://bitbucket.org/france/transcode-tcforge/downloads/${pkgname}-${pkgver}.tar.bz2
|
||||
http://downloads.sourceforge.net/sourceforge/subtitleripper/subtitleripper-${_sripver}.tgz
|
||||
transcode-1.1.5-jpeg-7.patch transcode-1.1.5-mpa.patch transcode-1.1.5-ffmpeg.patch)
|
||||
md5sums=('41ac6b1c0fe30f3aab286e771fc31b9e'
|
||||
'c0bd49a88f667c68c4430ad25bbed510'
|
||||
'af4056b7530a6f147594f676849e7c7b'
|
||||
'c299cfc6c4be6a5512d1a129f04e5450'
|
||||
'ed2c3b7471ad3e94d44c3d3ea4348e1c')
|
||||
subtitleripper-0.3.4-linkingorder.patch subtitleripper-0.3.4-respect-ldflags.patch
|
||||
ffmpeg-0.10.patch)
|
||||
sha1sums=('e35df68b960eb56ef0a59a4cdbed1491be56aee6'
|
||||
'd93ff3578dd5f722c8f4ef16bc0903eec5781a0d'
|
||||
'fa05aa1770d9350d90b7cf315aa7c4a1fd921ac7'
|
||||
'591943a33235342a66c3df0625a164a1479c09ae'
|
||||
'3c03111cfae88db918afff3837cec7db32ace3cc')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
patch -p0 < ../transcode-1.1.5-jpeg-7.patch
|
||||
patch -p1 < ../transcode-1.1.5-mpa.patch
|
||||
patch -p1 < ../transcode-1.1.5-ffmpeg.patch
|
||||
|
||||
# building from here
|
||||
patch -Np1 -i "${srcdir}/ffmpeg-0.10.patch"
|
||||
./configure --prefix=/usr \
|
||||
--enable-sse=no --enable-sse2=no --enable-altivec=no --enable-mmx \
|
||||
--disable-sse --disable-sse2 --disable-altivec --enable-mmx \
|
||||
--enable-lame --enable-ogg --enable-vorbis --enable-theora \
|
||||
--enable-libdv --enable-libxml2 --enable-v4l \
|
||||
--enable-imagemagick --enable-libjpeg --enable-lzo --enable-mjpegtools \
|
||||
--enable-sdl --enable-freetype2 --enable-a52 --enable-libpostproc \
|
||||
--enable-xvid --enable-x264 --enable-alsa \
|
||||
--enable-libmpeg2 --enable-libmpeg2convert \
|
||||
--with-libxml2-prefix=/usr \
|
||||
--with-mjpegtools-prefix=/usr \
|
||||
--with-imagemagick-prefix=/usr \
|
||||
--with-libdv-includes=/usr \
|
||||
--with-libpostproc-includes=/usr/include/libpostproc \
|
||||
--with-ogg-prefix=/usr \
|
||||
--with-lame-libs=/usr \
|
||||
--with-lzo-libs=/usr/lib \
|
||||
--with-libavcodec-prefix=/usr \
|
||||
--with-libavcodec-includes=/usr/include \
|
||||
--with-libavcodec-libs=/usr/lib
|
||||
--enable-xvid --enable-x264 --enable-alsa --enable-libmpeg2 --enable-libmpeg2convert
|
||||
make
|
||||
|
||||
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
|
||||
cd "${srcdir}/subtitleripper"
|
||||
patch -p1 -i "${srcdir}/subtitleripper-0.3.4-linkingorder.patch"
|
||||
patch -p1 -i "${srcdir}/subtitleripper-0.3.4-respect-ldflags.patch"
|
||||
sed -e 's|^\(.*lppm.*\)$|#\1|' \
|
||||
-e 's|^\(.*D_HAVE_LIB_PPM.*\)$|#\1|' \
|
||||
-e 's/DEFINES :=/DEFINES = -DHAVE_GETLINE/' \
|
||||
@ -73,7 +52,7 @@ package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
cd contrib/subrip
|
||||
cd "${srcdir}/subtitleripper"
|
||||
install -m 755 pgm2txt "${pkgdir}/usr/bin/"
|
||||
install -m 755 srttool "${pkgdir}/usr/bin/"
|
||||
install -m 755 subtitle2pgm "${pkgdir}/usr/bin/"
|
||||
|
14
transcode/ffmpeg-0.10.patch
Normal file
14
transcode/ffmpeg-0.10.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff -Nur transcode-1.1.7.orig/filter/filter_pp.c transcode-1.1.7/filter/filter_pp.c
|
||||
--- transcode-1.1.7.orig/filter/filter_pp.c 2012-01-27 19:55:13.706613234 +0000
|
||||
+++ transcode-1.1.7/filter/filter_pp.c 2012-01-27 19:56:04.719541629 +0000
|
||||
@@ -38,8 +38,8 @@
|
||||
|
||||
/* FIXME: these use the filter ID as an index--the ID can grow
|
||||
* arbitrarily large, so this needs to be fixed */
|
||||
-static pp_mode_t *mode[100];
|
||||
-static pp_context_t *context[100];
|
||||
+static pp_mode *mode[100];
|
||||
+static pp_context *context[100];
|
||||
static int width[100], height[100];
|
||||
static int pre[100];
|
||||
|
28
transcode/subtitleripper-0.3.4-linkingorder.patch
Normal file
28
transcode/subtitleripper-0.3.4-linkingorder.patch
Normal file
@ -0,0 +1,28 @@
|
||||
Index: subtitleripper/Makefile
|
||||
===================================================================
|
||||
--- subtitleripper.orig/Makefile
|
||||
+++ subtitleripper/Makefile
|
||||
@@ -70,19 +70,19 @@ vobsub2pgm.o: vobsub2pgm.c vobsub.h spud
|
||||
# Target
|
||||
subtitle2pgm: subtitle2pgm.o spudec.o
|
||||
@echo "Linking $@"
|
||||
- @$(CC) $(LIBS) $^ -o $@
|
||||
+ @$(CC) $^ -o $@ $(LIBS)
|
||||
|
||||
subtitle2vobsub: subtitle2vobsub.o vobsub.o
|
||||
@echo "Linking $@"
|
||||
- @$(CC) $(LIBS) $^ -o $@
|
||||
+ @$(CC) $^ -o $@ $(LIBS)
|
||||
|
||||
srttool: srttool.o
|
||||
@echo "Linking $@"
|
||||
- @$(CC) $(LIBS) -g $^ -o $@
|
||||
+ @$(CC) -g $^ -o $@ $(LIBS)
|
||||
|
||||
vobsub2pgm: vobsub2pgm.o vobsub.o spudec.o
|
||||
@echo "Linking $@"
|
||||
- @$(CC) $(LIBS) -g $^ -o $@
|
||||
+ @$(CC) -g $^ -o $@ $(LIBS)
|
||||
|
||||
.PHONY: clean dist rpm
|
||||
clean:
|
28
transcode/subtitleripper-0.3.4-respect-ldflags.patch
Normal file
28
transcode/subtitleripper-0.3.4-respect-ldflags.patch
Normal file
@ -0,0 +1,28 @@
|
||||
Index: subtitleripper/Makefile
|
||||
===================================================================
|
||||
--- subtitleripper.orig/Makefile
|
||||
+++ subtitleripper/Makefile
|
||||
@@ -70,19 +70,19 @@ vobsub2pgm.o: vobsub2pgm.c vobsub.h spud
|
||||
# Target
|
||||
subtitle2pgm: subtitle2pgm.o spudec.o
|
||||
@echo "Linking $@"
|
||||
- @$(CC) $^ -o $@ $(LIBS)
|
||||
+ @$(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
|
||||
|
||||
subtitle2vobsub: subtitle2vobsub.o vobsub.o
|
||||
@echo "Linking $@"
|
||||
- @$(CC) $^ -o $@ $(LIBS)
|
||||
+ @$(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
|
||||
|
||||
srttool: srttool.o
|
||||
@echo "Linking $@"
|
||||
- @$(CC) -g $^ -o $@ $(LIBS)
|
||||
+ @$(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
|
||||
|
||||
vobsub2pgm: vobsub2pgm.o vobsub.o spudec.o
|
||||
@echo "Linking $@"
|
||||
- @$(CC) -g $^ -o $@ $(LIBS)
|
||||
+ @$(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
|
||||
|
||||
.PHONY: clean dist rpm
|
||||
clean:
|
@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname='vlc'
|
||||
pkgver=1.1.13
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.videolan.org/vlc/"
|
||||
license=('GPL')
|
||||
|
@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=vorbis-tools
|
||||
pkgver=1.4.0
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="Extra tools for Ogg-Vorbis"
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://www.xiph.org/vorbis/'
|
||||
|
@ -5,7 +5,7 @@
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
pkgname=x264
|
||||
pkgver=20111108
|
||||
pkgver=20120204
|
||||
pkgrel=1
|
||||
pkgdesc="free library for encoding H264/AVC video streams"
|
||||
arch=('i686' 'x86_64')
|
||||
@ -13,20 +13,22 @@ url="http://www.videolan.org/developers/x264.html"
|
||||
license=('GPL')
|
||||
depends=('glibc')
|
||||
makedepends=('yasm')
|
||||
source=(ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-$pkgver-2245.tar.bz2)
|
||||
md5sums=('e799880483da6ae18e9a8a9f2ddb1a39')
|
||||
source=(ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-$pkgver-2245-stable.tar.bz2)
|
||||
md5sums=('4d793ecc4f9d308724ea47edf400f312')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-snapshot-$pkgver-2245"
|
||||
cd "$srcdir/$pkgname-snapshot-$pkgver-2245-stable"
|
||||
|
||||
./configure --enable-shared
|
||||
|
||||
make
|
||||
}
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-snapshot-$pkgver-2245-stable"
|
||||
|
||||
make DESTDIR="$pkgdir" \
|
||||
bindir=/usr/bin \
|
||||
libdir=/usr/lib \
|
||||
includedir=/usr/include \
|
||||
install
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
}
|
@ -4,41 +4,40 @@
|
||||
# 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=xine-lib
|
||||
pkgver=1.1.20.1
|
||||
pkgver=1.2.1
|
||||
pkgrel=1
|
||||
pkgdesc="A multimedia playback engine"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.xine-project.org"
|
||||
license=('LGPL' 'GPL')
|
||||
depends=('libgl' 'libxvmc' 'flac' 'ffmpeg' 'libxinerama' 'libmodplug')
|
||||
makedepends=('wavpack' 'faad2' 'libmng' 'imagemagick' 'smbclient' 'mesa'
|
||||
'v4l-utils' 'vcdimager' 'jack' 'libpulse' 'speex' 'aalib')
|
||||
depends=('libxvmc' 'ffmpeg' 'libxinerama')
|
||||
makedepends=('wavpack' 'faad2' 'libmng' 'imagemagick' 'mesa' 'libmodplug'
|
||||
'vcdimager' 'jack' 'aalib' 'libdca' 'a52dec' 'libmad'
|
||||
'libmpcdec' 'libcaca' 'libbluray' 'libvdpau')
|
||||
optdepends=('imagemagick: for using the imagemagick plugin' \
|
||||
'smbclient: for using the smb plugin' \
|
||||
'jack: for using the jack plugin' \
|
||||
'vcdimager: for using the vcd plugin' \
|
||||
'mesa: for using the opengl plugin' \
|
||||
'libpulse: for using the pulseaudio plugin' \
|
||||
'speex: for using the speex plugin' \
|
||||
'v4l-utils: for using the v4l plugin' \
|
||||
'wavpack: for using the wavpack plugin' \
|
||||
'faad2: for using the faad plugin' \
|
||||
'libmng: for using the mng plugin' \
|
||||
'aalib: for using the aalib plugin')
|
||||
'aalib: for using the aalib plugin' \
|
||||
'libmodplug: for using the modplug plugin' \
|
||||
'libdca: for using the dca plugin' \
|
||||
'a52dec: for using the a52 plugin' \
|
||||
'libmad: for using the mp3 plugin' \
|
||||
'libmpcdec: for using the musepack plugin' \
|
||||
'libcaca: for using the caca plugin' \
|
||||
'libbluray: for using the bluray plugin' \
|
||||
'libvdpau: for using the VDPAU plugin')
|
||||
options=('!libtool')
|
||||
source=(http://downloads.sourceforge.net/sourceforge/xine/${pkgname}-${pkgver}.tar.xz)
|
||||
sha1sums=('577537bf3aa50a708c7e487e4804ae3c1f803796')
|
||||
sha1sums=('ebb2648456504ff4ce08c34de258d3125832bb94')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
sed -i 's|linux/videodev.h|libv4l1-videodev.h|' \
|
||||
configure.ac src/input/input_v4l.c src/video_out/video_out_syncfb.h
|
||||
./configure --prefix=/usr --with-wavpack --with-external-ffmpeg --with-external-libfaad \
|
||||
--disable-gnomevfs --disable-optimizations
|
||||
./configure --prefix=/usr --with-wavpack --enable-vdpau --disable-optimizations
|
||||
make
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user