Commit ec1c0313 authored by Timo Teräs's avatar Timo Teräs

main/[various]: update config.sub

parent f90a26bb
......@@ -55,6 +55,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
......
......@@ -18,7 +18,7 @@ source="http://distfiles.audacious-media-player.org/$pkgname-$pkgver.tar.bz2
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch)
......
......@@ -20,6 +20,7 @@ _builddir="$srcdir"/audacity-src-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -22,6 +22,7 @@ _builddir="$srcdir"/CEGUI-0.6.2
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -15,7 +15,14 @@ subpackages="$pkgname-doc"
source="http://darkice.googlecode.com/files/$pkgname-$pkgver.tar.gz
darkice.initd
darkice.confd"
_builddir=$srcdir/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
......
......@@ -18,6 +18,7 @@ _builddir="$srcdir"/farstream-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -21,6 +21,7 @@ _builddir="$srcdir"/farstream-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -27,6 +27,7 @@ _builddir="$srcdir"/$pkgname-server-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
# we dont have libnsl
sed -i 's/nsl, //g' configure.in || return 1
......
......@@ -21,6 +21,7 @@ source="http://www.gnokii.org/download/gnokii/gnokii-$pkgver.tar.bz2
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -20,6 +20,7 @@ source="http://ftp.gnome.org/pub/GNOME/sources/gnome-bluetooth/${pkgver%.*}/gnom
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch)
......
......@@ -42,6 +42,7 @@ _builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -19,6 +19,7 @@ source="http://ftp.gnome.org/pub/GNOME/sources/gnome-disk-utility/${pkgver%.*}/g
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
patch -Np1 -i "$srcdir/fix-freeze.patch"
patch -Np1 -i "$srcdir/exp2.patch"
}
......
......@@ -32,6 +32,7 @@ _builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -41,6 +41,7 @@ _builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -54,6 +54,7 @@ _builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -16,6 +16,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
......
......@@ -12,6 +12,7 @@ source="http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-$pkgver.tar.b
_builddir="$srcdir"/gst-ffmpeg-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -17,8 +17,15 @@ makedepends="gst-plugins-base-dev gstreamer-dev xvidcore-dev bzip2-dev
#'libdca>=0.0.5' 'exempi>=2.1.0' 'jack-audio-connection-kit>=0.116.2' 'musicbrainz>=2.1.5' 'libcdaudio>=0.99.12' 'libmpcdec>=1.2.6' 'mjpegtools>=1.9.0' 'libdvdnav>=4.1.3' 'liblrdf>=0.4.0' 'libofa>=0.9.3')
source="http://gstreamer.freedesktop.org//src/gst-plugins-bad/gst-plugins-bad-$pkgver.tar.bz2"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$srcdir"/gst-plugins-bad-$pkgver
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -34,7 +41,7 @@ build() {
}
package() {
cd "$srcdir"/gst-plugins-bad-$pkgver
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" -name '*.la' -delete
}
......
......@@ -39,6 +39,12 @@ source="http://gstreamer.freedesktop.org//src/gst-plugins-bad/gst-plugins-bad-$p
ldpath="/usr/lib/gstreamer-1.0"
_builddir="$srcdir"/gst-plugins-bad-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
......
......@@ -32,6 +32,7 @@ _builddir="$srcdir"/gst-plugins-base-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
......
......@@ -23,6 +23,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -17,6 +17,7 @@ subpackages="$pkgname-lang"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -28,6 +28,11 @@ ldpath="/usr/lib/gstreamer-1.0"
_builddir="$srcdir"/gst-plugins-ugly-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
......
......@@ -20,6 +20,7 @@ _builddir="$srcdir/$pkgname-$pkgver"
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -20,6 +20,7 @@ source="http://downloads.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz
prepare() {
cd "$srcdir"/$pkgname-$pkgver
update_config_sub || return 1
patch -p1 -i "$srcdir"/conf-change-owner.patch
}
......
......@@ -23,6 +23,7 @@ _builddir="$srcdir"/libdv-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -18,6 +18,7 @@ _builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -18,6 +18,7 @@ _builddir="$srcdir"/libnice-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -17,6 +17,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -19,6 +19,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -19,6 +19,7 @@ _builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1
......
......@@ -19,6 +19,7 @@ _builddir="$srcdir"/mp3splt-gtk-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -20,8 +20,15 @@ source="http://www.musicpd.org/download/mpd/${pkgver%.*}/mpd-$pkgver.tar.xz
mpd.confd
"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -36,7 +43,7 @@ build() {
}
package() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
make DESTDIR="$pkgdir" install
#provide a config that works by default
......
......@@ -15,6 +15,7 @@ source="http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.bz2
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......@@ -22,8 +23,7 @@ prepare() {
done
}
build ()
{
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure \
--build=$CBUILD \
......
......@@ -13,6 +13,12 @@ subpackages="$pkgname-dev libopenobex"
source="http://downloads.sourceforge.net/project/openobex/openobex/$pkgver/openobex-$pkgver-Source.tar.gz"
_builddir="$srcdir"/openobex-$pkgver-Source
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
......
......@@ -19,6 +19,7 @@ _builddir="$srcdir"/pam-pgsql-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -20,6 +20,7 @@ source="http://archive.xfce.org/src/apps/parole/$_branch/parole-$pkgver.tar.bz2"
prepare() {
cd "$srcdir"/$pkgname-$pkgver
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -20,6 +20,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -16,6 +16,7 @@ _builddir="$srcdir/$pkgname-$pkgver"
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -20,6 +20,7 @@ source="http://downloads.sourceforge.net/pidgin/pidgin-$pkgver.tar.bz2
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case "$i" in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -29,12 +29,15 @@ replaces="poppler-glib"
depends_dev="$makedepends"
source="http://poppler.freedesktop.org/poppler-$pkgver.tar.gz"
_builddir="$srcdir/$_realname-$pkgver"
prepare() {
return 0
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$srcdir"/$_realname-$pkgver
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -54,7 +57,7 @@ build() {
}
package() {
cd "$srcdir"/$_realname-$pkgver
cd "$_builddir"
install -D -m644 poppler-qt4.pc "$pkgdir"/usr/lib/pkgconfig/poppler-qt4.pc
cd qt4
make DESTDIR="$pkgdir" install || return 1
......
......@@ -18,6 +18,7 @@ _builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -20,6 +20,7 @@ source="http://downloads.sourceforge.net/recordmydesktop/recordmydesktop-$pkgver
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -18,6 +18,7 @@ _builddir="$srcdir"/rest-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -18,6 +18,7 @@ _builddir="$srcdir"/SDL_image-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -17,6 +17,7 @@ _builddir="$srcdir"/SDL_mixer-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
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/" \
......
......@@ -17,6 +17,7 @@ source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.t
prepare() {
cd "$srcdir"/$pkgname-$pkgver
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -14,9 +14,15 @@ depends_dev="glib-dev liboil-dev cairo-dev pango-dev gtk+-dev libsoup-dev
gstreamer-dev gst-plugins-base-dev alsa-lib-dev"
source="http://$pkgname.freedesktop.org/download/$pkgname/0.8/$pkgname-$pkgver.tar.gz"
build ()
{
cd "$srcdir"/$pkgname-$pkgver
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -31,7 +37,7 @@ build ()
}
package() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" -name '*.la' -delete
}
......
......@@ -21,6 +21,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -18,6 +18,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
return 0
}
......
......@@ -18,6 +18,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
return 0
}
......
......@@ -55,6 +55,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case "$i" in
*.patch)
......
......@@ -19,6 +19,7 @@ _builddir="$srcdir"/wxPython-src-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -17,6 +17,7 @@ source="http://archive.xfce.org/src/apps/xfburn/${pkgver%.*}/xfburn-$pkgver.tar.
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -14,8 +14,15 @@ subpackages="$pkgname-lang"
source="http://archive.xfce.org/src/apps/xfce4-mixer/${pkgver%.*}/xfce4-mixer-$pkgver.tar.bz2
"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -30,7 +37,7 @@ build() {
}
package() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" -name '*.la' -delete
}
......
......@@ -17,6 +17,7 @@ source="http://archive.xfce.org/src/apps/xfce4-screenshooter/${pkgver%.*}/xfce4-
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -21,6 +21,7 @@ _confdir=/usr/share/xscreensaver/config
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -16,16 +16,23 @@ source="http://downloads.sourceforge.net/sourceforge/$pkgname/${pkgname}151src.t
zsnes-libpng15.patch
zsnes_icon.png"
build() {
cd "$srcdir"/${pkgname}_${pkgver%.*}_${pkgver#*.}
_builddir="$srcdir/${pkgname}_${pkgver%.*}_${pkgver#*.}"
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
cd "$srcdir"/${pkgname}_${pkgver%.*}_${pkgver#*.}/src
aclocal && autoconf || return 1
cd "$_builddir"/src
aclocal && autoconf || return 1
}
build() {
cd "$_builddir"/src
export GCC_SPECS=hardenednopie.specs
LDFLAGS="$LDFLAGS -fno-PIE"
./configure \
......@@ -42,7 +49,7 @@ build() {
}
package() {
cd "$srcdir"/${pkgname}_${pkgver%.*}_${pkgver#*.}/src
cd "$_builddir"/src
make DESTDIR="$pkgdir" install
install -Dm644 "$srcdir"/zsnes.desktop \
"$pkgdir"/usr/share/applications/zsnes.desktop
......
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