smpeg-config(1)

πŸ’– smpeg-config β€” like, the SMPEG info dealer πŸ’–

okay bestie, this is the manual page for smpeg-config, living in section 1 of the General Commands Manual (that's the "General Commands" manual, so you know it's a command-command, not a library or a config file). Pull up a chair. 🫢


✨ NAME ✨

smpeg-config β€” a script that tells you stuff about the SMPEG install you've got on your machine. No cap. It's literally just here to hand you the facts. πŸ’…


🌸 SYNOPSIS 🌸

smpeg-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs]
             [--cflags]

that's the whole vibe. a bunch of optional flags, zero required args. she's flexible like that. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

so smpeg-config is a tool whose entire personality is determining the compiler and linker flags you should use to compile and link programs that use the SMPEG library. that's it. that's the job. she is the little birdie that tells your build system which flags to pass. 🐦


πŸ‘‘ OPTIONS πŸ‘‘

  • --version β€” prints the currently installed version of SMPEG straight to standard output. cute, quick, factual. a little "who am I" moment. πŸ’–
  • --libs β€” prints the linker flags you need to link a program that uses SMPEG. this is the one you want when you're building an executable that links against SMPEG. πŸ”₯
  • --library-libs β€” prints the linker flags you need to link a library that uses SMPEG. ⚠️ important: this one excludes any static objects required for linking, because those can only be linked by executable programs. so like, not the same as --libs, bestie, don't get it twisted. πŸ’€
  • --plugin-libs β€” prints the linker flags you need to link an SMPEG-using object that's going to be accessed via dlopen(3). this one may include static objects with PIC symbol information. πŸŽ€
🚨 and listen: this option should NOT be used for ordinary shared libraries or standalone applications. it's a plugin-only girlie. using it elsewhere is not the move. periodt.
  • --cflags β€” prints the compiler flags you need to compile an SMPEG-using library or program. the compile-time half of the duo. 🌸
  • --prefix=PREFIX β€” if you specify this, she uses PREFIX instead of the installation prefix that SMPEG was built with when computing the output for the --cflags and --libs options. this option also gets used for the exec prefix if --exec-prefix was not specified. πŸͺ„
⭐ ORDER MATTERS: this option must be specified before any --libs, --library-libs, --plugin-libs or --cflags options. she reads left to right, so if you put it after, it's giving nothing. πŸ™ˆ
  • --exec-prefix=PREFIX β€” if you specify this, she uses PREFIX instead of the installation exec prefix that SMPEG was built with when computing the output for the --cflags, --libs, --library-libs and --plugin-libs options. note that's a slightly different crew of options than --prefix touches β€” she's thorough. πŸ’œ
⭐ same rule: this option must be specified before any --libs, --library-libs, --plugin-libs or --cflags options. no exceptions, no vibes-based reordering. πŸ’…

🌈 AUTHOR 🌈

The SDL MPEG Player Library was written by Karl Robillard and Sam Lantinga of Loki Entertainment Software. 🫢 Please report any bugs and/or fixes to smpeg@lokigames.com. Streaming MPEG support was contributed by Vivien Chappelier. πŸ‘‘

This manual page was written by Stefan Gybas <sgybas@debian.org> and modified by Joe Drew <drew@debian.org> and Branden Robinson <branden@debian.org> for the Debian GNU/Linux operating system, but may be used by others. iconic of them, honestly. πŸŽ€


okay and that's a wrap!! 🌟 the footer on this one is just smpeg-config(1) chillin' down at the bottom, from the General Commands Manual β€” no extra version number or date on the page itself, so nothing else to spill. go forth and link your MPEGs, bestie. mwah. πŸ’‹βœ¨