mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv into openelec-3.2
Conflicts: packages/mediacenter/xbmc/patches/12.2-ad84e88/todo/xbmc-990.26.01-PR2890.patch packages/mediacenter/xbmc/patches/12.2-ad84e88/todo/xbmc-990.26.02-PR2890.patch packages/mediacenter/xbmc/patches/12.2-ad84e88/todo/xbmc-990.26.03-PR2890.patch packages/mediacenter/xbmc/patches/12.2-ad84e88/todo/xbmc-990.26.04-PR2890.patch packages/tools/bcm2835-bootloader/package.mk
This commit is contained in:
commit
40b4df7067
@ -328,7 +328,7 @@ show_config() {
|
|||||||
config_message="$config_message\n - XBMC Airtunes support:\t\t $AIRTUNES_SUPPORT"
|
config_message="$config_message\n - XBMC Airtunes support:\t\t $AIRTUNES_SUPPORT"
|
||||||
config_message="$config_message\n - XBMC AFP support:\t\t\t $AFP_SUPPORT"
|
config_message="$config_message\n - XBMC AFP support:\t\t\t $AFP_SUPPORT"
|
||||||
config_message="$config_message\n - XBMC NFS support:\t\t\t $NFS_SUPPORT"
|
config_message="$config_message\n - XBMC NFS support:\t\t\t $NFS_SUPPORT"
|
||||||
config_message="$config_message\n - XBMC SAMBA client support:\t\t $SAMBA_CLIENT"
|
config_message="$config_message\n - XBMC SAMBA client support:\t\t $SAMBA_SUPPORT"
|
||||||
config_message="$config_message\n - XBMC Webserver support:\t\t $WEBSERVER"
|
config_message="$config_message\n - XBMC Webserver support:\t\t $WEBSERVER"
|
||||||
|
|
||||||
# OS configuration
|
# OS configuration
|
||||||
|
31
config/path
31
config/path
@ -32,6 +32,10 @@ TARGET_PREFIX=$ROOT/$TOOLCHAIN/bin/$TARGET_NAME-
|
|||||||
|
|
||||||
FAKEROOT_SCRIPT=$ROOT/.fakeroot.$PROJECT.$TARGET_ARCH
|
FAKEROOT_SCRIPT=$ROOT/.fakeroot.$PROJECT.$TARGET_ARCH
|
||||||
|
|
||||||
|
if [ -z "$INSTALL" ]; then
|
||||||
|
INSTALL=$BUILD/image/system
|
||||||
|
fi
|
||||||
|
|
||||||
. config/sources
|
. config/sources
|
||||||
|
|
||||||
MAKE="$ROOT/$TOOLCHAIN/bin/make"
|
MAKE="$ROOT/$TOOLCHAIN/bin/make"
|
||||||
@ -56,14 +60,14 @@ SED="sed -i"
|
|||||||
|
|
||||||
if [ -n "$1" ]; then
|
if [ -n "$1" ]; then
|
||||||
FOUND=0
|
FOUND=0
|
||||||
for DIR in `find $PACKAGES -type d -name $1 ! -wholename \*\/source\/\* 2>/dev/null` ; do
|
for DIR in $ROOT/`find $PACKAGES -type d -name $(echo $1| awk -F : '{print $1}') ! -wholename \*\/source\/\* 2>/dev/null` ; do
|
||||||
# keep track of dirs with meta for debugging
|
# keep track of dirs with meta for debugging
|
||||||
if [ -z "$ALL_DIRS" ] ; then
|
if [ -z "$ALL_DIRS" ] ; then
|
||||||
ALL_DIRS="$DIR"
|
ALL_DIRS="$DIR"
|
||||||
else
|
else
|
||||||
ALL_DIRS="$ALL_DIRS\\n$DIR"
|
ALL_DIRS="$ALL_DIRS\\n$DIR"
|
||||||
fi
|
fi
|
||||||
if [ -f "$DIR/meta" -o -f "$DIR/install" -o -f "$DIR/build" ] ; then
|
if [ -f "$DIR/package.mk" -o -f "$DIR/meta" -o -f "$DIR/install" -o -f "$DIR/build" ] ; then
|
||||||
FOUND=$((FOUND+1))
|
FOUND=$((FOUND+1))
|
||||||
# found first. set $PKG_DIR
|
# found first. set $PKG_DIR
|
||||||
PKG_DIR="$DIR"
|
PKG_DIR="$DIR"
|
||||||
@ -77,13 +81,27 @@ SED="sed -i"
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -r $PKG_DIR/meta ] && . $PKG_DIR/meta
|
if [ -r $PKG_DIR/package.mk ]; then
|
||||||
|
. $PKG_DIR/package.mk
|
||||||
|
elif [ -r $PKG_DIR/meta ]; then
|
||||||
|
. $PKG_DIR/meta
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$PKG_IS_ADDON" = "yes" ] ; then
|
if [ "$PKG_IS_ADDON" = "yes" ] ; then
|
||||||
[ -z $PKG_SECTION ] && PKG_ADDON_ID="$PKG_NAME" || PKG_ADDON_ID="`echo $PKG_SECTION | sed 's,/,.,g'`.$PKG_NAME"
|
[ -z $PKG_SECTION ] && PKG_ADDON_ID="$PKG_NAME" || PKG_ADDON_ID="`echo $PKG_SECTION | sed 's,/,.,g'`.$PKG_NAME"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -d $BUILD/${PKG_NAME}[-_.]${PKG_VERSION} ] && PKG_BUILD=`ls -d $BUILD/${PKG_NAME}[-_.]${PKG_VERSION}`
|
if [ -d "$BUILD/${PKG_NAME}-${PKG_VERSION}" ]; then
|
||||||
[ -d $BUILD/${PKG_NAME}${PKG_VERSION} ] && PKG_BUILD=`ls -d $BUILD/${PKG_NAME}${PKG_VERSION}`
|
PKG_BUILD="$BUILD/${PKG_NAME}-${PKG_VERSION}"
|
||||||
|
elif [ -d "$BUILD/${PKG_NAME}_${PKG_VERSION}" ]; then
|
||||||
|
PKG_BUILD="$BUILD/${PKG_NAME}_${PKG_VERSION}"
|
||||||
|
elif [ -d "$BUILD/${PKG_NAME}.${PKG_VERSION}" ]; then
|
||||||
|
PKG_BUILD="$BUILD/${PKG_NAME}.${PKG_VERSION}"
|
||||||
|
elif [ -d "$BUILD/${PKG_NAME}${PKG_VERSION}" ]; then
|
||||||
|
PKG_BUILD="$BUILD/${PKG_NAME}${PKG_VERSION}"
|
||||||
|
elif [ -d "$BUILD/${PKG_NAME}" ]; then
|
||||||
|
PKG_BUILD="$BUILD/${PKG_NAME}"
|
||||||
|
fi
|
||||||
|
|
||||||
XORG_PATH_DRI=/usr/lib/dri
|
XORG_PATH_DRI=/usr/lib/dri
|
||||||
XORG_PATH_XKB=/usr/share/X11/xkb
|
XORG_PATH_XKB=/usr/share/X11/xkb
|
||||||
@ -161,3 +179,6 @@ else
|
|||||||
exec 4>/dev/null
|
exec 4>/dev/null
|
||||||
fi
|
fi
|
||||||
BUILD_INDENT_SIZE=4
|
BUILD_INDENT_SIZE=4
|
||||||
|
|
||||||
|
# multilib? nah
|
||||||
|
unset CONFIG_SITE
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
3.1.4
|
||||||
|
get tuner id from /var/log/messages
|
||||||
|
3.1.3
|
||||||
|
fixed parsing dvbhdhomerun.log file with timestamp
|
||||||
3.1.2
|
3.1.2
|
||||||
new addon settings option to enable suspend/resume driver actions
|
new addon settings option to enable suspend/resume driver actions
|
||||||
new addon settings option to enable logging
|
new addon settings option to enable logging
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
PKG_NAME="hdhomerun"
|
PKG_NAME="hdhomerun"
|
||||||
PKG_VERSION="3.2"
|
PKG_VERSION="3.2"
|
||||||
PKG_REV="2"
|
PKG_REV="4"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://www.silicondust.com/products/hdhomerun/dvbt/"
|
PKG_SITE="http://www.silicondust.com/products/hdhomerun/dvbt/"
|
||||||
|
@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
import re
|
||||||
|
import subprocess
|
||||||
import shutil
|
import shutil
|
||||||
import xmlpp
|
import xmlpp
|
||||||
from xml.dom import minidom
|
from xml.dom import minidom
|
||||||
@ -47,22 +49,22 @@ def settings_restore(settings_xml):
|
|||||||
def get_devices_hdhomerun(hdhomerun_log):
|
def get_devices_hdhomerun(hdhomerun_log):
|
||||||
tuners = []
|
tuners = []
|
||||||
try:
|
try:
|
||||||
for line in open(hdhomerun_log, 'r'):
|
for line in open('/var/log/messages', 'r'):
|
||||||
|
if line.find('HDHomeRun'):
|
||||||
line = line.strip()
|
line = line.strip()
|
||||||
if line.startswith('Registered tuner'):
|
#Jul 17 19:22:46 user user.info kernel: [ 10.587811] HDHomeRun HDHomeRun.0: DVB: registering adapter 0 frontend 0 (HDHomeRun DVB-C 12345678-0)...
|
||||||
name = line.split(':');
|
match = re.search(r'.*\[.+\] HDHomeRun .+ registering adapter .+ \(HDHomeRun .+ (.+)\).+', line)
|
||||||
name = name[2].strip()
|
if match:
|
||||||
|
name = match.group(1)
|
||||||
tuners.append(name)
|
tuners.append(name)
|
||||||
except IOError:
|
except IOError:
|
||||||
print 'Error reading hdhomerun log file', hdhomerun_log
|
print 'Error reading hdhomerun log file /var/log/messages'
|
||||||
return tuners
|
return tuners
|
||||||
|
|
||||||
"""
|
"""
|
||||||
root ~ # grep "Registered tuner" /var/log/dvbhdhomerun.log
|
root ~ # grep HDHomeRun /var/log/messages
|
||||||
Registered tuner, id from kernel: 0 name: 101ADD2B-0
|
Jul 17 19:22:46 user user.info kernel: [ 10.587811] HDHomeRun HDHomeRun.0: DVB: registering adapter 0 frontend 0 (HDHomeRun DVB-C 12345678-0)...
|
||||||
Registered tuner, id from kernel: 1 name: 101ADD2B-1
|
Jul 17 19:22:46 user user.info kernel: [ 10.588602] HDHomeRun HDHomeRun.1: DVB: registering adapter 1 frontend 0 (HDHomeRun DVB-C 12345678-1)...
|
||||||
Registered tuner, id from kernel: 2 name: 1031D75A-0
|
|
||||||
Registered tuner, id from kernel: 3 name: 1031D75A-1
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
######################################################################################################
|
######################################################################################################
|
||||||
|
@ -1,54 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
# alsa-lib fails building with LTO support
|
|
||||||
strip_lto
|
|
||||||
|
|
||||||
#CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=32 -fPIC -DPIC"
|
|
||||||
CFLAGS="$CFLAGS -fPIC -DPIC"
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
|
|
||||||
./configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--with-plugindir=/usr/lib/alsa \
|
|
||||||
--localstatedir=/var \
|
|
||||||
--disable-static \
|
|
||||||
--enable-shared \
|
|
||||||
--disable-python \
|
|
||||||
--disable-dependency-tracking \
|
|
||||||
|
|
||||||
sed -i 's/.*PKGLIBDIR.*/#define PKGLIBDIR ""/' include/config.h
|
|
||||||
|
|
||||||
$MAKE
|
|
||||||
|
|
||||||
$MAKE -C include DESTDIR=$SYSROOT_PREFIX install-data
|
|
||||||
$MAKE -C src DESTDIR=$SYSROOT_PREFIX install-exec
|
|
||||||
$MAKE -C utils DESTDIR=$SYSROOT_PREFIX install-pkgconfigDATA
|
|
||||||
|
|
||||||
mkdir -p $SYSROOT_PREFIX/usr/share/aclocal
|
|
||||||
cp utils/alsa.m4 $SYSROOT_PREFIX/usr/share/aclocal
|
|
||||||
|
|
@ -1,42 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
add_group audio 63
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
cp -PR $PKG_BUILD/src/.libs/libasound.so* $INSTALL/usr/lib
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib/alsa
|
|
||||||
cp -PR $PKG_BUILD/modules/mixer/simple/.libs/*.so $INSTALL/usr/lib/alsa
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/share/alsa
|
|
||||||
# sed 's%~/\.asoundrc%/storage/\.config/asound.conf%' \
|
|
||||||
# $PKG_BUILD/src/conf/alsa.conf > $INSTALL/usr/share/alsa/alsa.conf
|
|
||||||
cp -P $PKG_BUILD/src/conf/alsa.conf $INSTALL/usr/share/alsa
|
|
||||||
cp -P $PKG_BUILD/src/conf/smixer.conf $INSTALL/usr/share/alsa
|
|
||||||
cp -P $PKG_BUILD/src/conf/*.alisp $INSTALL/usr/share/alsa
|
|
||||||
cp -PR $PKG_BUILD/src/conf/cards $INSTALL/usr/share/alsa/
|
|
||||||
cp -PR $PKG_BUILD/src/conf/pcm $INSTALL/usr/share/alsa/
|
|
||||||
rm -f $INSTALL/usr/share/alsa/cards/Makefile*
|
|
||||||
rm -f $INSTALL/usr/share/alsa/pcm/Makefile*
|
|
@ -1,47 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
if [ "$PULSEAUDIO_SUPPORT" = yes ]; then
|
|
||||||
ALSA_PULSEAUDIO="--enable-pulseaudio"
|
|
||||||
else
|
|
||||||
ALSA_PULSEAUDIO="--disable-pulseaudio"
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
|
|
||||||
./configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--with-plugindir=/usr/lib/alsa \
|
|
||||||
--localstatedir=/var \
|
|
||||||
--disable-static \
|
|
||||||
--enable-shared \
|
|
||||||
--disable-jack \
|
|
||||||
--enable-samplerate \
|
|
||||||
--disable-avcodec \
|
|
||||||
$ALSA_PULSEAUDIO \
|
|
||||||
--with-speex=lib \
|
|
||||||
|
|
||||||
$MAKE
|
|
@ -1,41 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
./configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--localstatedir=/var \
|
|
||||||
--disable-dependency-tracking \
|
|
||||||
--disable-xmlto \
|
|
||||||
--disable-alsamixer \
|
|
||||||
--enable-alsatest \
|
|
||||||
--disable-nls
|
|
||||||
|
|
||||||
make -C amixer
|
|
||||||
make -C alsactl
|
|
||||||
make -C aplay
|
|
||||||
make -C iecset
|
|
||||||
make -C speaker-test
|
|
@ -25,12 +25,45 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://www.alsa-project.org/"
|
PKG_SITE="http://www.alsa-project.org/"
|
||||||
PKG_URL="ftp://ftp.alsa-project.org/pub/lib/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
PKG_URL="ftp://ftp.alsa-project.org/pub/lib/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS="alsa-utils"
|
||||||
PKG_BUILD_DEPENDS="toolchain"
|
PKG_BUILD_DEPENDS_TARGET="toolchain"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="audio"
|
PKG_SECTION="audio"
|
||||||
PKG_SHORTDESC="alsa-lib: Advanced Linux Sound Architecture library"
|
PKG_SHORTDESC="alsa-lib: Advanced Linux Sound Architecture library"
|
||||||
PKG_LONGDESC="ALSA (Advanced Linux Sound Architecture) is the next generation Linux Sound API. It provides much finer (->better) access to the sound hardware, has a unbeatable mixer API and supports stuff like multi channel hardware, digital outs and ins, uninterleaved sound data access, and an oss emulation layer (for the old applications). It is the prefered API for professional sound apps under Linux."
|
PKG_LONGDESC="ALSA (Advanced Linux Sound Architecture) is the next generation Linux Sound API. It provides much finer (->better) access to the sound hardware, has a unbeatable mixer API and supports stuff like multi channel hardware, digital outs and ins, uninterleaved sound data access, and an oss emulation layer (for the old applications). It is the prefered API for professional sound apps under Linux."
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="yes"
|
PKG_AUTORECONF="yes"
|
||||||
|
|
||||||
|
if [ "$PULSEAUDIO_SUPPORT" = yes ]; then
|
||||||
|
PKG_DEPENDS="$PKG_DEPENDS alsa-plugins"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# package specific configure options
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="--with-plugindir=/usr/lib/alsa \
|
||||||
|
--disable-python \
|
||||||
|
--disable-dependency-tracking"
|
||||||
|
|
||||||
|
pre_configure_target() {
|
||||||
|
CFLAGS="$CFLAGS -fPIC -DPIC"
|
||||||
|
|
||||||
|
# alsa-lib fails building with LTO support
|
||||||
|
strip_lto
|
||||||
|
}
|
||||||
|
|
||||||
|
post_configure_target() {
|
||||||
|
sed -i 's/.*PKGLIBDIR.*/#define PKGLIBDIR ""/' include/config.h
|
||||||
|
}
|
||||||
|
|
||||||
|
post_makeinstall_target() {
|
||||||
|
rm -rf $INSTALL/usr/bin
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/etc/modprobe.d
|
||||||
|
cp -PR $PKG_DIR/config/alsa-base.conf $INSTALL/etc/modprobe.d
|
||||||
|
mkdir -p $INSTALL/usr/config
|
||||||
|
cp -PR $PKG_DIR/config/modprobe.d $INSTALL/usr/config
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install_target() {
|
||||||
|
add_group audio 63
|
||||||
|
}
|
@ -25,17 +25,32 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://www.alsa-project.org/"
|
PKG_SITE="http://www.alsa-project.org/"
|
||||||
PKG_URL="ftp://ftp.alsa-project.org/pub/plugins/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
PKG_URL="ftp://ftp.alsa-project.org/pub/plugins/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||||
PKG_DEPENDS="alsa-lib speex"
|
PKG_DEPENDS="speex"
|
||||||
PKG_BUILD_DEPENDS="toolchain alsa-lib speex libsamplerate"
|
PKG_BUILD_DEPENDS_TARGET="toolchain speex libsamplerate"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="audio"
|
PKG_SECTION="audio"
|
||||||
PKG_SHORTDESC="alsa-plugins: Advanced Linux Sound Architecture Plugins"
|
PKG_SHORTDESC="alsa-plugins: Advanced Linux Sound Architecture Plugins"
|
||||||
PKG_LONGDESC="ALSA (Advanced Linux Sound Architecture) is the next generation Linux Sound API. It provides much finer (->better) access to the sound hardware, has a unbeatable mixer API and supports stuff like multi channel hardware, digital outs and ins, uninterleaved sound data access, and an oss emulation layer (for the old applications). It is the prefered API for professional sound apps under Linux."
|
PKG_LONGDESC="ALSA (Advanced Linux Sound Architecture) is the next generation Linux Sound API. It provides much finer (->better) access to the sound hardware, has a unbeatable mixer API and supports stuff like multi channel hardware, digital outs and ins, uninterleaved sound data access, and an oss emulation layer (for the old applications). It is the prefered API for professional sound apps under Linux."
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="yes"
|
PKG_AUTORECONF="yes"
|
||||||
|
|
||||||
|
# package specific configure options
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="--with-plugindir=/usr/lib/alsa \
|
||||||
|
--disable-jack \
|
||||||
|
--enable-samplerate \
|
||||||
|
--disable-avcodec \
|
||||||
|
--with-speex=lib"
|
||||||
|
|
||||||
if [ "$PULSEAUDIO_SUPPORT" = yes ]; then
|
if [ "$PULSEAUDIO_SUPPORT" = yes ]; then
|
||||||
PKG_DEPENDS="$PKG_DEPENDS pulseaudio"
|
PKG_DEPENDS="$PKG_DEPENDS pulseaudio"
|
||||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS pulseaudio"
|
PKG_BUILD_DEPENDS_TARGET="$PKG_BUILD_DEPENDS_TARGET pulseaudio"
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-pulseaudio"
|
||||||
|
else
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --disable-pulseaudio"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
post_makeinstall_target() {
|
||||||
|
mkdir -p $INSTALL/usr/share/alsa/pcm
|
||||||
|
cp -R $PKG_DIR/config/*.conf $INSTALL/usr/share/alsa/pcm
|
||||||
|
}
|
@ -25,12 +25,35 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://www.alsa-project.org/"
|
PKG_SITE="http://www.alsa-project.org/"
|
||||||
PKG_URL="ftp://ftp.alsa-project.org/pub/utils/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
PKG_URL="ftp://ftp.alsa-project.org/pub/utils/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||||
PKG_DEPENDS="alsa-lib"
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain alsa-lib"
|
PKG_BUILD_DEPENDS_TARGET="toolchain"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="audio"
|
PKG_SECTION="audio"
|
||||||
PKG_SHORTDESC="alsa-utils: Advanced Linux Sound Architecture utilities"
|
PKG_SHORTDESC="alsa-utils: Advanced Linux Sound Architecture utilities"
|
||||||
PKG_LONGDESC="This package includes the utilities for ALSA, like alsamixer, aplay, arecord, alsactl, iecset and speaker-test."
|
PKG_LONGDESC="This package includes the utilities for ALSA, like alsamixer, aplay, arecord, alsactl, iecset and speaker-test."
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="yes"
|
PKG_AUTORECONF="yes"
|
||||||
|
|
||||||
|
# package specific configure options
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="--disable-dependency-tracking \
|
||||||
|
--disable-xmlto \
|
||||||
|
--disable-alsamixer \
|
||||||
|
--disable-alsaconf \
|
||||||
|
--disable-alsaloop \
|
||||||
|
--enable-alsatest \
|
||||||
|
--disable-nls"
|
||||||
|
|
||||||
|
|
||||||
|
post_makeinstall_target() {
|
||||||
|
rm -rf $INSTALL/lib $INSTALL/var
|
||||||
|
rm -rf $INSTALL/usr/share/alsa/speaker-test
|
||||||
|
rm -rf $INSTALL/usr/share/sounds
|
||||||
|
|
||||||
|
for i in aconnect alsaucm amidi aplaymidi arecord arecordmidi aseqdump aseqnet iecset; do
|
||||||
|
rm -rf $INSTALL/usr/bin/$i
|
||||||
|
done
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/lib/udev
|
||||||
|
cp $PKG_DIR/scripts/soundconfig $INSTALL/lib/udev
|
||||||
|
}
|
@ -1,29 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/etc/modprobe.d
|
|
||||||
cp -P $PKG_DIR/config/alsa-base.conf $INSTALL/etc/modprobe.d
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/config
|
|
||||||
cp -R $PKG_DIR/config/modprobe.d $INSTALL/usr/config
|
|
@ -1,42 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
PKG_NAME="alsa"
|
|
||||||
PKG_VERSION=""
|
|
||||||
PKG_REV="1"
|
|
||||||
PKG_ARCH="any"
|
|
||||||
PKG_LICENSE="GPL"
|
|
||||||
PKG_SITE="http://www.alsa-project.org/"
|
|
||||||
PKG_URL=""
|
|
||||||
PKG_DEPENDS="alsa-lib alsa-utils"
|
|
||||||
PKG_BUILD_DEPENDS="toolchain"
|
|
||||||
PKG_PRIORITY="optional"
|
|
||||||
PKG_SECTION="audio"
|
|
||||||
PKG_SHORTDESC="alsa: Matapackage to install all alsa components"
|
|
||||||
PKG_LONGDESC="ALSA (Advanced Linux Sound Architecture) is the next generation Linux Sound API. It provides much finer (->better) access to the sound hardware, has a unbeatable mixer API and supports stuff like multi channel hardware, digital outs and ins, uninterleaved sound data access, and an oss emulation layer (for the old applications). It is the prefered API for professional sound apps under Linux."
|
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
PKG_AUTORECONF="no"
|
|
||||||
|
|
||||||
if [ "$PULSEAUDIO_SUPPORT" = yes ]; then
|
|
||||||
PKG_DEPENDS="$PKG_DEPENDS alsa-plugins"
|
|
||||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS alsa-plugins"
|
|
||||||
fi
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
cp -P $PKG_BUILD/libfaad/.libs/*.so* $INSTALL/usr/lib
|
|
@ -26,11 +26,22 @@ PKG_LICENSE="GPL"
|
|||||||
PKG_SITE="http://www.audiocoding.com/"
|
PKG_SITE="http://www.audiocoding.com/"
|
||||||
PKG_URL="$SOURCEFORGE_SRC/faac/faad2-src/$PKG_NAME-$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="$SOURCEFORGE_SRC/faac/faad2-src/$PKG_NAME-$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain"
|
PKG_BUILD_DEPENDS_TARGET="toolchain"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="audio"
|
PKG_SECTION="audio"
|
||||||
PKG_SHORTDESC="faad: An MPEG-4 AAC decoder"
|
PKG_SHORTDESC="faad: An MPEG-4 AAC decoder"
|
||||||
PKG_LONGDESC="The FAAD project includes the AAC decoder FAAD2. It supports several MPEG-4 object types (LC, Main, LTP, HE AAC, PS) and file formats (ADTS AAC, raw AAC, MP4), multichannel and gapless decoding as well as MP4 metadata tags. The codecs are compatible with standard-compliant audio applications using one or more of these profiles."
|
PKG_LONGDESC="The FAAD project includes the AAC decoder FAAD2. It supports several MPEG-4 object types (LC, Main, LTP, HE AAC, PS) and file formats (ADTS AAC, raw AAC, MP4), multichannel and gapless decoding as well as MP4 metadata tags. The codecs are compatible with standard-compliant audio applications using one or more of these profiles."
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="yes"
|
PKG_AUTORECONF="yes"
|
||||||
|
|
||||||
|
# package specific configure options
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="--without-xmms \
|
||||||
|
--without-drm \
|
||||||
|
--without-mpeg4ip \
|
||||||
|
--with-gnu-ld"
|
||||||
|
|
||||||
|
|
||||||
|
post_makeinstall_target() {
|
||||||
|
rm -rf $INSTALL/usr/bin
|
||||||
|
}
|
@ -1,42 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
./configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--disable-static \
|
|
||||||
--enable-shared \
|
|
||||||
--disable-rpath \
|
|
||||||
--disable-altivec \
|
|
||||||
--disable-doxygen-docs \
|
|
||||||
--disable-thorough-tests \
|
|
||||||
--disable-cpplibs \
|
|
||||||
--disable-xmms-plugin \
|
|
||||||
--disable-oggtest \
|
|
||||||
--with-ogg="$SYSROOT_PREFIX/usr" \
|
|
||||||
--with-gnu-ld
|
|
||||||
|
|
||||||
make
|
|
||||||
$MAKEINSTALL
|
|
@ -1,26 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
cp -P $PKG_BUILD/src/libFLAC/.libs/libFLAC.so* $INSTALL/usr/lib
|
|
@ -26,11 +26,31 @@ PKG_LICENSE="LGPL"
|
|||||||
PKG_SITE="http://flac.sourceforge.net/"
|
PKG_SITE="http://flac.sourceforge.net/"
|
||||||
PKG_URL="http://downloads.xiph.org/releases/flac/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="http://downloads.xiph.org/releases/flac/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS="libogg"
|
PKG_DEPENDS="libogg"
|
||||||
PKG_BUILD_DEPENDS="toolchain libogg"
|
PKG_BUILD_DEPENDS_TARGET="toolchain libogg"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="audio"
|
PKG_SECTION="audio"
|
||||||
PKG_SHORTDESC="flac: An Free Lossless Audio Codec"
|
PKG_SHORTDESC="flac: An Free Lossless Audio Codec"
|
||||||
PKG_LONGDESC="Grossly oversimplified, FLAC is similar to MP3, but lossless, meaning that audio is compressed in FLAC without throwing away any information. This is similar to how Zip works, except with FLAC you will get much better compression because it is designed specifically for audio."
|
PKG_LONGDESC="Grossly oversimplified, FLAC is similar to MP3, but lossless, meaning that audio is compressed in FLAC without throwing away any information. This is similar to how Zip works, except with FLAC you will get much better compression because it is designed specifically for audio."
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="yes"
|
PKG_AUTORECONF="yes"
|
||||||
|
|
||||||
|
# package specific configure options
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="--disable-rpath \
|
||||||
|
--disable-altivec \
|
||||||
|
--disable-doxygen-docs \
|
||||||
|
--disable-thorough-tests \
|
||||||
|
--disable-cpplibs \
|
||||||
|
--disable-xmms-plugin \
|
||||||
|
--disable-oggtest \
|
||||||
|
--with-ogg=$SYSROOT_PREFIX/usr \
|
||||||
|
--with-gnu-ld"
|
||||||
|
|
||||||
|
pre_make_target() {
|
||||||
|
# hack
|
||||||
|
cp -R ../doc/* ./doc
|
||||||
|
}
|
||||||
|
|
||||||
|
post_makeinstall_target() {
|
||||||
|
rm -rf $INSTALL/usr/bin
|
||||||
|
}
|
@ -1,54 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
# dont build parallel
|
|
||||||
MAKEFLAGS=-j1
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
#ac_cv_c_stack_direction=-1 \
|
|
||||||
#alex_cv_ieee854_float80=no \
|
|
||||||
GTK_CONFIG='no' \
|
|
||||||
./configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--disable-static \
|
|
||||||
--enable-shared \
|
|
||||||
--enable-nasm \
|
|
||||||
--disable-rpath \
|
|
||||||
--disable-cpml \
|
|
||||||
--disable-gtktest \
|
|
||||||
--disable-efence \
|
|
||||||
--disable-analyzer-hooks \
|
|
||||||
--enable-decoder \
|
|
||||||
--disable-frontend \
|
|
||||||
--disable-mp3x \
|
|
||||||
--disable-mp3rtp \
|
|
||||||
--disable-dynamic-frontends \
|
|
||||||
--enable-expopt=no \
|
|
||||||
--enable-debug=no \
|
|
||||||
--with-gnu-ld \
|
|
||||||
--with-fileio=lame
|
|
||||||
|
|
||||||
make
|
|
||||||
$MAKEINSTALL
|
|
@ -1,26 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
cp -P $PKG_BUILD/libmp3lame/.libs/libmp3lame.so* $INSTALL/usr/lib
|
|
@ -26,11 +26,34 @@ PKG_LICENSE="LGPL"
|
|||||||
PKG_SITE="http://lame.sourceforge.net/"
|
PKG_SITE="http://lame.sourceforge.net/"
|
||||||
PKG_URL="$SOURCEFORGE_SRC/lame/lame/3.99/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="$SOURCEFORGE_SRC/lame/lame/3.99/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain"
|
PKG_BUILD_DEPENDS_TARGET="toolchain"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="audio"
|
PKG_SECTION="audio"
|
||||||
PKG_SHORTDESC="lame: LAME Ain't an Mp3 Encoder"
|
PKG_SHORTDESC="lame: LAME Ain't an Mp3 Encoder"
|
||||||
PKG_LONGDESC="LAME originally stood for LAME Ain't an Mp3 Encoder. The goal of the LAME project is to use the open source model to improve the psycho acoustics, noise shaping and speed of MP3. Another goal of the LAME project is to use these improvements for the basis of a patent free audio compression codec for the GNU project."
|
PKG_LONGDESC="LAME originally stood for LAME Ain't an Mp3 Encoder. The goal of the LAME project is to use the open source model to improve the psycho acoustics, noise shaping and speed of MP3. Another goal of the LAME project is to use these improvements for the basis of a patent free audio compression codec for the GNU project."
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="yes"
|
PKG_AUTORECONF="yes"
|
||||||
|
|
||||||
|
# package specific configure options
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="--enable-nasm \
|
||||||
|
--disable-rpath \
|
||||||
|
--disable-cpml \
|
||||||
|
--disable-gtktest \
|
||||||
|
--disable-efence \
|
||||||
|
--disable-analyzer-hooks \
|
||||||
|
--enable-decoder \
|
||||||
|
--disable-frontend \
|
||||||
|
--disable-mp3x \
|
||||||
|
--disable-mp3rtp \
|
||||||
|
--disable-dynamic-frontends \
|
||||||
|
--enable-expopt=no \
|
||||||
|
--enable-debug=no \
|
||||||
|
--with-gnu-ld \
|
||||||
|
--with-fileio=lame \
|
||||||
|
GTK_CONFIG=no"
|
||||||
|
|
||||||
|
post_make_target() {
|
||||||
|
# dont build parallel
|
||||||
|
MAKEFLAGS=-j1
|
||||||
|
}
|
@ -1,51 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
CFLAGS="$CFLAGS -fPIC -DPIC"
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
./configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--enable-cxx \
|
|
||||||
--disable-cpp-progs \
|
|
||||||
--disable-shared \
|
|
||||||
--enable-static \
|
|
||||||
--enable-joliet \
|
|
||||||
--disable-rpath \
|
|
||||||
--enable-rock \
|
|
||||||
--disable-cddb \
|
|
||||||
--disable-vcd-info \
|
|
||||||
--without-cd-drive \
|
|
||||||
--without-cd-info \
|
|
||||||
--with-cd-paranoia \
|
|
||||||
--without-cdda-player \
|
|
||||||
--without-cd-read \
|
|
||||||
--without-iso-info \
|
|
||||||
--without-iso-read \
|
|
||||||
--with-gnu-ld
|
|
||||||
|
|
||||||
make
|
|
||||||
$MAKEINSTALL
|
|
@ -26,11 +26,38 @@ PKG_LICENSE="GPL"
|
|||||||
PKG_SITE="http://www.gnu.org/software/libcdio/"
|
PKG_SITE="http://www.gnu.org/software/libcdio/"
|
||||||
PKG_URL="http://ftp.gnu.org/gnu/libcdio/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="http://ftp.gnu.org/gnu/libcdio/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain"
|
PKG_BUILD_DEPENDS_TARGET="toolchain"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="audio"
|
PKG_SECTION="audio"
|
||||||
PKG_SHORTDESC="libcdio: A CD-ROM reading and control library"
|
PKG_SHORTDESC="libcdio: A CD-ROM reading and control library"
|
||||||
PKG_LONGDESC="This library is to encapsulate CD-ROM reading and control. Applications wishing to be oblivious of the OS- and device-dependant properties of a CD-ROM can use this library. Some support for disk image types like BIN/CUE and NRG is available, so applications that use this library also have the ability to read disc images as though they were CD's."
|
PKG_LONGDESC="This library is to encapsulate CD-ROM reading and control. Applications wishing to be oblivious of the OS- and device-dependant properties of a CD-ROM can use this library. Some support for disk image types like BIN/CUE and NRG is available, so applications that use this library also have the ability to read disc images as though they were CD's."
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="yes"
|
PKG_AUTORECONF="yes"
|
||||||
|
|
||||||
|
# package specific configure options
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="--enable-cxx \
|
||||||
|
--disable-cpp-progs \
|
||||||
|
--disable-shared \
|
||||||
|
--enable-static \
|
||||||
|
--enable-joliet \
|
||||||
|
--disable-rpath \
|
||||||
|
--enable-rock \
|
||||||
|
--disable-cddb \
|
||||||
|
--disable-vcd-info \
|
||||||
|
--without-cd-drive \
|
||||||
|
--without-cd-info \
|
||||||
|
--with-cd-paranoia \
|
||||||
|
--without-cdda-player \
|
||||||
|
--without-cd-read \
|
||||||
|
--without-iso-info \
|
||||||
|
--without-iso-read \
|
||||||
|
--with-gnu-ld"
|
||||||
|
|
||||||
|
pre_configure_target() {
|
||||||
|
CFLAGS="$CFLAGS -fPIC -DPIC"
|
||||||
|
}
|
||||||
|
|
||||||
|
post_makeinstall_target() {
|
||||||
|
rm -rf $INSTALL/usr/bin
|
||||||
|
}
|
@ -1,59 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
|
|
||||||
if [ $TARGET_ARCH == "x86_64" ] ; then
|
|
||||||
MAD_OPTIONS="--enable-accuracy --enable-fpm=64bit"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# some fixes for autoreconf
|
|
||||||
touch NEWS AUTHORS ChangeLog
|
|
||||||
do_autoreconf
|
|
||||||
|
|
||||||
./configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--disable-static \
|
|
||||||
--enable-shared \
|
|
||||||
$MAD_OPTIONS
|
|
||||||
|
|
||||||
make
|
|
||||||
|
|
||||||
$MAKEINSTALL
|
|
||||||
|
|
||||||
mkdir -p $SYSROOT_PREFIX/usr/lib/pkgconfig
|
|
||||||
cat > $SYSROOT_PREFIX/usr/lib/pkgconfig/mad.pc << "EOF"
|
|
||||||
prefix=/usr
|
|
||||||
exec_prefix=${prefix}
|
|
||||||
libdir=${exec_prefix}/lib
|
|
||||||
includedir=${prefix}/include
|
|
||||||
|
|
||||||
Name: mad
|
|
||||||
Description: MPEG audio decoder
|
|
||||||
Requires:
|
|
||||||
Version: 0.15.1b
|
|
||||||
Libs: -L${libdir} -lmad
|
|
||||||
Cflags: -I${includedir}
|
|
||||||
EOF
|
|
@ -1,26 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
cp -P $PKG_BUILD/.libs/*.so* $INSTALL/usr/lib
|
|
@ -26,11 +26,39 @@ PKG_LICENSE="GPL"
|
|||||||
PKG_SITE="http://www.mars.org/home/rob/proj/mpeg/"
|
PKG_SITE="http://www.mars.org/home/rob/proj/mpeg/"
|
||||||
PKG_URL="$SOURCEFORGE_SRC/mad/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="$SOURCEFORGE_SRC/mad/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain"
|
PKG_BUILD_DEPENDS_TARGET="toolchain"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="audio"
|
PKG_SECTION="audio"
|
||||||
PKG_SHORTDESC="libmad: MPEG Audio Decoder"
|
PKG_SHORTDESC="libmad: MPEG Audio Decoder"
|
||||||
PKG_LONGDESC="MAD is a high-quality MPEG audio decoder. It currently supports MPEG-1 and the MPEG-2 extension to Lower Sampling Frequencies, as well as the so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II, and Layer III a.k.a. MP3) are fully implemented."
|
PKG_LONGDESC="MAD is a high-quality MPEG audio decoder. It currently supports MPEG-1 and the MPEG-2 extension to Lower Sampling Frequencies, as well as the so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II, and Layer III a.k.a. MP3) are fully implemented."
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
|
# package specific configure options
|
||||||
|
if [ $TARGET_ARCH == "x86_64" ] ; then
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="--enable-accuracy --enable-fpm=64bit"
|
||||||
|
fi
|
||||||
|
|
||||||
|
pre_configure_target() {
|
||||||
|
# some fixes for autoreconf
|
||||||
|
touch ../NEWS ../AUTHORS ../ChangeLog
|
||||||
|
do_autoreconf ../
|
||||||
|
}
|
||||||
|
|
||||||
|
post_makeinstall_target() {
|
||||||
|
mkdir -p $SYSROOT_PREFIX/usr/lib/pkgconfig
|
||||||
|
cat > $SYSROOT_PREFIX/usr/lib/pkgconfig/mad.pc << "EOF"
|
||||||
|
prefix=/usr
|
||||||
|
exec_prefix=${prefix}
|
||||||
|
libdir=${exec_prefix}/lib
|
||||||
|
includedir=${prefix}/include
|
||||||
|
|
||||||
|
Name: mad
|
||||||
|
Description: MPEG audio decoder
|
||||||
|
Requires:
|
||||||
|
Version: 0.15.1b
|
||||||
|
Libs: -L${libdir} -lmad
|
||||||
|
Cflags: -I${includedir}
|
||||||
|
EOF
|
||||||
|
}
|
@ -1,26 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
cp -P $PKG_BUILD/src/.libs/*.so* $INSTALL/usr/lib
|
|
@ -26,11 +26,11 @@ PKG_LICENSE="GPL"
|
|||||||
PKG_SITE="http://modplug-xmms.sourceforge.net/"
|
PKG_SITE="http://modplug-xmms.sourceforge.net/"
|
||||||
PKG_URL="$SOURCEFORGE_SRC/modplug-xmms/libmodplug/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="$SOURCEFORGE_SRC/modplug-xmms/libmodplug/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain"
|
PKG_BUILD_DEPENDS_TARGET="toolchain"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="audio"
|
PKG_SECTION="audio"
|
||||||
PKG_SHORTDESC="libmodplug: renders mod music files as raw audio data, for playing or conversion."
|
PKG_SHORTDESC="libmodplug: renders mod music files as raw audio data, for playing or conversion."
|
||||||
PKG_LONGDESC="libmodplug renders mod music files as raw audio data, for playing or conversion. libmodplug is based on the fast and high quality mod playing code written and released to the public domain by Olivier Lapicque. mod, .s3m, .it, .xm, and a number of lesser-known formats are supported. Optional features include high-quality resampling, bass expansion, surround and reverb."
|
PKG_LONGDESC="libmodplug renders mod music files as raw audio data, for playing or conversion. libmodplug is based on the fast and high quality mod playing code written and released to the public domain by Olivier Lapicque. mod, .s3m, .it, .xm, and a number of lesser-known formats are supported. Optional features include high-quality resampling, bass expansion, surround and reverb."
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="yes"
|
PKG_AUTORECONF="yes"
|
@ -1,35 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
./configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--disable-static \
|
|
||||||
--enable-shared \
|
|
||||||
|
|
||||||
make
|
|
||||||
|
|
||||||
$MAKEINSTALL
|
|
@ -1,26 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
cp -P $PKG_BUILD/src/.libs/libogg*.so* $INSTALL/usr/lib
|
|
@ -26,11 +26,11 @@ PKG_LICENSE="BSD"
|
|||||||
PKG_SITE="http://www.xiph.org/ogg/"
|
PKG_SITE="http://www.xiph.org/ogg/"
|
||||||
PKG_URL="http://downloads.xiph.org/releases/ogg/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="http://downloads.xiph.org/releases/ogg/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain"
|
PKG_BUILD_DEPENDS_TARGET="toolchain"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="audio"
|
PKG_SECTION="audio"
|
||||||
PKG_SHORTDESC="libogg: Open source bitstream container format"
|
PKG_SHORTDESC="libogg: Open source bitstream container format"
|
||||||
PKG_LONGDESC="Libogg contains necessary functionality to create, decode, and work with Ogg bitstreams."
|
PKG_LONGDESC="Libogg contains necessary functionality to create, decode, and work with Ogg bitstreams."
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="yes"
|
PKG_AUTORECONF="yes"
|
@ -1,38 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
./configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--exec-prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--disable-shared \
|
|
||||||
--enable-static \
|
|
||||||
--datadir=/usr/share \
|
|
||||||
--disable-fftw \
|
|
||||||
--disable-sndfile \
|
|
||||||
|
|
||||||
make
|
|
||||||
$MAKEINSTALL
|
|
@ -26,11 +26,22 @@ PKG_LICENSE="GPL"
|
|||||||
PKG_SITE="http://www.mega-nerd.com/SRC/"
|
PKG_SITE="http://www.mega-nerd.com/SRC/"
|
||||||
PKG_URL="http://www.mega-nerd.com/SRC/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="http://www.mega-nerd.com/SRC/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain"
|
PKG_BUILD_DEPENDS_TARGET="toolchain"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="audio"
|
PKG_SECTION="audio"
|
||||||
PKG_SHORTDESC="libsamplerate: A Sample Rate Converter library for audio"
|
PKG_SHORTDESC="libsamplerate: A Sample Rate Converter library for audio"
|
||||||
PKG_LONGDESC="Libsamplerate is a Sample Rate Converter for audio. One example of where such a thing would be useful is converting audio from the CD sample rate of 44.1kHz to the 48kHz sample rate used by DAT players."
|
PKG_LONGDESC="Libsamplerate is a Sample Rate Converter for audio. One example of where such a thing would be useful is converting audio from the CD sample rate of 44.1kHz to the 48kHz sample rate used by DAT players."
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="no" # ToDo
|
PKG_AUTORECONF="no" # ToDo
|
||||||
|
|
||||||
|
# package specific configure options
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="--disable-shared \
|
||||||
|
--enable-static \
|
||||||
|
--datadir=/usr/share \
|
||||||
|
--disable-fftw \
|
||||||
|
--disable-sndfile"
|
||||||
|
|
||||||
|
post_makeinstall_target() {
|
||||||
|
rm -rf $INSTALL/usr/bin
|
||||||
|
}
|
@ -1,43 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
./configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--disable-static \
|
|
||||||
--enable-shared \
|
|
||||||
--disable-silent-rules \
|
|
||||||
--disable-sqlite \
|
|
||||||
--enable-alsa \
|
|
||||||
--enable-external-libs \
|
|
||||||
--disable-experimental \
|
|
||||||
--disable-test-coverage \
|
|
||||||
--enable-largefile \
|
|
||||||
--with-gnu-ld
|
|
||||||
|
|
||||||
make -C src
|
|
||||||
cp sndfile.pc $SYSROOT_PREFIX/usr/lib/pkgconfig
|
|
||||||
|
|
||||||
$MAKEINSTALL -C src
|
|
@ -1,26 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
cp -P $PKG_BUILD/src/.libs/*.so* $INSTALL/usr/lib
|
|
@ -26,11 +26,25 @@ PKG_LICENSE="LGPL"
|
|||||||
PKG_SITE="http://www.mega-nerd.com/libsndfile/"
|
PKG_SITE="http://www.mega-nerd.com/libsndfile/"
|
||||||
PKG_URL="http://www.mega-nerd.com/$PKG_NAME/files/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="http://www.mega-nerd.com/$PKG_NAME/files/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS="alsa-lib flac libvorbis libogg"
|
PKG_DEPENDS="alsa-lib flac libvorbis libogg"
|
||||||
PKG_BUILD_DEPENDS="toolchain alsa-lib flac libvorbis libogg"
|
PKG_BUILD_DEPENDS_TARGET="toolchain alsa-lib flac libvorbis libogg"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="audio"
|
PKG_SECTION="audio"
|
||||||
PKG_SHORTDESC="libsndfile: A library for accessing various audio file formats"
|
PKG_SHORTDESC="libsndfile: A library for accessing various audio file formats"
|
||||||
PKG_LONGDESC="libsndfile is a C library for reading and writing sound files such as AIFF, AU, WAV, and others through one standard interface. It can currently read/write 8, 16, 24 and 32-bit PCM files as well as 32 and 64-bit floating point WAV files and a number of compressed formats. It compiles and runs on *nix, MacOS, and Win32."
|
PKG_LONGDESC="libsndfile is a C library for reading and writing sound files such as AIFF, AU, WAV, and others through one standard interface. It can currently read/write 8, 16, 24 and 32-bit PCM files as well as 32 and 64-bit floating point WAV files and a number of compressed formats. It compiles and runs on *nix, MacOS, and Win32."
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="yes"
|
PKG_AUTORECONF="yes"
|
||||||
|
|
||||||
|
# package specific configure options
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="--disable-silent-rules \
|
||||||
|
--disable-sqlite \
|
||||||
|
--enable-alsa \
|
||||||
|
--enable-external-libs \
|
||||||
|
--disable-experimental \
|
||||||
|
--disable-test-coverage \
|
||||||
|
--enable-largefile \
|
||||||
|
--with-gnu-ld"
|
||||||
|
|
||||||
|
post_makeinstall_target() {
|
||||||
|
rm -rf $INSTALL/usr/bin
|
||||||
|
}
|
@ -1,35 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
./configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--disable-static \
|
|
||||||
--enable-shared \
|
|
||||||
--with-ogg=$SYSROOT_PREFIX/usr
|
|
||||||
|
|
||||||
make
|
|
||||||
$MAKEINSTALL
|
|
@ -1,26 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
cp -P $PKG_BUILD/lib/.libs/libvorbis*.so*[.0-9] $INSTALL/usr/lib
|
|
@ -26,11 +26,14 @@ PKG_LICENSE="BSD"
|
|||||||
PKG_SITE="http://www.vorbis.com/"
|
PKG_SITE="http://www.vorbis.com/"
|
||||||
PKG_URL="http://downloads.xiph.org/releases/vorbis/$PKG_NAME-$PKG_VERSION.tar.xz"
|
PKG_URL="http://downloads.xiph.org/releases/vorbis/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||||
PKG_DEPENDS="libogg"
|
PKG_DEPENDS="libogg"
|
||||||
PKG_BUILD_DEPENDS="toolchain libogg"
|
PKG_BUILD_DEPENDS_TARGET="toolchain libogg"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="audio"
|
PKG_SECTION="audio"
|
||||||
PKG_SHORTDESC="libvorbis: Lossless audio compression tools using the ogg-vorbis algorithms"
|
PKG_SHORTDESC="libvorbis: Lossless audio compression tools using the ogg-vorbis algorithms"
|
||||||
PKG_LONGDESC="Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free, general-purpose compressed audio format for mid to high quality (8kHz-48.0kHz, 16+ bit, polyphonic) audio and music at fixed and variable bitrates from 16 to 128 kbps/channel. This places Vorbis in the same competitive class as audio representations such as MPEG-4 (AAC), and similar to, but higher performance than MPEG-1/2 audio layer 3, MPEG-4 audio (TwinVQ), WMA and PAC."
|
PKG_LONGDESC="Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free, general-purpose compressed audio format for mid to high quality (8kHz-48.0kHz, 16+ bit, polyphonic) audio and music at fixed and variable bitrates from 16 to 128 kbps/channel. This places Vorbis in the same competitive class as audio representations such as MPEG-4 (AAC), and similar to, but higher performance than MPEG-1/2 audio layer 3, MPEG-4 audio (TwinVQ), WMA and PAC."
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="yes"
|
PKG_AUTORECONF="yes"
|
||||||
|
|
||||||
|
# package specific configure options
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="--with-ogg=$SYSROOT_PREFIX/usr"
|
@ -1,94 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
# pulseaudio fails to build with LTO support
|
|
||||||
strip_lto
|
|
||||||
|
|
||||||
if [ "$AVAHI_DAEMON" = yes ]; then
|
|
||||||
PULSEAUDIO_AVAHI="--enable-avahi"
|
|
||||||
else
|
|
||||||
PULSEAUDIO_AVAHI="--disable-avahi"
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
|
|
||||||
./configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--localstatedir=/var \
|
|
||||||
--disable-static \
|
|
||||||
--enable-shared \
|
|
||||||
--disable-silent-rules \
|
|
||||||
--disable-nls \
|
|
||||||
--enable-largefile \
|
|
||||||
--disable-rpath \
|
|
||||||
--disable-x11 \
|
|
||||||
--enable-samplerate \
|
|
||||||
--disable-oss-output \
|
|
||||||
--disable-oss-wrapper \
|
|
||||||
--disable-coreaudio-output \
|
|
||||||
--enable-alsa \
|
|
||||||
--disable-esound \
|
|
||||||
--disable-solaris \
|
|
||||||
--disable-waveout \
|
|
||||||
--disable-glib2 \
|
|
||||||
--disable-gtk2 \
|
|
||||||
--disable-gconf \
|
|
||||||
$PULSEAUDIO_AVAHI \
|
|
||||||
--disable-jack \
|
|
||||||
--disable-asyncns \
|
|
||||||
--disable-tcpwrap \
|
|
||||||
--disable-lirc \
|
|
||||||
--enable-dbus \
|
|
||||||
--disable-hal \
|
|
||||||
--disable-bluez \
|
|
||||||
--enable-udev \
|
|
||||||
--disable-hal-compat \
|
|
||||||
--enable-ipv6 \
|
|
||||||
--enable-openssl \
|
|
||||||
--disable-orc \
|
|
||||||
--disable-manpages \
|
|
||||||
--disable-per-user-esound-socket \
|
|
||||||
--disable-legacy-runtime-dir \
|
|
||||||
--disable-legacy-database-entry-format \
|
|
||||||
--with-system-user=root \
|
|
||||||
--with-system-group=root \
|
|
||||||
--with-access-group=root \
|
|
||||||
--with-module-dir="/usr/lib/pulse" \
|
|
||||||
|
|
||||||
make
|
|
||||||
|
|
||||||
mkdir -p $SYSROOT_PREFIX/usr/lib
|
|
||||||
cp -P src/.libs/libpulse.so* $SYSROOT_PREFIX/usr/lib
|
|
||||||
cp -P src/.libs/libpulse-simple.so* $SYSROOT_PREFIX/usr/lib
|
|
||||||
cp -P src/.libs/libpulsecommon-*.so* $SYSROOT_PREFIX/usr/lib
|
|
||||||
cp -P src/.libs/libpulsecore-*.so $SYSROOT_PREFIX/usr/lib
|
|
||||||
|
|
||||||
mkdir -p $SYSROOT_PREFIX/usr/lib/pkgconfig
|
|
||||||
cp libpulse.pc $SYSROOT_PREFIX/usr/lib/pkgconfig
|
|
||||||
cp libpulse-simple.pc $SYSROOT_PREFIX/usr/lib/pkgconfig
|
|
||||||
|
|
||||||
make DESTDIR="$SYSROOT_PREFIX" -C src install-pulseincludeHEADERS
|
|
||||||
|
|
@ -1,63 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
# add_user pulse x 499 498 "PulseAudio System Daemon" "/var/run/pulse" "/bin/sh"
|
|
||||||
# add_group pulse 498
|
|
||||||
# add_group pulse-access 497
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/etc/dbus-1/system.d
|
|
||||||
cp $PKG_BUILD/src/daemon/pulseaudio-system.conf $INSTALL/etc/dbus-1/system.d
|
|
||||||
sed -e 's%user="pulse"%user="root"%g' -i $INSTALL/etc/dbus-1/system.d/pulseaudio-system.conf
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/etc
|
|
||||||
cp $PKG_DIR/config/asound.conf $INSTALL/etc
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/etc/alsa
|
|
||||||
cp $PKG_DIR/config/pulse-default.conf $INSTALL/etc/alsa
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/etc/pulse
|
|
||||||
cp $PKG_BUILD/src/client.conf $INSTALL/etc/pulse
|
|
||||||
cp $PKG_BUILD/src/daemon.conf $INSTALL/etc/pulse
|
|
||||||
# cp $PKG_BUILD/src/default.pa $INSTALL/etc/pulse
|
|
||||||
# cp $PKG_DIR/config/default.pa $INSTALL/etc/pulse
|
|
||||||
cp $PKG_BUILD/src/system.pa $INSTALL/etc/pulse
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/lib/udev/rules.d
|
|
||||||
cp $PKG_BUILD/src/modules/alsa/mixer/profile-sets/90-pulseaudio.rules $INSTALL/lib/udev/rules.d
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/bin
|
|
||||||
cp $PKG_BUILD/src/.libs/pacat $INSTALL/usr/bin
|
|
||||||
cp $PKG_BUILD/src/.libs/pacmd $INSTALL/usr/bin
|
|
||||||
cp $PKG_BUILD/src/.libs/pactl $INSTALL/usr/bin
|
|
||||||
ln -sf pactl $INSTALL/usr/bin/pamon
|
|
||||||
ln -sf pactl $INSTALL/usr/bin/paplay
|
|
||||||
ln -sf pactl $INSTALL/usr/bin/parec
|
|
||||||
ln -sf pactl $INSTALL/usr/bin/parecord
|
|
||||||
cp $PKG_BUILD/src/.libs/pasuspender $INSTALL/usr/bin
|
|
||||||
# cp $PKG_BUILD/src/.libs/pax11publish $INSTALL/usr/bin
|
|
||||||
cp $PKG_BUILD/src/.libs/pulseaudio $INSTALL/usr/bin
|
|
||||||
# cp $PKG_BUILD/src/start-pulseaudio-x11 $INSTALL/usr/bin
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
cp -P $PKG_BUILD/src/.libs/libpulse*.so* $INSTALL/usr/lib
|
|
||||||
rm -rf $INSTALL/usr/lib/libpulse*.so*T
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib/pulse
|
|
||||||
cp -P $PKG_BUILD/src/.libs/libalsa-util.so $INSTALL/usr/lib/pulse
|
|
||||||
cp -P $PKG_BUILD/src/.libs/libavahi-wrap.so $INSTALL/usr/lib/pulse
|
|
||||||
cp -P $PKG_BUILD/src/.libs/libcli.so $INSTALL/usr/lib/pulse
|
|
||||||
cp -P $PKG_BUILD/src/.libs/libprotocol-cli.so $INSTALL/usr/lib/pulse
|
|
||||||
# cp -P $PKG_BUILD/src/.libs/libprotocol-esound.so $INSTALL/usr/lib/pulse
|
|
||||||
cp -P $PKG_BUILD/src/.libs/libprotocol-http.so $INSTALL/usr/lib/pulse
|
|
||||||
cp -P $PKG_BUILD/src/.libs/libprotocol-native.so $INSTALL/usr/lib/pulse
|
|
||||||
cp -P $PKG_BUILD/src/.libs/libprotocol-simple.so $INSTALL/usr/lib/pulse
|
|
||||||
cp -P $PKG_BUILD/src/.libs/libraop.so $INSTALL/usr/lib/pulse
|
|
||||||
cp -P $PKG_BUILD/src/.libs/librtp.so $INSTALL/usr/lib/pulse
|
|
||||||
cp -P $PKG_BUILD/src/.libs/module-*.so $INSTALL/usr/lib/pulse
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/share/pulseaudio/alsa-mixer/paths
|
|
||||||
cp $PKG_BUILD/src/modules/alsa/mixer/paths/* $INSTALL/usr/share/pulseaudio/alsa-mixer/paths
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/share/pulseaudio/alsa-mixer/profile-sets
|
|
||||||
cp $PKG_BUILD/src/modules/alsa/mixer/profile-sets/*.conf $INSTALL/usr/share/pulseaudio/alsa-mixer/profile-sets
|
|
@ -1,42 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
PKG_NAME="pulseaudio"
|
|
||||||
PKG_VERSION="2.1"
|
|
||||||
PKG_REV="1"
|
|
||||||
PKG_ARCH="any"
|
|
||||||
PKG_LICENSE="GPL"
|
|
||||||
PKG_SITE="http://pulseaudio.org/"
|
|
||||||
PKG_URL="http://freedesktop.org/software/pulseaudio/releases/$PKG_NAME-$PKG_VERSION.tar.xz"
|
|
||||||
PKG_DEPENDS="libtool json-c alsa-lib libsndfile libsamplerate speex dbus systemd openssl"
|
|
||||||
PKG_BUILD_DEPENDS="toolchain libtool json-c alsa-lib libsndfile libsamplerate speex dbus systemd openssl libcap"
|
|
||||||
PKG_PRIORITY="optional"
|
|
||||||
PKG_SECTION="audio"
|
|
||||||
PKG_SHORTDESC="pulseaudio: Yet another sound server for Unix"
|
|
||||||
PKG_LONGDESC="PulseAudio is a sound server for Linux and other Unix-like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (esound or esd). In addition to the features esound provides, PulseAudio has an extensible plugin architecture, support for more than one sink per source, better low-latency behavior, the ability to be embedded into other software, a completely asynchronous C API, a simple command line interface for reconfiguring the daemon while running, flexible and implicit sample type conversion and resampling, and a "Zero-Copy" architecture."
|
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
PKG_AUTORECONF="no"
|
|
||||||
|
|
||||||
if [ "$AVAHI_DAEMON" = yes ]; then
|
|
||||||
PKG_DEPENDS="$PKG_DEPENDS avahi"
|
|
||||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS avahi"
|
|
||||||
fi
|
|
||||||
|
|
109
packages/audio/pulseaudio/package.mk
Normal file
109
packages/audio/pulseaudio/package.mk
Normal file
@ -0,0 +1,109 @@
|
|||||||
|
################################################################################
|
||||||
|
# This file is part of OpenELEC - http://www.openelec.tv
|
||||||
|
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||||
|
#
|
||||||
|
# This Program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
#
|
||||||
|
# This Program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||||
|
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||||
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
PKG_NAME="pulseaudio"
|
||||||
|
PKG_VERSION="2.1"
|
||||||
|
PKG_REV="1"
|
||||||
|
PKG_ARCH="any"
|
||||||
|
PKG_LICENSE="GPL"
|
||||||
|
PKG_SITE="http://pulseaudio.org/"
|
||||||
|
PKG_URL="http://freedesktop.org/software/pulseaudio/releases/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||||
|
PKG_DEPENDS="libtool json-c alsa-lib libsndfile libsamplerate speex dbus systemd openssl"
|
||||||
|
PKG_BUILD_DEPENDS_TARGET="toolchain libtool json-c alsa-lib libsndfile libsamplerate speex dbus systemd openssl libcap"
|
||||||
|
PKG_PRIORITY="optional"
|
||||||
|
PKG_SECTION="audio"
|
||||||
|
PKG_SHORTDESC="pulseaudio: Yet another sound server for Unix"
|
||||||
|
PKG_LONGDESC="PulseAudio is a sound server for Linux and other Unix-like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (esound or esd). In addition to the features esound provides, PulseAudio has an extensible plugin architecture, support for more than one sink per source, better low-latency behavior, the ability to be embedded into other software, a completely asynchronous C API, a simple command line interface for reconfiguring the daemon while running, flexible and implicit sample type conversion and resampling, and a "Zero-Copy" architecture."
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
|
PKG_AUTORECONF="yes"
|
||||||
|
|
||||||
|
# package specific configure options
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="--disable-silent-rules \
|
||||||
|
--disable-nls \
|
||||||
|
--enable-largefile \
|
||||||
|
--disable-rpath \
|
||||||
|
--disable-x11 \
|
||||||
|
--enable-samplerate \
|
||||||
|
--disable-oss-output \
|
||||||
|
--disable-oss-wrapper \
|
||||||
|
--disable-coreaudio-output \
|
||||||
|
--enable-alsa \
|
||||||
|
--disable-esound \
|
||||||
|
--disable-solaris \
|
||||||
|
--disable-waveout \
|
||||||
|
--disable-glib2 \
|
||||||
|
--disable-gtk2 \
|
||||||
|
--disable-gconf \
|
||||||
|
--disable-jack \
|
||||||
|
--disable-asyncns \
|
||||||
|
--disable-tcpwrap \
|
||||||
|
--disable-lirc \
|
||||||
|
--enable-dbus \
|
||||||
|
--disable-hal \
|
||||||
|
--disable-bluez \
|
||||||
|
--enable-udev \
|
||||||
|
--disable-hal-compat \
|
||||||
|
--enable-ipv6 \
|
||||||
|
--enable-openssl \
|
||||||
|
--disable-orc \
|
||||||
|
--disable-manpages \
|
||||||
|
--disable-per-user-esound-socket \
|
||||||
|
--disable-legacy-runtime-dir \
|
||||||
|
--disable-legacy-database-entry-format \
|
||||||
|
--with-system-user=root \
|
||||||
|
--with-system-group=root \
|
||||||
|
--with-access-group=root \
|
||||||
|
--with-module-dir=/usr/lib/pulse"
|
||||||
|
|
||||||
|
if [ "$AVAHI_DAEMON" = yes ]; then
|
||||||
|
PKG_DEPENDS="$PKG_DEPENDS avahi"
|
||||||
|
PKG_BUILD_DEPENDS_TARGET="$PKG_BUILD_DEPENDS_TARGET avahi"
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-avahi"
|
||||||
|
else
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --disable-avahi"
|
||||||
|
fi
|
||||||
|
|
||||||
|
pre_configure_target() {
|
||||||
|
# pulseaudio fails to build with LTO support
|
||||||
|
strip_lto
|
||||||
|
}
|
||||||
|
|
||||||
|
pre_make_target() {
|
||||||
|
MAKEFLAGS=-j1
|
||||||
|
}
|
||||||
|
|
||||||
|
post_makeinstall_target() {
|
||||||
|
# add_user pulse x 499 498 "PulseAudio System Daemon" "/var/run/pulse" "/bin/sh"
|
||||||
|
# add_group pulse 498
|
||||||
|
# add_group pulse-access 497
|
||||||
|
|
||||||
|
sed -e 's%user="pulse"%user="root"%g' -i $INSTALL/etc/dbus-1/system.d/pulseaudio-system.conf
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/etc
|
||||||
|
cp $PKG_DIR/config/asound.conf $INSTALL/etc
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/etc/alsa
|
||||||
|
cp $PKG_DIR/config/pulse-default.conf $INSTALL/etc/alsa
|
||||||
|
|
||||||
|
rm -rf $INSTALL/usr/bin/esdcompat
|
||||||
|
rm -rf $INSTALL/usr/lib/cmake
|
||||||
|
rm -rf $INSTALL/usr/share/vala
|
||||||
|
}
|
@ -1,41 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
./configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--localstatedir=/var \
|
|
||||||
--disable-static \
|
|
||||||
--enable-shared \
|
|
||||||
--with-ogg=$SYSROOT_PREFIX/usr \
|
|
||||||
--enable-fixed-point \
|
|
||||||
--disable-oggtest \
|
|
||||||
--disable-float-api \
|
|
||||||
--disable-vbr \
|
|
||||||
|
|
||||||
make
|
|
||||||
|
|
||||||
$MAKEINSTALL
|
|
@ -1,26 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
cp -P $PKG_BUILD/libspeex/.libs/libspeexdsp.so* $INSTALL/usr/lib
|
|
@ -26,11 +26,22 @@ PKG_LICENSE="BSD"
|
|||||||
PKG_SITE="http://www.speex.org"
|
PKG_SITE="http://www.speex.org"
|
||||||
PKG_URL="http://downloads.xiph.org/releases/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="http://downloads.xiph.org/releases/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS="libogg"
|
PKG_DEPENDS="libogg"
|
||||||
PKG_BUILD_DEPENDS="toolchain libogg"
|
PKG_BUILD_DEPENDS_TARGET="toolchain libogg"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="audio"
|
PKG_SECTION="audio"
|
||||||
PKG_SHORTDESC="speex: A free Audio Codec optimized for speech"
|
PKG_SHORTDESC="speex: A free Audio Codec optimized for speech"
|
||||||
PKG_LONGDESC="Speex is a patent-free compression format designed especially for speech. It is specialized for voice communications at low bit-rates in the 2-45 kbps range. Possible applications include Voice over IP (VoIP), Internet audio streaming, audio books, and archiving of speech data (e.g. voice mail)."
|
PKG_LONGDESC="Speex is a patent-free compression format designed especially for speech. It is specialized for voice communications at low bit-rates in the 2-45 kbps range. Possible applications include Voice over IP (VoIP), Internet audio streaming, audio books, and archiving of speech data (e.g. voice mail)."
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="yes"
|
PKG_AUTORECONF="yes"
|
||||||
|
|
||||||
|
# package specific configure options
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="--with-ogg=$SYSROOT_PREFIX/usr \
|
||||||
|
--enable-fixed-point \
|
||||||
|
--disable-oggtest \
|
||||||
|
--disable-float-api \
|
||||||
|
--disable-vbr"
|
||||||
|
|
||||||
|
post_makeinstall_target() {
|
||||||
|
rm -rf $INSTALL/usr/bin
|
||||||
|
}
|
@ -1,33 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
mkdir -p build && cd build
|
|
||||||
|
|
||||||
cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \
|
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
||||||
..
|
|
||||||
|
|
||||||
make
|
|
||||||
$MAKEINSTALL
|
|
@ -1,27 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
cp -P $PKG_BUILD/build/taglib/*.so* $INSTALL/usr/lib
|
|
||||||
cp -P $PKG_BUILD/build/bindings/c/*.so* $INSTALL/usr/lib
|
|
@ -26,11 +26,20 @@ PKG_LICENSE="LGPL"
|
|||||||
PKG_SITE="http://taglib.github.com/"
|
PKG_SITE="http://taglib.github.com/"
|
||||||
PKG_URL="https://github.com/downloads/taglib/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="https://github.com/downloads/taglib/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS="zlib"
|
PKG_DEPENDS="zlib"
|
||||||
PKG_BUILD_DEPENDS="toolchain zlib"
|
PKG_BUILD_DEPENDS_TARGET="toolchain cmake zlib"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="audio"
|
PKG_SECTION="audio"
|
||||||
PKG_SHORTDESC="taglib: a library for reading and editing the meta-data of several popular audio formats."
|
PKG_SHORTDESC="taglib: a library for reading and editing the meta-data of several popular audio formats."
|
||||||
PKG_LONGDESC="TagLib is a library for reading and editing the meta-data of several popular audio formats."
|
PKG_LONGDESC="TagLib is a library for reading and editing the meta-data of several popular audio formats."
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
|
# package specific configure options
|
||||||
|
configure_target() {
|
||||||
|
cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF -DCMAKE_INSTALL_PREFIX=/usr ..
|
||||||
|
}
|
||||||
|
|
||||||
|
post_makeinstall_target() {
|
||||||
|
rm -rf $INSTALL/usr/bin
|
||||||
|
}
|
@ -1,37 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
|
|
||||||
sed -e "s,ln -s (lib.*),ln -snf \$$1; ln -snf libbz2.so.$PKG_VERSION libbz2.so,g" -i Makefile-libbz2_so
|
|
||||||
|
|
||||||
make CC=$TARGET_CC RANLIB=$TARGET_RANLIB AR=$TARGET_AR CFLAGS="$CFLAGS -fPIC -DPIC" -f Makefile-libbz2_so
|
|
||||||
ln -snf libbz2.so.1.0 libbz2.so
|
|
||||||
|
|
||||||
mkdir -p $SYSROOT_PREFIX/usr/include
|
|
||||||
cp bzlib.h $SYSROOT_PREFIX/usr/include
|
|
||||||
|
|
||||||
mkdir -p $SYSROOT_PREFIX/usr/lib
|
|
||||||
cp -P libbz2.so* $SYSROOT_PREFIX/usr/lib
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
cp -P $PKG_BUILD/*.so* $INSTALL/usr/lib
|
|
@ -26,11 +26,33 @@ PKG_LICENSE="GPL"
|
|||||||
PKG_SITE="http://www.bzip.org"
|
PKG_SITE="http://www.bzip.org"
|
||||||
PKG_URL="http://www.bzip.org/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="http://www.bzip.org/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain"
|
PKG_BUILD_DEPENDS_TARGET="toolchain"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="compress"
|
PKG_SECTION="compress"
|
||||||
PKG_SHORTDESC="bzip2 data compressor"
|
PKG_SHORTDESC="bzip2 data compressor"
|
||||||
PKG_LONGDESC="bzip2 is a freely available, patent free (see below), high-quality data compressor. It typically compresses files to within 10% to 15% of the best available techniques (the PPM family of statistical compressors), whilst being around twice as fast at compression and six times faster at decompression."
|
PKG_LONGDESC="bzip2 is a freely available, patent free (see below), high-quality data compressor. It typically compresses files to within 10% to 15% of the best available techniques (the PPM family of statistical compressors), whilst being around twice as fast at compression and six times faster at decompression."
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
|
pre_make_target() {
|
||||||
|
sed -e "s,ln -s (lib.*),ln -snf \$$1; ln -snf libbz2.so.$PKG_VERSION libbz2.so,g" -i Makefile-libbz2_so
|
||||||
|
}
|
||||||
|
|
||||||
|
make_target() {
|
||||||
|
make -f Makefile-libbz2_so CC=$TARGET_CC CFLAGS="$CFLAGS -fPIC -DPIC"
|
||||||
|
}
|
||||||
|
|
||||||
|
post_make_target() {
|
||||||
|
ln -snf libbz2.so.1.0 libbz2.so
|
||||||
|
}
|
||||||
|
|
||||||
|
makeinstall_target() {
|
||||||
|
mkdir -p $SYSROOT_PREFIX/usr/include
|
||||||
|
cp bzlib.h $SYSROOT_PREFIX/usr/include
|
||||||
|
mkdir -p $SYSROOT_PREFIX/usr/lib
|
||||||
|
cp -P libbz2.so* $SYSROOT_PREFIX/usr/lib
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/lib
|
||||||
|
cp -P libbz2.so* $INSTALL/usr/lib
|
||||||
|
}
|
12
packages/compress/bzip2/patches/bzip2-1.0.6-cflags.patch
Normal file
12
packages/compress/bzip2/patches/bzip2-1.0.6-cflags.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -Naur bzip2-1.0.6/Makefile-libbz2_so bzip2-1.0.6.patch/Makefile-libbz2_so
|
||||||
|
--- bzip2-1.0.6/Makefile-libbz2_so 2010-09-11 01:07:52.000000000 +0200
|
||||||
|
+++ bzip2-1.0.6.patch/Makefile-libbz2_so 2013-03-31 18:26:33.335234891 +0200
|
||||||
|
@@ -35,7 +35,7 @@
|
||||||
|
bzlib.o
|
||||||
|
|
||||||
|
all: $(OBJS)
|
||||||
|
- $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.6 $(OBJS)
|
||||||
|
+ $(CC) $(CFLAGS) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.6 $(OBJS)
|
||||||
|
$(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.6
|
||||||
|
rm -f libbz2.so.1.0
|
||||||
|
ln -s libbz2.so.1.0.6 libbz2.so.1.0
|
@ -1,38 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
|
|
||||||
mkdir -p .build-target && cd .build-target
|
|
||||||
../configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--exec-prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--datadir=/usr/share \
|
|
||||||
--disable-shared \
|
|
||||||
--enable-static \
|
|
||||||
|
|
||||||
make
|
|
||||||
$MAKEINSTALL
|
|
@ -26,11 +26,14 @@ PKG_LICENSE="GPL"
|
|||||||
PKG_SITE="http://www.oberhumer.com/opensource/lzo"
|
PKG_SITE="http://www.oberhumer.com/opensource/lzo"
|
||||||
PKG_URL="http://www.oberhumer.com/opensource/lzo/download/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="http://www.oberhumer.com/opensource/lzo/download/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain"
|
PKG_BUILD_DEPENDS_TARGET="toolchain"
|
||||||
|
PKG_BUILD_DEPENDS_HOST="toolchain"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="compress"
|
PKG_SECTION="compress"
|
||||||
PKG_SHORTDESC="LZO data compressor"
|
PKG_SHORTDESC="LZO data compressor"
|
||||||
PKG_LONGDESC="LZO is a data compression library which is suitable for data de-/compression in real-time. This means it favours speed over compression ratio."
|
PKG_LONGDESC="LZO is a data compression library which is suitable for data de-/compression in real-time. This means it favours speed over compression ratio."
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="yes"
|
PKG_AUTORECONF="yes"
|
||||||
|
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="--disable-shared --enable-static"
|
@ -1,34 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
cd $BUILD/$1*
|
|
||||||
|
|
||||||
make CC=$TARGET_CC \
|
|
||||||
CPP=${TARGET_PREFIX}cpp \
|
|
||||||
RANLIB=$TARGET_RANLIB \
|
|
||||||
AR=$TARGET_AR \
|
|
||||||
STRIP=$TARGET_STRIP \
|
|
||||||
LOCAL_ZIP="$TARGET_CFLAGS" \
|
|
||||||
-f unix/Makefile generic
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/bin
|
|
||||||
cp $BUILD/$1*/zip $INSTALL/usr/bin
|
|
||||||
|
|
@ -26,11 +26,26 @@ PKG_LICENSE="Info-ZIP"
|
|||||||
PKG_SITE="http://www.info-zip.org/pub/infozip/"
|
PKG_SITE="http://www.info-zip.org/pub/infozip/"
|
||||||
PKG_URL="$SOURCEFORGE_SRC/infozip/Zip%203.x%20%28latest%29/3.0/${PKG_NAME}${PKG_VERSION}.tar.gz"
|
PKG_URL="$SOURCEFORGE_SRC/infozip/Zip%203.x%20%28latest%29/3.0/${PKG_NAME}${PKG_VERSION}.tar.gz"
|
||||||
PKG_DEPENDS="bzip2"
|
PKG_DEPENDS="bzip2"
|
||||||
PKG_BUILD_DEPENDS="toolchain bzip2"
|
PKG_BUILD_DEPENDS_TARGET="toolchain bzip2"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="compress"
|
PKG_SECTION="compress"
|
||||||
PKG_SHORTDESC="zip: PKUNZIP compatible compression utility"
|
PKG_SHORTDESC="zip: PKUNZIP compatible compression utility"
|
||||||
PKG_LONGDESC="zip is a compression and file packaging utility for Unix, VMS, MSDOS, OS/2, Windows 9x/NT/XP, Minix, Atari, Macintosh, MVS, z/OS, Amiga, Acorn RISC, and other OS. It is analogous to a combination of the Unix commands tar(1) and compress(1) (or tar(1) and gzip(1)) and is compatible with PKZIP (Phil Katz's ZIP for MSDOS systems) and other major zip utilities."
|
PKG_LONGDESC="zip is a compression and file packaging utility for Unix, VMS, MSDOS, OS/2, Windows 9x/NT/XP, Minix, Atari, Macintosh, MVS, z/OS, Amiga, Acorn RISC, and other OS. It is analogous to a combination of the Unix commands tar(1) and compress(1) (or tar(1) and gzip(1)) and is compatible with PKZIP (Phil Katz's ZIP for MSDOS systems) and other major zip utilities."
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
|
make_target() {
|
||||||
|
make CC=$TARGET_CC \
|
||||||
|
CPP=${TARGET_PREFIX}cpp \
|
||||||
|
RANLIB=$TARGET_RANLIB \
|
||||||
|
AR=$TARGET_AR \
|
||||||
|
STRIP=$TARGET_STRIP \
|
||||||
|
LOCAL_ZIP="$TARGET_CFLAGS" \
|
||||||
|
-f unix/Makefile generic
|
||||||
|
}
|
||||||
|
|
||||||
|
makeinstall_target() {
|
||||||
|
mkdir -p $INSTALL/usr/bin
|
||||||
|
cp zip $INSTALL/usr/bin
|
||||||
|
}
|
@ -1,39 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
$SCRIPTS/unpack zlib
|
|
||||||
|
|
||||||
# dont build parallel
|
|
||||||
MAKEFLAGS=-j1
|
|
||||||
|
|
||||||
setup_toolchain host
|
|
||||||
|
|
||||||
cd $BUILD/zlib-*
|
|
||||||
|
|
||||||
cd zlib-host
|
|
||||||
|
|
||||||
./configure --prefix=$ROOT/$TOOLCHAIN
|
|
||||||
|
|
||||||
make
|
|
||||||
make install
|
|
@ -1,36 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
PKG_NAME="zlib-host"
|
|
||||||
PKG_VERSION=""
|
|
||||||
PKG_REV="1"
|
|
||||||
PKG_ARCH="any"
|
|
||||||
PKG_LICENSE="OSS"
|
|
||||||
PKG_SITE="http://www.zlib.net"
|
|
||||||
PKG_URL=""
|
|
||||||
PKG_DEPENDS=""
|
|
||||||
PKG_BUILD_DEPENDS="ccache"
|
|
||||||
PKG_PRIORITY="optional"
|
|
||||||
PKG_SECTION="compress"
|
|
||||||
PKG_SHORTDESC="zlib: A general purpose (ZIP) data compression library"
|
|
||||||
PKG_LONGDESC="zlib is a general purpose data compression library. All the code is thread safe. The data format used by the zlib library is described by RFCs (Request for Comments) 1950 to 1952 in the files ftp://ds.internic.net/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format)."
|
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
PKG_AUTORECONF="no"
|
|
@ -1,31 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
|
|
||||||
./configure --prefix=/usr
|
|
||||||
|
|
||||||
make
|
|
||||||
|
|
||||||
$MAKEINSTALL
|
|
@ -1,26 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
cp -R $PKG_BUILD/*.so* $INSTALL/usr/lib
|
|
@ -26,11 +26,25 @@ PKG_LICENSE="OSS"
|
|||||||
PKG_SITE="http://www.zlib.net"
|
PKG_SITE="http://www.zlib.net"
|
||||||
PKG_URL="http://www.zlib.net/$PKG_NAME-$PKG_VERSION.tar.xz"
|
PKG_URL="http://www.zlib.net/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain"
|
PKG_BUILD_DEPENDS_TARGET="toolchain"
|
||||||
|
PKG_BUILD_DEPENDS_HOST=""
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="compress"
|
PKG_SECTION="compress"
|
||||||
PKG_SHORTDESC="zlib: A general purpose (ZIP) data compression library"
|
PKG_SHORTDESC="zlib: A general purpose (ZIP) data compression library"
|
||||||
PKG_LONGDESC="zlib is a general purpose data compression library. All the code is thread safe. The data format used by the zlib library is described by RFCs (Request for Comments) 1950 to 1952 in the files ftp://ds.internic.net/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format)."
|
PKG_LONGDESC="zlib is a general purpose data compression library. All the code is thread safe. The data format used by the zlib library is described by RFCs (Request for Comments) 1950 to 1952 in the files ftp://ds.internic.net/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format)."
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
|
TARGET_CONFIGURE_OPTS="--prefix=/usr"
|
||||||
|
HOST_CONFIGURE_OPTS="--prefix=$ROOT/$TOOLCHAIN"
|
||||||
|
|
||||||
|
pre_build_target() {
|
||||||
|
mkdir -p $PKG_BUILD/.$TARGET_NAME
|
||||||
|
cp -RP $PKG_BUILD/* $PKG_BUILD/.$TARGET_NAME
|
||||||
|
}
|
||||||
|
|
||||||
|
pre_build_host() {
|
||||||
|
mkdir -p $PKG_BUILD/.$HOST_NAME
|
||||||
|
cp -RP $PKG_BUILD/* $PKG_BUILD/.$HOST_NAME
|
||||||
|
}
|
@ -1,28 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
ZLIB_DIR=`ls -d $PKG_BUILD`
|
|
||||||
|
|
||||||
cp -r "$ZLIB_DIR" "$BUILD/zlib-host" || rm -rf "$BUILD/zlib-host"
|
|
||||||
mv "$BUILD/zlib-host" "$ZLIB_DIR"
|
|
@ -1,61 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
$SCRIPTS/unpack mysql
|
|
||||||
|
|
||||||
setup_toolchain host
|
|
||||||
|
|
||||||
cd $BUILD/mysql*
|
|
||||||
do_autoreconf
|
|
||||||
mkdir -p .objdir-host && cd .objdir-host
|
|
||||||
../configure --host=$HOST_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--libexecdir=/usr/sbin \
|
|
||||||
--localstatedir=/var/mysql \
|
|
||||||
--with-zlib-dir="$ROOT/$TOOLCHAIN" \
|
|
||||||
|
|
||||||
make -C include my_config.h
|
|
||||||
make -C mysys libmysys.a
|
|
||||||
make -C strings libmystrings.a
|
|
||||||
|
|
||||||
make -C dbug factorial
|
|
||||||
|
|
||||||
cp -PR dbug/factorial $ROOT/$TOOLCHAIN/bin/mysql-factorial
|
|
||||||
|
|
||||||
make -C vio libvio.a
|
|
||||||
make -C dbug libdbug.a
|
|
||||||
make -C regex libregex.a
|
|
||||||
make -C sql gen_lex_hash
|
|
||||||
|
|
||||||
cp -PR sql/gen_lex_hash $ROOT/$TOOLCHAIN/bin/mysql-gen_lex_hash
|
|
||||||
|
|
||||||
make -C scripts comp_sql
|
|
||||||
|
|
||||||
cp -PR scripts/comp_sql $ROOT/$TOOLCHAIN/bin/mysql-comp_sql
|
|
||||||
|
|
||||||
make -C extra comp_err
|
|
||||||
|
|
||||||
cp -PR extra/comp_err $ROOT/$TOOLCHAIN/bin/mysql-comp_err
|
|
@ -1,36 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
PKG_NAME="mysql-hosttools"
|
|
||||||
PKG_VERSION=""
|
|
||||||
PKG_REV="1"
|
|
||||||
PKG_ARCH="any"
|
|
||||||
PKG_LICENSE="LGPL"
|
|
||||||
PKG_SITE="http://www.mysql.com"
|
|
||||||
PKG_URL=""
|
|
||||||
PKG_DEPENDS=""
|
|
||||||
PKG_BUILD_DEPENDS="toolchain zlib-host"
|
|
||||||
PKG_PRIORITY="optional"
|
|
||||||
PKG_SECTION="database"
|
|
||||||
PKG_SHORTDESC="mysql: A database server"
|
|
||||||
PKG_LONGDESC="MySQL is a SQL (Structured Query Language) database server. SQL is the most popular database language in the world. MySQL is a client server implementation that consists of a server daemon mysqld and many different client programs/libraries."
|
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
PKG_AUTORECONF="no"
|
|
@ -1,85 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
CFLAGS="$CFLAGS -fPIC -DPIC"
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
ac_cv_c_stack_direction=-1 \
|
|
||||||
ac_cv_sys_restartable_syscalls=yes \
|
|
||||||
./configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--target=$TARGET_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--sbindir=/usr/sbin \
|
|
||||||
--libdir=/usr/lib \
|
|
||||||
--libexecdir=/usr/sbin \
|
|
||||||
--localstatedir=/storage/.mysql \
|
|
||||||
--with-unix-socket-path=/var/tmp/mysql.socket \
|
|
||||||
--with-tcp-port=3306 \
|
|
||||||
--enable-static \
|
|
||||||
--disable-shared \
|
|
||||||
--with-low-memory \
|
|
||||||
--enable-largefile \
|
|
||||||
--with-big-tables \
|
|
||||||
--with-mysqld-user=mysqld \
|
|
||||||
--with-extra-charsets=all \
|
|
||||||
--with-pthread \
|
|
||||||
--with-named-thread-libs=-lpthread \
|
|
||||||
--enable-thread-safe-client \
|
|
||||||
--enable-assembler \
|
|
||||||
--enable-local-infile \
|
|
||||||
--without-debug \
|
|
||||||
--without-docs \
|
|
||||||
--without-man \
|
|
||||||
--with-readline \
|
|
||||||
--without-libwrap \
|
|
||||||
--without-pstack \
|
|
||||||
--without-server \
|
|
||||||
--without-embedded-server \
|
|
||||||
--without-libedit \
|
|
||||||
--with-query-cache \
|
|
||||||
--without-plugin-partition \
|
|
||||||
--without-plugin-daemon_example \
|
|
||||||
--without-plugin-ftexample \
|
|
||||||
--without-plugin-archive \
|
|
||||||
--without-plugin-blackhole \
|
|
||||||
--without-plugin-example \
|
|
||||||
--without-plugin-federated \
|
|
||||||
--without-plugin-ibmdb2i \
|
|
||||||
--without-plugin-innobase \
|
|
||||||
--without-plugin-innodb_plugin \
|
|
||||||
--without-plugin-ndbcluster \
|
|
||||||
|
|
||||||
make
|
|
||||||
$MAKEINSTALL
|
|
||||||
|
|
||||||
sed -i "s|pkgincludedir=.*|pkgincludedir=\'$SYSROOT_PREFIX/usr/include/mysql\'|" scripts/mysql_config
|
|
||||||
sed -i "s|pkglibdir=.*|pkglibdir=\'$SYSROOT_PREFIX/usr/lib/mysql\'|" scripts/mysql_config
|
|
||||||
cp scripts/mysql_config $SYSROOT_PREFIX/usr/bin
|
|
||||||
ln -sf $SYSROOT_PREFIX/usr/bin/mysql_config $ROOT/$TOOLCHAIN/bin/mysql_config
|
|
||||||
|
|
||||||
for i in `ls -d $SYSROOT_PREFIX/usr/lib/mysql/*.a`; do
|
|
||||||
ln -v -sf $i $SYSROOT_PREFIX/usr/lib
|
|
||||||
done
|
|
@ -1,36 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
PKG_NAME="mysql"
|
|
||||||
PKG_VERSION="5.1.68"
|
|
||||||
PKG_REV="1"
|
|
||||||
PKG_ARCH="any"
|
|
||||||
PKG_LICENSE="LGPL"
|
|
||||||
PKG_SITE="http://www.mysql.com"
|
|
||||||
PKG_URL="http://ftp.gwdg.de/pub/misc/$PKG_NAME/Downloads/MySQL-5.1/$PKG_NAME-$PKG_VERSION.tar.gz"
|
|
||||||
PKG_DEPENDS="zlib ncurses"
|
|
||||||
PKG_BUILD_DEPENDS="toolchain zlib ncurses mysql-hosttools"
|
|
||||||
PKG_PRIORITY="optional"
|
|
||||||
PKG_SECTION="database"
|
|
||||||
PKG_SHORTDESC="mysql: A database server"
|
|
||||||
PKG_LONGDESC="MySQL is a SQL (Structured Query Language) database server. SQL is the most popular database language in the world. MySQL is a client server implementation that consists of a server daemon mysqld and many different client programs/libraries."
|
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
PKG_AUTORECONF="yes"
|
|
116
packages/databases/mysql/package.mk
Normal file
116
packages/databases/mysql/package.mk
Normal file
@ -0,0 +1,116 @@
|
|||||||
|
################################################################################
|
||||||
|
# This file is part of OpenELEC - http://www.openelec.tv
|
||||||
|
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||||
|
#
|
||||||
|
# This Program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
#
|
||||||
|
# This Program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||||
|
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||||
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
PKG_NAME="mysql"
|
||||||
|
PKG_VERSION="5.1.68"
|
||||||
|
PKG_REV="1"
|
||||||
|
PKG_ARCH="any"
|
||||||
|
PKG_LICENSE="LGPL"
|
||||||
|
PKG_SITE="http://www.mysql.com"
|
||||||
|
PKG_URL="http://ftp.gwdg.de/pub/misc/$PKG_NAME/Downloads/MySQL-5.1/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
|
PKG_DEPENDS="zlib ncurses"
|
||||||
|
PKG_BUILD_DEPENDS_HOST="toolchain zlib:host"
|
||||||
|
PKG_BUILD_DEPENDS_TARGET="toolchain zlib ncurses mysql:host"
|
||||||
|
PKG_PRIORITY="optional"
|
||||||
|
PKG_SECTION="database"
|
||||||
|
PKG_SHORTDESC="mysql: A database server"
|
||||||
|
PKG_LONGDESC="MySQL is a SQL (Structured Query Language) database server. SQL is the most popular database language in the world. MySQL is a client server implementation that consists of a server daemon mysqld and many different client programs/libraries."
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
|
PKG_AUTORECONF="yes"
|
||||||
|
|
||||||
|
TARGET_CFLAGS="$TARGET_CFLAGS -fPIC -DPIC"
|
||||||
|
|
||||||
|
PKG_CONFIGURE_OPTS_HOST="--with-zlib-dir=$ROOT/$TOOLCHAIN"
|
||||||
|
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="ac_cv_c_stack_direction=-1 \
|
||||||
|
ac_cv_sys_restartable_syscalls=yes \
|
||||||
|
--localstatedir=/storage/.mysql \
|
||||||
|
--with-unix-socket-path=/var/tmp/mysql.socket \
|
||||||
|
--with-tcp-port=3306 \
|
||||||
|
--enable-static \
|
||||||
|
--disable-shared \
|
||||||
|
--with-low-memory \
|
||||||
|
--enable-largefile \
|
||||||
|
--with-big-tables \
|
||||||
|
--with-mysqld-user=mysqld \
|
||||||
|
--with-extra-charsets=all \
|
||||||
|
--with-pthread \
|
||||||
|
--with-named-thread-libs=-lpthread \
|
||||||
|
--enable-thread-safe-client \
|
||||||
|
--enable-assembler \
|
||||||
|
--enable-local-infile \
|
||||||
|
--without-debug \
|
||||||
|
--without-docs \
|
||||||
|
--without-man \
|
||||||
|
--with-readline \
|
||||||
|
--without-libwrap \
|
||||||
|
--without-pstack \
|
||||||
|
--without-server \
|
||||||
|
--without-embedded-server \
|
||||||
|
--without-libedit \
|
||||||
|
--with-query-cache \
|
||||||
|
--without-plugin-partition \
|
||||||
|
--without-plugin-daemon_example \
|
||||||
|
--without-plugin-ftexample \
|
||||||
|
--without-plugin-archive \
|
||||||
|
--without-plugin-blackhole \
|
||||||
|
--without-plugin-example \
|
||||||
|
--without-plugin-federated \
|
||||||
|
--without-plugin-ibmdb2i \
|
||||||
|
--without-plugin-innobase \
|
||||||
|
--without-plugin-innodb_plugin \
|
||||||
|
--without-plugin-ndbcluster"
|
||||||
|
|
||||||
|
make_host() {
|
||||||
|
make -C include my_config.h
|
||||||
|
make -C mysys libmysys.a
|
||||||
|
make -C strings libmystrings.a
|
||||||
|
make -C dbug factorial
|
||||||
|
make -C vio libvio.a
|
||||||
|
make -C dbug libdbug.a
|
||||||
|
make -C regex libregex.a
|
||||||
|
make -C sql gen_lex_hash
|
||||||
|
make -C scripts comp_sql
|
||||||
|
make -C extra comp_err
|
||||||
|
}
|
||||||
|
|
||||||
|
makeinstall_host() {
|
||||||
|
cp -PR dbug/factorial $ROOT/$TOOLCHAIN/bin/mysql-factorial
|
||||||
|
cp -PR sql/gen_lex_hash $ROOT/$TOOLCHAIN/bin/mysql-gen_lex_hash
|
||||||
|
cp -PR scripts/comp_sql $ROOT/$TOOLCHAIN/bin/mysql-comp_sql
|
||||||
|
cp -PR extra/comp_err $ROOT/$TOOLCHAIN/bin/mysql-comp_err
|
||||||
|
}
|
||||||
|
|
||||||
|
post_makeinstall_target() {
|
||||||
|
sed -i "s|pkgincludedir=.*|pkgincludedir=\'$SYSROOT_PREFIX/usr/include/mysql\'|" scripts/mysql_config
|
||||||
|
sed -i "s|pkglibdir=.*|pkglibdir=\'$SYSROOT_PREFIX/usr/lib/mysql\'|" scripts/mysql_config
|
||||||
|
cp scripts/mysql_config $SYSROOT_PREFIX/usr/bin
|
||||||
|
ln -sf $SYSROOT_PREFIX/usr/bin/mysql_config $ROOT/$TOOLCHAIN/bin/mysql_config
|
||||||
|
|
||||||
|
for i in `ls -d $SYSROOT_PREFIX/usr/lib/mysql/*.a`; do
|
||||||
|
ln -v -sf $i $SYSROOT_PREFIX/usr/lib
|
||||||
|
done
|
||||||
|
|
||||||
|
rm -rf $INSTALL/usr/bin
|
||||||
|
rm -rf $INSTALL/usr/mysql-test
|
||||||
|
rm -rf $INSTALL/usr/share/mysql
|
||||||
|
rm -rf $INSTALL/usr/sql-bench
|
||||||
|
}
|
@ -1,36 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
PKG_NAME="sqlite"
|
|
||||||
PKG_VERSION="autoconf-3071700"
|
|
||||||
PKG_REV="1"
|
|
||||||
PKG_ARCH="any"
|
|
||||||
PKG_LICENSE="PublicDomain"
|
|
||||||
PKG_SITE="http://www.sqlite.org/"
|
|
||||||
PKG_URL="http://sqlite.org/2013/$PKG_NAME-$PKG_VERSION.tar.gz"
|
|
||||||
PKG_DEPENDS=""
|
|
||||||
PKG_BUILD_DEPENDS="toolchain"
|
|
||||||
PKG_PRIORITY="optional"
|
|
||||||
PKG_SECTION="database"
|
|
||||||
PKG_SHORTDESC="sqlite: An Embeddable SQL Database Engine"
|
|
||||||
PKG_LONGDESC="SQLite is a C library that implements an embeddable SQL database engine. Programs that link with the SQLite library can have SQL database access without running a separate RDBMS process. The distribution comes with a standalone command-line access program (sqlite) that can be used to administer an SQLite database and which serves as an example of how to use the SQLite library. SQLite is not a client library used to connect to a big database server. SQLite is the server. The SQLite library reads and writes directly to and from the database files on disk."
|
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
PKG_AUTORECONF="yes"
|
|
42
packages/databases/sqlite/build → packages/databases/sqlite/package.mk
Executable file → Normal file
42
packages/databases/sqlite/build → packages/databases/sqlite/package.mk
Executable file → Normal file
@ -1,5 +1,3 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
# This file is part of OpenELEC - http://www.openelec.tv
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||||
@ -20,7 +18,22 @@
|
|||||||
# http://www.gnu.org/copyleft/gpl.html
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
. config/options $1
|
PKG_NAME="sqlite"
|
||||||
|
PKG_VERSION="autoconf-3071700"
|
||||||
|
PKG_REV="1"
|
||||||
|
PKG_ARCH="any"
|
||||||
|
PKG_LICENSE="PublicDomain"
|
||||||
|
PKG_SITE="http://www.sqlite.org/"
|
||||||
|
PKG_URL="http://sqlite.org/2013/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
|
PKG_DEPENDS=""
|
||||||
|
PKG_BUILD_DEPENDS_TARGET="toolchain"
|
||||||
|
PKG_PRIORITY="optional"
|
||||||
|
PKG_SECTION="database"
|
||||||
|
PKG_SHORTDESC="sqlite: An Embeddable SQL Database Engine"
|
||||||
|
PKG_LONGDESC="SQLite is a C library that implements an embeddable SQL database engine. Programs that link with the SQLite library can have SQL database access without running a separate RDBMS process. The distribution comes with a standalone command-line access program (sqlite) that can be used to administer an SQLite database and which serves as an example of how to use the SQLite library. SQLite is not a client library used to connect to a big database server. SQLite is the server. The SQLite library reads and writes directly to and from the database files on disk."
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
|
PKG_AUTORECONF="yes"
|
||||||
|
|
||||||
# sqlite fails to compile with fast-math link time optimization.
|
# sqlite fails to compile with fast-math link time optimization.
|
||||||
CFLAGS=`echo $CFLAGS | sed -e "s|-Ofast|-O3|g"`
|
CFLAGS=`echo $CFLAGS | sed -e "s|-Ofast|-O3|g"`
|
||||||
@ -53,17 +66,14 @@
|
|||||||
# mmap_size pragma.
|
# mmap_size pragma.
|
||||||
CFLAGS="$CFLAGS -DSQLITE_DEFAULT_MMAP_SIZE=268435456"
|
CFLAGS="$CFLAGS -DSQLITE_DEFAULT_MMAP_SIZE=268435456"
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
./configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--enable-static \
|
|
||||||
--disable-shared \
|
|
||||||
--disable-readline \
|
|
||||||
--enable-threadsafe \
|
|
||||||
--enable-dynamic-extensions \
|
|
||||||
--with-gnu-ld
|
|
||||||
|
|
||||||
make
|
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
|
||||||
$MAKEINSTALL
|
--disable-shared \
|
||||||
|
--disable-readline \
|
||||||
|
--enable-threadsafe \
|
||||||
|
--enable-dynamic-extensions \
|
||||||
|
--with-gnu-ld"
|
||||||
|
|
||||||
|
post_makeinstall_target() {
|
||||||
|
rm -rf $INSTALL/usr/bin
|
||||||
|
}
|
@ -1,43 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
export bash_cv_have_mbstate_t=set
|
|
||||||
|
|
||||||
export CC_FOR_BUILD="$HOST_CC"
|
|
||||||
export CFLAGS_FOR_BUILD="$HOST_CFLAGS"
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
mkdir -p objdir && cd objdir
|
|
||||||
|
|
||||||
../configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--disable-nls \
|
|
||||||
--disable-sim \
|
|
||||||
--without-x \
|
|
||||||
--disable-tui \
|
|
||||||
--disable-libada \
|
|
||||||
--disable-werror \
|
|
||||||
|
|
||||||
make
|
|
@ -1,28 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/bin
|
|
||||||
cp $PKG_BUILD/objdir/$1/$1 $INSTALL/usr/bin
|
|
||||||
cp $PKG_BUILD/objdir/$1/gdbserver/gdbserver $INSTALL/usr/bin
|
|
||||||
cp $PKG_BUILD/objdir/$1/gdbserver/gdbreplay $INSTALL/usr/bin
|
|
@ -25,13 +25,29 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://www.gnu.org/software/gdb/"
|
PKG_SITE="http://www.gnu.org/software/gdb/"
|
||||||
PKG_URL="http://ftp.gnu.org/gnu/gdb/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
PKG_URL="http://ftp.gnu.org/gnu/gdb/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||||
#PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
|
||||||
PKG_DEPENDS="zlib ncurses expat"
|
PKG_DEPENDS="zlib ncurses expat"
|
||||||
PKG_BUILD_DEPENDS="toolchain zlib ncurses expat"
|
PKG_BUILD_DEPENDS_TARGET="toolchain zlib ncurses expat"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="debug"
|
PKG_SECTION="debug"
|
||||||
PKG_SHORTDESC="gdb: The GNU Debugger"
|
PKG_SHORTDESC="gdb: The GNU Debugger"
|
||||||
PKG_LONGDESC="The purpose of a debugger such as GDB is to allow you to see what is going on ``inside'' another program while it executes--or what another program was doing at the moment it crashed."
|
PKG_LONGDESC="The purpose of a debugger such as GDB is to allow you to see what is going on ``inside'' another program while it executes--or what another program was doing at the moment it crashed."
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
|
CC_FOR_BUILD="$HOST_CC"
|
||||||
|
CFLAGS_FOR_BUILD="$HOST_CFLAGS"
|
||||||
|
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="bash_cv_have_mbstate_t=set \
|
||||||
|
--disable-shared \
|
||||||
|
--enable-static \
|
||||||
|
--disable-nls \
|
||||||
|
--disable-sim \
|
||||||
|
--without-x \
|
||||||
|
--disable-tui \
|
||||||
|
--disable-libada \
|
||||||
|
--disable-werror"
|
||||||
|
|
||||||
|
post_makeinstall_target() {
|
||||||
|
rm -rf $INSTALL/usr/share/gdb/python
|
||||||
|
}
|
@ -1,34 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
./configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--localstatedir=/var \
|
|
||||||
--disable-static \
|
|
||||||
--enable-shared \
|
|
||||||
|
|
||||||
make
|
|
@ -1,28 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/bin
|
|
||||||
cp $PKG_BUILD/src/xdemos/glxdemo $INSTALL/usr/bin
|
|
||||||
cp $PKG_BUILD/src/xdemos/glxgears $INSTALL/usr/bin
|
|
||||||
cp $PKG_BUILD/src/xdemos/glxinfo $INSTALL/usr/bin
|
|
@ -1,36 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
PKG_NAME="mesa-demos"
|
|
||||||
PKG_VERSION="8.0.1"
|
|
||||||
PKG_REV="1"
|
|
||||||
PKG_ARCH="any"
|
|
||||||
PKG_LICENSE="OSS"
|
|
||||||
PKG_SITE="http://www.mesa3d.org/"
|
|
||||||
PKG_URL="ftp://ftp.freedesktop.org/pub/mesa/demos/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
|
||||||
PKG_DEPENDS="libX11 glu"
|
|
||||||
PKG_BUILD_DEPENDS="toolchain libX11 Mesa glu glew"
|
|
||||||
PKG_PRIORITY="optional"
|
|
||||||
PKG_SECTION="debug"
|
|
||||||
PKG_SHORTDESC="mesa-demos: Mesa 3D demos"
|
|
||||||
PKG_LONGDESC="Mesa 3D demos - installed are the well known glxinfo and glxgears."
|
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
PKG_AUTORECONF="yes"
|
|
@ -1,66 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
ac_cv_func_setpgrp_void=no \
|
|
||||||
./configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--enable-minimal \
|
|
||||||
--disable-frills \
|
|
||||||
--enable-keepscrolling \
|
|
||||||
--disable-selectionscrolling \
|
|
||||||
--enable-mousewheel \
|
|
||||||
--disable-mouseslipwheel \
|
|
||||||
--enable-rxvt-scroll \
|
|
||||||
--disable-half-shadow \
|
|
||||||
--enable-lastlog \
|
|
||||||
--enable-sessionmgr \
|
|
||||||
--enable-linespace \
|
|
||||||
--enable-24bits \
|
|
||||||
--enable-256colors \
|
|
||||||
--enable-cursor-blink \
|
|
||||||
--enable-pointer-blank \
|
|
||||||
--disable-text-shadow \
|
|
||||||
--enable-menubar \
|
|
||||||
--disable-transparency \
|
|
||||||
--disable-tinting \
|
|
||||||
--enable-xrender \
|
|
||||||
--disable-xpm \
|
|
||||||
--disable-jpeg \
|
|
||||||
--disable-png \
|
|
||||||
--enable-xft \
|
|
||||||
--enable-ttygid \
|
|
||||||
--enable-backspace-key \
|
|
||||||
--enable-delete-key \
|
|
||||||
--disable-resources \
|
|
||||||
--disable-swapscreen
|
|
||||||
|
|
||||||
# --x-includes=$SYSROOT_PREFIX/usr/include \
|
|
||||||
# --x-libraries=$SYSROOT_PREFIX/usr/lib \
|
|
||||||
|
|
||||||
make
|
|
||||||
|
|
||||||
$STRIP src/$1
|
|
@ -1,28 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/bin
|
|
||||||
cp -P $PKG_DIR/scripts/$1-session $INSTALL/usr/bin
|
|
||||||
cp -P $PKG_BUILD/src/$1 $INSTALL/usr/bin
|
|
||||||
|
|
@ -1,36 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
PKG_NAME="mrxvt"
|
|
||||||
PKG_VERSION="0.5.4"
|
|
||||||
PKG_REV="1"
|
|
||||||
PKG_ARCH="any"
|
|
||||||
PKG_LICENSE="GPL"
|
|
||||||
PKG_SITE="http://materm.sourceforge.net/"
|
|
||||||
PKG_URL="$SOURCEFORGE_SRC/materm/$PKG_NAME-$PKG_VERSION.tar.gz"
|
|
||||||
PKG_DEPENDS="libX11 libXrender freetype"
|
|
||||||
PKG_BUILD_DEPENDS="toolchain libX11 libXrender freetype"
|
|
||||||
PKG_PRIORITY="optional"
|
|
||||||
PKG_SECTION="debug"
|
|
||||||
PKG_SHORTDESC="mrxvt: Lightweight Xterm replacement"
|
|
||||||
PKG_LONGDESC="Mrxvt (previously named as materm) is a lightweight and powerful multi-tabbed X terminal emulator based on the popular rxvt and aterm. It implements many useful features seen in some modern X terminal emulators, like gnome-terminal and konsole, but keep to be lightweight and independent from the GNOME and KDE desktop environment."
|
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
PKG_AUTORECONF="yes"
|
|
@ -1,12 +0,0 @@
|
|||||||
diff -Naur mrxvt-0.5.4/configure.ac mrxvt-0.5.4.patch/configure.ac
|
|
||||||
--- mrxvt-0.5.4/configure.ac 2008-05-12 19:21:56.000000000 +0200
|
|
||||||
+++ mrxvt-0.5.4.patch/configure.ac 2013-01-12 01:54:55.819541351 +0100
|
|
||||||
@@ -28,7 +28,7 @@
|
|
||||||
AC_INIT(mrxvt, 0.5.4, [jimmyzhou@users.sourceforge.net])
|
|
||||||
AM_INIT_AUTOMAKE(mrxvt, 0.5.4)
|
|
||||||
|
|
||||||
-AM_CONFIG_HEADER(config.h)
|
|
||||||
+AC_CONFIG_HEADERS(config.h)
|
|
||||||
AC_CONFIG_SRCDIR([src/main.c])
|
|
||||||
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Core (PATH) environment variables.
|
|
||||||
#
|
|
||||||
# This file contains non-OpenELEC evironment variables as well as OpenELEC
|
|
||||||
# evironment variables that are not user defined.
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
TERMINAL="/usr/bin/mrxvt-session"
|
|
||||||
|
|
||||||
export TERMINAL
|
|
@ -1,9 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
. /etc/profile
|
|
||||||
|
|
||||||
# start Windowmanager by default
|
|
||||||
$WINDOWMANAGER -term mrxvt &
|
|
||||||
|
|
||||||
# start terminal
|
|
||||||
mrxvt
|
|
@ -28,10 +28,10 @@ PKG_URL=""
|
|||||||
PKG_DEPENDS="gdb strace"
|
PKG_DEPENDS="gdb strace"
|
||||||
PKG_BUILD_DEPENDS="toolchain"
|
PKG_BUILD_DEPENDS="toolchain"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="debug"
|
PKG_SECTION="virtual"
|
||||||
PKG_SHORTDESC="debug: Metapackage for installing debugging tools"
|
PKG_SHORTDESC="debug: Metapackage for installing debugging tools"
|
||||||
PKG_LONGDESC="debug is a Metapackage for installing debugging tools"
|
PKG_LONGDESC="debug is a Metapackage for installing debugging tools"
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
|
|
@ -1,29 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
./configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME
|
|
||||||
|
|
||||||
make
|
|
@ -1,26 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/bin
|
|
||||||
cp $PKG_BUILD/strace $INSTALL/usr/bin
|
|
@ -26,11 +26,16 @@ PKG_LICENSE="BSD"
|
|||||||
PKG_SITE="http://sourceforge.net/projects/strace/"
|
PKG_SITE="http://sourceforge.net/projects/strace/"
|
||||||
PKG_URL="$SOURCEFORGE_SRC/strace/strace/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.xz"
|
PKG_URL="$SOURCEFORGE_SRC/strace/strace/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="toolchain"
|
PKG_BUILD_DEPENDS_TARGET="toolchain"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="debug"
|
PKG_SECTION="debug"
|
||||||
PKG_SHORTDESC="strace: Trace system calls and signals"
|
PKG_SHORTDESC="strace: Trace system calls and signals"
|
||||||
PKG_LONGDESC="In the simplest case strace runs the specified command until it exits. It intercepts and records the system calls which are called by a process and the signals which are received by a process. The name of each system call, its arguments and its return value are printed on standard error or to the file specified with the -o option."
|
PKG_LONGDESC="In the simplest case strace runs the specified command until it exits. It intercepts and records the system calls which are called by a process and the signals which are received by a process. The name of each system call, its arguments and its return value are printed on standard error or to the file specified with the -o option."
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="yes"
|
PKG_AUTORECONF="yes"
|
||||||
|
|
||||||
|
post_makeinstall_target() {
|
||||||
|
rm -rf $INSTALL/usr/bin/strace-graph
|
||||||
|
rm -rf $INSTALL/usr/bin/strace-log-merge
|
||||||
|
}
|
@ -26,7 +26,7 @@ PKG_LICENSE="LGPL"
|
|||||||
PKG_SITE="http://www.gtk.org/"
|
PKG_SITE="http://www.gtk.org/"
|
||||||
PKG_URL=""
|
PKG_URL=""
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS=""
|
||||||
PKG_BUILD_DEPENDS="ccache libffi-host zlib-host Python-host"
|
PKG_BUILD_DEPENDS="ccache libffi-host zlib:host Python-host"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="devel"
|
PKG_SECTION="devel"
|
||||||
PKG_SHORTDESC="glib-host: C support library"
|
PKG_SHORTDESC="glib-host: C support library"
|
||||||
|
@ -1,68 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
# llvm fails to build with LTO support
|
|
||||||
strip_lto
|
|
||||||
|
|
||||||
if [ "$TARGET_ARCH" = i386 ]; then
|
|
||||||
LLVM_ARCH=x86
|
|
||||||
elif [ "$TARGET_ARCH" = x86_64 ]; then
|
|
||||||
LLVM_ARCH=x86_64
|
|
||||||
fi
|
|
||||||
|
|
||||||
LLVM_DIR=`ls -d $BUILD/llvm-[0-9]*`
|
|
||||||
|
|
||||||
cd $LLVM_DIR
|
|
||||||
|
|
||||||
mkdir -p .build-target && cd .build-target
|
|
||||||
../configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--enable-polly \
|
|
||||||
--enable-optimized \
|
|
||||||
--disable-profiling \
|
|
||||||
--disable-assertions \
|
|
||||||
--disable-expensive-checks \
|
|
||||||
--disable-debug-runtime \
|
|
||||||
--disable-debug-symbols \
|
|
||||||
--enable-jit \
|
|
||||||
--disable-docs \
|
|
||||||
--disable-doxygen \
|
|
||||||
--enable-threads \
|
|
||||||
--enable-pthreads \
|
|
||||||
--enable-pic \
|
|
||||||
--enable-shared \
|
|
||||||
--enable-embed-stdcxx \
|
|
||||||
--enable-timestamps \
|
|
||||||
--enable-targets=$LLVM_ARCH \
|
|
||||||
--disable-libffi \
|
|
||||||
--disable-ltdl-install \
|
|
||||||
|
|
||||||
LLVM_TBLGEN="$ROOT/$TOOLCHAIN/bin/llvm-tblgen" \
|
|
||||||
make
|
|
||||||
|
|
||||||
LLVM_TBLGEN="$ROOT/$TOOLCHAIN/bin/llvm-tblgen" \
|
|
||||||
$MAKEINSTALL
|
|
||||||
|
|
||||||
#TCLSH="$ROOT/$TOOLCHAIN/bin/tclsh" \
|
|
@ -1,27 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
|
||||||
#
|
|
||||||
# This Program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
# any later version.
|
|
||||||
#
|
|
||||||
# This Program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
|
||||||
# http://www.gnu.org/copyleft/gpl.html
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
. config/options $1
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
cp -P $PKG_BUILD/.build-target/Release/lib/libLLVM-*.so $INSTALL/usr/lib
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user