mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
534 B

  1. if [ -z "$ROCKCFG_PKG_MYTHTV_PREFIX" ] ; then
  2. prefix=opt/mythtv
  3. else
  4. prefix=$ROCKCFG_PKG_MYTHTV_PREFIX
  5. fi
  6. mythmusic_premake() {
  7. sed -i -e "s,^PREFIX = /usr/local\$,PREFIX = $root/$prefix," settings.pro
  8. qmake mythmusic.pro
  9. }
  10. # their 'configure' is not what we'd expect.
  11. # additionally, enabling opengl it segfaults for me...
  12. #confopt="--enable-opengl"
  13. confopt=""
  14. extraconfopt=""
  15. pkginstalled fftw && confopt="$confopt --enable-fftw"
  16. pkginstalled libsdl && confopt="$confopt --enable-sdl"
  17. hook_add premake 1 mythmusic_premake