Skip to content

Instantly share code, notes, and snippets.

Created March 17, 2013 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/5182209 to your computer and use it in GitHub Desktop.
Save anonymous/5182209 to your computer and use it in GitHub Desktop.
media/wwn/em/ports/local/xbmc/Pkgfile
# Description: Free and open source (GPL) software media player
# URL: http://xbmc.org/
# Maintainer: Emmanuel Benisty, benisty dot e at gmail dot com
# Packager: Emmanuel Benisty, benisty dot e at gmail dot com
# Depends on: boost glew libsamplerate lzo wavpack libmpeg2 fribidi libcdio libmms libbluray mysql libmodplug samba sdl_mixer jasper sdl_image enca dbus libmicrohttpd rtmpdump gperf yasm livdpau
name=xbmc
version=12.0
release=1
source=(http://mirrors.xbmc.org/releases/source/xbmc-$version.tar.gz)
build() {
cd $name-$version
export CFLAGS+=" -fexcess-precision=fast"
export CXXFLAGS+=" -fexcess-precision=fast"
export FFMPEG_CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
./bootstrap
./configure --prefix=/usr \
--enable-optimizations \
--enable-vdpau \
--enable-libbluray \
--disable-hal \
--disable-avahi \
--disable-pulse \
--disable-debug \
--disable-samba \
--disable-nfs \
--with-lirc-device=/var/run/lirc/lircd
#--enable-external-librairies \
#--disable-vaapi \
#--enable-rtmp \
make
make prefix="$PKG/usr" install
install -D -m 0755 tools/TexturePacker/TexturePacker $PKG/usr/share/xbmc/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment