README 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. $OpenBSD: README,v 1.3 2017/06/12 10:57:57 ajacoutot Exp $
  2. +-----------------------------------------------------------------------
  3. | Running ${FULLPKGNAME} on OpenBSD
  4. +-----------------------------------------------------------------------
  5. Google API key
  6. ==============
  7. Minitube 2.4 has been ported to the new YouTube API version 3, hence an
  8. API key is now required in order to access the YouTube Data web services.
  9. Go to https://console.developers.google.com/
  10. Log in using your Google account
  11. Click on "Create Project"
  12. Enter a Project name (e.g.: "Minitube")
  13. On the left side bar, expand the "APIs & auth" drop-down menu and
  14. click on "Credentials"
  15. Click on "Create new Key" and then on "Browser key"
  16. Click on "Create"
  17. You should get an output like the one below:
  18. Key for browser applications
  19. API key AIzaSyD7zlL9sAC6-IcwU7Bpds8lZNzmqQTmALQ
  20. Referers Any referer allowed
  21. Activation date Apr 28, 2015, 2:02:00 AM
  22. Activated by johndoe@gmail.com (you)
  23. Be sure that "YouTube Data API v3" is enabled under "APIs & auth" ->
  24. "APIs" -> "Enabled APIs"
  25. If not, go to "APIs & auth" -> "APIs" -> "API Library", click on "YouTube
  26. Data API" and then on "Enable API" to enable it.
  27. Add the environment variable containing your newly generated key
  28. to your ~/.profile or ~/.xinitrc:
  29. GOOGLE_API_KEY="AIzaSyD7zlL9sAC6-IcwU7Bpds8lZNzmqQTmALQ"
  30. export GOOGLE_API_KEY
  31. Phonon render method
  32. ====================
  33. Minitube uses the old phonon library (from qt4), not the newer kde4
  34. phonon library (multimedia/phonon). If you would like to use OpenGL
  35. as the preferred render method for this, export two additional
  36. environment variables into your ~/.profile or ~/.xinitrc:
  37. PHONON_GST_VIDEOMODE=opengl
  38. QT_GL_USE_OPENGL1ENGINE=1