mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
new package: add package 'xf86-video-omapfb'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
164b7f45af
commit
7b637130ae
@ -88,6 +88,7 @@ get_graphicdrivers() {
|
|||||||
[ "$drv" = "r600" ] && MESA_DRIVERS="$MESA_DRIVERS,r600"
|
[ "$drv" = "r600" ] && MESA_DRIVERS="$MESA_DRIVERS,r600"
|
||||||
[ "$drv" = "radeon" ] && MESA_DRIVERS="$MESA_DRIVERS,radeon"
|
[ "$drv" = "radeon" ] && MESA_DRIVERS="$MESA_DRIVERS,radeon"
|
||||||
[ "$drv" = "nouveau" ] && MESA_DRIVERS="$MESA_DRIVERS,nouveau"
|
[ "$drv" = "nouveau" ] && MESA_DRIVERS="$MESA_DRIVERS,nouveau"
|
||||||
|
[ "$drv" = "omapfb" ] && MESA_DRIVERS="$MESA_DRIVERS,swrast"
|
||||||
|
|
||||||
if [ "$drv" = "i915" -o "$drv" = "i965" ]; then
|
if [ "$drv" = "i915" -o "$drv" = "i965" ]; then
|
||||||
XORG_DRIVERS="$XORG_DRIVERS intel"
|
XORG_DRIVERS="$XORG_DRIVERS intel"
|
||||||
@ -106,6 +107,10 @@ get_graphicdrivers() {
|
|||||||
XINERAMA_SUPPORT="yes"
|
XINERAMA_SUPPORT="yes"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$drv" = "omapfb" ]; then
|
||||||
|
XORG_DRIVERS="$XORG_DRIVERS ompafb"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$drv" = "vmware" ]; then
|
if [ "$drv" = "vmware" ]; then
|
||||||
XINERAMA_SUPPORT="yes"
|
XINERAMA_SUPPORT="yes"
|
||||||
fi
|
fi
|
||||||
|
41
packages/x11/driver/xf86-video-omapfb/build
Executable file
41
packages/x11/driver/xf86-video-omapfb/build
Executable file
@ -0,0 +1,41 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# This file is part of OpenELEC - http://www.openelec.tv
|
||||||
|
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
if [ "$TARGET_FPU" = neon -o "$TARGET_FPU" = neon-fp16 ]; then
|
||||||
|
CFG_NEON="--enable-neon"
|
||||||
|
else
|
||||||
|
CFG_NEON="--disable-neon"
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd $PKG_BUILD
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--disable-static \
|
||||||
|
--enable-shared \
|
||||||
|
--with-xorg-module-dir=$XORG_PATH_MODULES \
|
||||||
|
$CFG_NEON \
|
||||||
|
|
||||||
|
make
|
26
packages/x11/driver/xf86-video-omapfb/install
Executable file
26
packages/x11/driver/xf86-video-omapfb/install
Executable file
@ -0,0 +1,26 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# This file is part of OpenELEC - http://www.openelec.tv
|
||||||
|
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/$XORG_PATH_MODULES/drivers
|
||||||
|
cp $PKG_BUILD/src/.libs/*_drv.so $INSTALL/$XORG_PATH_MODULES/drivers
|
36
packages/x11/driver/xf86-video-omapfb/meta
Normal file
36
packages/x11/driver/xf86-video-omapfb/meta
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
################################################################################
|
||||||
|
# This file is part of OpenELEC - http://www.openelec.tv
|
||||||
|
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
PKG_NAME="xf86-video-omapfb"
|
||||||
|
PKG_VERSION="0446176"
|
||||||
|
PKG_REV="1"
|
||||||
|
PKG_ARCH="arm"
|
||||||
|
PKG_LICENSE="OSS"
|
||||||
|
PKG_SITE="http://cgit.pingu.fi/xf86-video-omapfb"
|
||||||
|
PKG_URL="$OPENELEC_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||||
|
PKG_DEPENDS="libXrender libXext libX11"
|
||||||
|
PKG_BUILD_DEPENDS="toolchain libXrender libXext xorg-server"
|
||||||
|
PKG_PRIORITY="optional"
|
||||||
|
PKG_SECTION="x11/driver"
|
||||||
|
PKG_SHORTDESC="xf86-video-ompafb: OMAP3/4 framebuffer display driver"
|
||||||
|
PKG_LONGDESC="This driver for the X.Org X server (see xserver-xorg for a further description) provides support for OMAP3/4 framebuffer devices."
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
|
|
||||||
|
PKG_AUTORECONF="yes"
|
Loading…
x
Reference in New Issue
Block a user