PKGBUILD 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917
  1. # Maintainer (arch:gstreamer): Jan Alexander Steffens (heftig) <heftig@archlinux.org>
  2. # Contributor: Jan de Groot <jgc@archlinux.org>
  3. # Contributor: Omar Vega Ramos <ovruni@gnu.org.pe>
  4. # Contributor: Isaac David <isacdaavid@at@isacdaavid@dot@info>
  5. # Contributor: Márcio Silva <coadde@hyperbola.info>
  6. # Contributor: bill-auger <bill-auger@programmer.net>
  7. # Contributor: David P. <megver83@parabola.nu>
  8. # Maintainer: Parabola Hackers <dev@lists.parabola.nu>
  9. # parabola changes and rationale:
  10. # libre:
  11. # - removed support for non-free 'faac' codec
  12. # - disabled tests by default (some require networking)
  13. # technical:
  14. # - build from versioned source-ball, rather than VCS sources
  15. # - disabled 'svt-hevc' for 32-bit arches
  16. # - disabled 'msdk' for 32-bit arches
  17. # - disabled 'qsv' for armv7h
  18. # - disabled 'svt-av1' for armv7h
  19. # - FIXME: disabled 'gst-plugin-opencv' - 'opencv' package FTBS
  20. # https://labs.parabola.nu/issues/3107
  21. # NOTE: Only gst-plugins-bad{,-libs},gst-plugin-{opencvwpe} need to be rebuilt per the FSDG.
  22. # However, due to a circular dependency of 'wpewebkit' on 'gst-plugins-bad-libs',
  23. # which we pin to the corresponding version of gstreamer.
  24. # 'wpewebkit' -> 'gst-plugins-bad-libs' -> 'gst-plugins-base-libs=V-1' -> 'gstreamer=V-1'
  25. # If those were taken from arch, gst-plugins-bad-libs would not be satisfied;
  26. # and those would need to be installed manually into the build chroot.
  27. # NOTE: This PKGBUILD is kept in-sync, as closely as possible,
  28. # with arch{,arm,32} (gstreamer), for the sake of documentation and cleaner diffs.
  29. # That also helps to identify which changes were made by Parabola vs upstream.
  30. # Therefore, this PKGBUILD may declare blacklisted dependencies, non-free sources,
  31. # or include code for anti-features; but those will be filtered-out subsequently.
  32. # Any code which implements an anti-feature should be commented-out;
  33. # and include an 'anti-feature' comment, for clarity.
  34. # Any blacklisted dependencies and non-free sources should be filtered,
  35. # and include a 'non-free' comment, for clarity.
  36. # Without those over-rides, the resulting program may not be FSDG-fit.
  37. # Do not circumvent those over-rides, if compiling for the Parabola repos.
  38. pkgbase=gstreamer
  39. pkgname=(
  40. gstreamer
  41. gst-plugins-bad-libs # Split badaudio first
  42. gst-plugins-base-libs
  43. gst-plugins-base
  44. gst-plugins-good
  45. gst-plugins-bad
  46. gst-plugin-gtk
  47. gst-plugin-msdk
  48. gst-plugin-opencv
  49. gst-plugin-qml6
  50. gst-plugin-qmlgl
  51. gst-plugin-qsv
  52. gst-plugin-va
  53. gst-plugin-wpe
  54. gst-plugins-ugly
  55. gst-libav
  56. gst-rtsp-server
  57. gst-editing-services
  58. gstreamer-vaapi
  59. gst-python
  60. gstreamer-docs
  61. )
  62. pkgname=( ${pkgname[*]/$([[ "${CARCH}" == x86_64 ]] || echo gst-plugin-msdk)/} ) # x86_64 only
  63. pkgname=( ${pkgname[*]/$([[ "${CARCH}" != armv7h ]] || echo gst-plugin-qsv)/} ) # x86 only
  64. pkgname=( ${pkgname[*]/gst-plugin-opencv/} ) # FIXME: 'opencv' package FTBS
  65. pkgver=1.24.0
  66. pkgrel=1
  67. _pkgver_i686=1.20.5 # NOTE: v1.20.5 fails to compile for i686 - after this moves ahead,
  68. _pkgrel_i686=3.0 # try to remove the LOCs with comment: "# n/a in v1.20.5"
  69. eval "[[ -v _pkgver_${CARCH} ]] && pkgver=\$_pkgver_${CARCH}" # our different arches do not
  70. eval "[[ -v _pkgrel_${CARCH} ]] && pkgrel=\$_pkgrel_${CARCH}" # always roll at the same speed
  71. pkgrel+=.parabola1
  72. pkgdesc="Multimedia graph framework"
  73. url="https://gstreamer.freedesktop.org/"
  74. arch=(x86_64)
  75. arch+=(armv7h i686)
  76. license=(LGPL)
  77. # license=(LGPL-2.1-or-later) # TODO:
  78. makedepends=(
  79. # superproject
  80. git meson
  81. # gstreamer
  82. bash-completion gobject-introspection gtk3 libcap libelf libunwind python rust
  83. valgrind
  84. # gst-plugins-base
  85. alsa-lib cdparanoia graphene libdrm libglvnd libgudev libjpeg libpng libtheora
  86. libx11 libxi libxv mesa opus orc pango qt5-base qt5-tools sdl2 wayland
  87. wayland-protocols zlib
  88. # gst-plugins-good
  89. aalib cairo flac gdk-pixbuf2 jack2 lame libavc1394 libcaca libdv libiec61883
  90. libpulse libraw1394 libshout libsoup3 libvpx libxdamage libxtst mpg123 nasm
  91. nettle opencore-amr qt5-declarative qt5-wayland qt5-x11extras qt6-declarative
  92. qt6-shadertools qt6-tools qt6-wayland speex taglib twolame v4l-utils wavpack
  93. # gst-plugins-bad
  94. bluez-libs bzip2 chromaprint faac faad2 fluidsynth gsm json-glib ladspa
  95. libavtp libbs2b libdca libde265 libdvdnav libfdk-aac libfreeaptx libgme
  96. liblc3 libldac liblrdf libltc libmicrodns libmodplug libmpcdec libnice
  97. libopenmpt libsrtp libva libvpl libxkbcommon-x11 libxml2 lilv lv2 mjpegtools
  98. neon openal opencv qrencode rtmpdump sbc shaderc soundtouch spandsp svt-av1
  99. svt-hevc vulkan-headers vulkan-icd-loader vulkan-validation-layers
  100. webrtc-audio-processing-1 wildmidi wpewebkit zbar zvbi zxing-cpp
  101. # gst-plugins-ugly
  102. a52dec libcdio libdvdread libmpeg2 x264
  103. # gst-libav
  104. ffmpeg
  105. # gstreamer-vaapi
  106. libxrandr
  107. # gst-python
  108. python-gobject
  109. )
  110. makedepends=( ${makedepends[*]/faac/} ) # non-free
  111. makedepends=( ${makedepends[*]/git/} ) # use source-ball, not VCS
  112. makedepends=( ${makedepends[*]/$([[ "${CARCH}" == x86_64 ]] || echo svt-hevc)/} ) # x86_64 only
  113. makedepends=( ${makedepends[*]/$([[ "${CARCH}" != armv7h ]] || echo svt-av1)/} ) # x86 only
  114. makedepends=( ${makedepends[*]/$([[ "${CARCH}" == x86_64 ]] || echo libvpl)/} ) # x86_64 only
  115. checkdepends=(xorg-server-xvfb)
  116. source=(
  117. "git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git?signed#tag=$pkgver"
  118. "https://gstreamer.freedesktop.org/src/gstreamer-docs/gstreamer-docs-$pkgver.tar.xz"{,.asc}
  119. 0001-HACK-meson-Disable-broken-tests.patch
  120. )
  121. _srcball_url=https://gitlab.freedesktop.org/gstreamer/gstreamer/-/archive/${pkgver}/gstreamer-${pkgver}.tar.gz
  122. source=( ${source[*]/git+*/$_srcball_url} ) # use source-ball, not VCS
  123. b2sums=('SKIP'
  124. '506088437f614f17a24402f70605d0a3831a597bec27c486763418d1ddce7dfa2370eac95e83dd82e1e2e856aaf0050ccf4b4e06a78a2664627236df762bde74'
  125. 'SKIP'
  126. 'afe47af956fe50ab2d77dba5d1e84649f63443a816ad7a0d0c0a37f2f46e1da3473472bd1183843b37dd3c0c61ee496b3d246df5de35e5df960a09bcac7eb48f')
  127. _b2sum_x86_64=a79e105927fd45f6fd9881b1b7ff70e358c6a74119fb69f7907880979eb60466a19362f970fe476326ce90dce8bc5ed7e7e95013af0d3e83ab9b7366a06e922f # upstream source-ball
  128. _b2sum_i686=518a025591e2d03296197dd4b6d30dbdd1a4c2b1d435df62cf451f13c1233c7fc1ad877344765c7b5c863e4886b7df750096fdb8835151cccf9618590801f1ea # upstream source-ball
  129. eval "[[ -v _b2sum_${CARCH} ]] && b2sums[0]=\$_b2sum_${CARCH}" # upstream source-ball
  130. validpgpkeys=(
  131. D637032E45B8C6585B9456565D2EEE6F6F349D7C # Tim Müller <tim@gstreamer-foundation.org>
  132. )
  133. _DISABLE_TESTS=1
  134. ## dependency over-rides ##
  135. makedepends=( ${makedepends[*]/opencv/} libdc1394 ) # FIXME: 'opencv' package FTBS
  136. prepare() {
  137. # link source-ball root dir as VCS root dirname (minimize diff)
  138. ln -s gstreamer-${pkgver} gstreamer
  139. cd gstreamer
  140. # Disable broken tests
  141. patch -Np1 < ../0001-HACK-meson-Disable-broken-tests.patch # DIFF: use source-ball, not VCS
  142. }
  143. build() {
  144. ## build configuration ##
  145. # DIFF: let these 'meson_options' match the arch PKGBUILD exactly
  146. # several of these defines will be clobbered in the "parabola over-rides" section
  147. local meson_options=(
  148. # Superproject options
  149. -D devtools=disabled
  150. -D examples=disabled
  151. -D gobject-cast-checks=disabled
  152. -D gpl=enabled
  153. -D gst-examples=disabled
  154. -D libnice=disabled
  155. -D orc-source=system
  156. -D package-name="Arch Linux GStreamer ${epoch:+$epoch:}$pkgver-$pkgrel"
  157. -D package-origin="https://www.archlinux.org/"
  158. -D vaapi=enabled
  159. # Subproject options
  160. -D gstreamer:dbghelp=disabled
  161. -D gstreamer:ptp-helper-permissions=capabilities
  162. -D gst-plugins-base:libvisual=disabled
  163. -D gst-plugins-base:tremor=disabled
  164. -D gst-plugins-good:rpicamsrc=disabled
  165. -D gst-plugins-bad:aja=disabled
  166. -D gst-plugins-bad:amfcodec=disabled
  167. -D gst-plugins-bad:directfb=disabled
  168. -D gst-plugins-bad:directshow=disabled
  169. -D gst-plugins-bad:directsound=disabled
  170. -D gst-plugins-bad:flite=disabled
  171. -D gst-plugins-bad:gs=disabled
  172. -D gst-plugins-bad:iqa=disabled
  173. -D gst-plugins-bad:isac=disabled
  174. -D gst-plugins-bad:magicleap=disabled
  175. -D gst-plugins-bad:mfx_api=oneVPL
  176. -D gst-plugins-bad:onnx=disabled
  177. -D gst-plugins-bad:openh264=disabled
  178. -D gst-plugins-bad:openni2=disabled
  179. -D gst-plugins-bad:opensles=disabled
  180. -D gst-plugins-bad:qt6d3d11=disabled
  181. -D gst-plugins-bad:tinyalsa=disabled
  182. -D gst-plugins-bad:voaacenc=disabled
  183. -D gst-plugins-bad:voamrwbenc=disabled
  184. -D gst-plugins-bad:wasapi2=disabled
  185. -D gst-plugins-bad:wasapi=disabled
  186. -D gst-plugins-bad:wic=disabled
  187. -D gst-plugins-bad:win32ipc=disabled
  188. -D gst-plugins-ugly:sidplay=disabled
  189. -D gst-editing-services:validate=disabled
  190. )
  191. ## parabola over-rides ##
  192. # branding
  193. meson_options=( "${meson_options[@]/Arch Linux/Parabola GNU\/Linux-libre}" )
  194. meson_options=( "${meson_options[@]/archlinux.org/parabola.nu}" )
  195. # libre options
  196. meson_options+=( -D gst-plugins-bad:faac=disabled ) # non-free
  197. # arch-specific options
  198. if [[ "${CARCH}" == i686 ]]
  199. then meson_options=( "${meson_options[@]/amfcodec=disabled/faac=disabled}" ) # n/a in v1.20.5
  200. meson_options=( "${meson_options[@]/directshow=disabled/faac=disabled}" ) # n/a in v1.20.5
  201. meson_options=( "${meson_options[@]/wic=disabled/faac=disabled}" ) # n/a in v1.20.5
  202. meson_options=( "${meson_options[@]/win32ipc=disabled/faac=disabled}" ) # n/a in v1.20.5
  203. fi
  204. meson_options+=(
  205. $( case "${CARCH}" in armv7h) echo '-D gst-plugins-bad:msdk=disabled' # x86_64 only
  206. echo '-D gst-plugins-bad:qsv=disabled' # x86 only
  207. echo '-D gst-plugins-bad:svthevcenc=disabled' # x86_64 only
  208. echo '-D gst-plugins-bad:svtav1=disabled' ;; # x86 only
  209. i686 ) echo '-D gst-plugins-bad:msdk=disabled' # x86_64 only
  210. echo '-D gst-plugins-bad:svthevcenc=disabled' ;; # x86_64 only
  211. esac )
  212. )
  213. # emergency options :(
  214. meson_options+=(-D gst-plugins-bad:opencv=disabled) # FIXME: 'opencv' package FTBS
  215. ## build ##
  216. arch-meson gstreamer build "${meson_options[@]}"
  217. meson configure build # Print config
  218. meson compile -C build
  219. }
  220. check() (
  221. # networing tests fail in librechroots
  222. # elements_rtpsrc, elements_rtpsink, elements_srtp, elements_netsim, elements_webrtcbin
  223. (( ! _DISABLE_TESTS )) || ! echo "skipping check()" || return 0
  224. export XDG_RUNTIME_DIR="$PWD/runtime-dir"
  225. mkdir -p -m 700 "$XDG_RUNTIME_DIR"
  226. # Flaky due to timeouts
  227. xvfb-run -s '-nolisten local' \
  228. meson test -C build --print-errorlogs -t 3
  229. )
  230. _install() {
  231. local src dir
  232. for src in "${files[@]}"; do
  233. dir="$pkgdir/$(dirname "$src")"
  234. mkdir -p "$dir"
  235. mv -v "$src" "$dir"
  236. done
  237. }
  238. package_gstreamer() {
  239. pkgdesc+=" - core"
  240. depends=(
  241. glib2 libcap libelf libunwind libxml2
  242. )
  243. optdepends=('python: gst-plugins-doc-cache-generator')
  244. install=gstreamer.install
  245. meson install -C build --destdir "$srcdir/root"
  246. cd root; local files=(
  247. usr/include/gstreamer-1.0/gst/{base,check,controller,net,*.h}
  248. usr/lib/libgst{reamer,base,check,controller,net}-1.0.so*
  249. usr/lib/pkgconfig/gstreamer{,-base,-check,-controller,-net}-1.0.pc
  250. usr/lib/girepository-1.0/Gst{,Base,Check,Controller,Net}-1.0.typelib
  251. usr/share/gir-1.0/Gst{,Base,Check,Controller,Net}-1.0.gir
  252. usr/lib/gstreamer-1.0/gst-{completion,ptp}-helper
  253. usr/lib/gstreamer-1.0/gst-{hotdoc-plugins,plugin}-scanner
  254. usr/lib/gstreamer-1.0/gst-plugins-doc-cache-generator
  255. usr/lib/gstreamer-1.0/gst-ptp-helper-test
  256. usr/lib/gstreamer-1.0/libgstcoreelements.so
  257. usr/lib/gstreamer-1.0/libgstcoretracers.so
  258. usr/share/locale/*/LC_MESSAGES/gstreamer-1.0.mo
  259. usr/bin/gst-{inspect,launch,stats,tester,typefind}-1.0
  260. usr/share/man/man1/gst-{inspect,launch,stats,typefind}-1.0.1
  261. usr/share/bash-completion/completions/gst-{inspect,launch}-1.0
  262. usr/share/bash-completion/helpers/gst
  263. usr/share/gdb/auto-load/usr/lib/libgstreamer-1.0.so*.py
  264. usr/share/gstreamer-1.0/gdb/glib_gobject_helper.py
  265. usr/share/gstreamer-1.0/gdb/gst_gdb.py
  266. usr/share/aclocal/gst-element-check-1.0.m4
  267. ); _install
  268. }
  269. package_gst-plugins-bad-libs() {
  270. pkgdesc+=" - bad"
  271. depends=(
  272. "gst-plugins-base-libs=$pkgver"
  273. libdrm libgudev libnice libusb libva libx11 libxkbcommon-x11 orc
  274. vulkan-icd-loader wayland
  275. )
  276. cd root; local files=(
  277. usr/include/gstreamer-1.0/gst/audio/{audio-bad-prelude,gstnonstreamaudiodecoder,gstplanaraudioadapter}.h
  278. usr/include/gstreamer-1.0/gst/{analytics,basecamerabinsrc,codecparsers,cuda,insertbin,interfaces,isoff,mpegts,mse,play,player,sctp,transcoder,uridownloader,va,vulkan,wayland,webrtc}
  279. usr/lib/libgst{adaptivedemux,analytics,badaudio,basecamerabinsrc,codecparsers,codecs,cuda,dxva,insertbin,isoff,mpegts,mse}-1.0.so*
  280. usr/lib/libgst{photography,play,player,sctp,transcoder,uridownloader,va,vulkan,wayland,webrtc,webrtcnice}-1.0.so*
  281. usr/lib/pkgconfig/gstreamer-{analytics,bad-audio,codecparsers,cuda,insertbin,mpegts,mse,photography,play,player,sctp,transcoder,vulkan{,-wayland,-xcb},va,wayland,webrtc{,-nice}}-1.0.pc
  282. usr/lib/girepository-1.0/{CudaGst,Gst{Analytics,BadAudio,Codecs,Cuda,Dxva,InsertBin,Mpegts,Mse,Play,Player,Transcoder,Va,Vulkan{,Wayland,XCB},WebRTC}}-1.0.typelib
  283. usr/share/gir-1.0/{CudaGst,Gst{Analytics,BadAudio,Codecs,Cuda,Dxva,InsertBin,Mpegts,Mse,Play,Player,Transcoder,Va,Vulkan{,Wayland,XCB},WebRTC}}-1.0.gir
  284. usr/lib/pkgconfig/gstreamer-plugins-bad-1.0.pc
  285. usr/lib/gstreamer-1.0/libgstaccurip.so
  286. usr/lib/gstreamer-1.0/libgstadpcmdec.so
  287. usr/lib/gstreamer-1.0/libgstadpcmenc.so
  288. usr/lib/gstreamer-1.0/libgstaiff.so
  289. usr/lib/gstreamer-1.0/libgstasfmux.so
  290. usr/lib/gstreamer-1.0/libgstaudiobuffersplit.so
  291. usr/lib/gstreamer-1.0/libgstaudiofxbad.so
  292. usr/lib/gstreamer-1.0/libgstaudiolatency.so
  293. usr/lib/gstreamer-1.0/libgstaudiomixmatrix.so
  294. usr/lib/gstreamer-1.0/libgstaudiovisualizers.so
  295. usr/lib/gstreamer-1.0/libgstautoconvert.so
  296. usr/lib/gstreamer-1.0/libgstbayer.so
  297. usr/lib/gstreamer-1.0/libgstbluez.so
  298. usr/lib/gstreamer-1.0/libgstcamerabin.so
  299. usr/lib/gstreamer-1.0/libgstcodecalpha.so
  300. usr/lib/gstreamer-1.0/libgstcodectimestamper.so
  301. usr/lib/gstreamer-1.0/libgstcoloreffects.so
  302. usr/lib/gstreamer-1.0/libgstdebugutilsbad.so
  303. usr/lib/gstreamer-1.0/libgstdecklink.so
  304. usr/lib/gstreamer-1.0/libgstdvb.so
  305. usr/lib/gstreamer-1.0/libgstdvbsubenc.so
  306. usr/lib/gstreamer-1.0/libgstdvbsuboverlay.so
  307. usr/lib/gstreamer-1.0/libgstdvdspu.so
  308. usr/lib/gstreamer-1.0/libgstfaceoverlay.so
  309. usr/lib/gstreamer-1.0/libgstfbdevsink.so
  310. usr/lib/gstreamer-1.0/libgstfestival.so
  311. usr/lib/gstreamer-1.0/libgstfieldanalysis.so
  312. usr/lib/gstreamer-1.0/libgstfreeverb.so
  313. usr/lib/gstreamer-1.0/libgstfrei0r.so
  314. usr/lib/gstreamer-1.0/libgstgaudieffects.so
  315. usr/lib/gstreamer-1.0/libgstgdp.so
  316. usr/lib/gstreamer-1.0/libgstgeometrictransform.so
  317. usr/lib/gstreamer-1.0/libgstid3tag.so
  318. usr/lib/gstreamer-1.0/libgstinsertbin.so
  319. usr/lib/gstreamer-1.0/libgstinter.so
  320. usr/lib/gstreamer-1.0/libgstinterlace.so
  321. usr/lib/gstreamer-1.0/libgstipcpipeline.so
  322. usr/lib/gstreamer-1.0/libgstivfparse.so
  323. usr/lib/gstreamer-1.0/libgstivtc.so
  324. usr/lib/gstreamer-1.0/libgstjp2kdecimator.so
  325. usr/lib/gstreamer-1.0/libgstjpegformat.so
  326. usr/lib/gstreamer-1.0/libgstkms.so
  327. usr/lib/gstreamer-1.0/libgstlegacyrawparse.so
  328. usr/lib/gstreamer-1.0/libgstmidi.so
  329. usr/lib/gstreamer-1.0/libgstmpegpsdemux.so
  330. usr/lib/gstreamer-1.0/libgstmpegpsmux.so
  331. usr/lib/gstreamer-1.0/libgstmpegtsdemux.so
  332. usr/lib/gstreamer-1.0/libgstmpegtsmux.so
  333. usr/lib/gstreamer-1.0/libgstmse.so
  334. usr/lib/gstreamer-1.0/libgstmxf.so
  335. usr/lib/gstreamer-1.0/libgstnetsim.so
  336. usr/lib/gstreamer-1.0/libgstnvcodec.so
  337. usr/lib/gstreamer-1.0/libgstpcapparse.so
  338. usr/lib/gstreamer-1.0/libgstpnm.so
  339. usr/lib/gstreamer-1.0/libgstproxy.so
  340. usr/lib/gstreamer-1.0/libgstremovesilence.so
  341. usr/lib/gstreamer-1.0/libgstrfbsrc.so
  342. usr/lib/gstreamer-1.0/libgstrist.so
  343. usr/lib/gstreamer-1.0/libgstrtmp2.so
  344. usr/lib/gstreamer-1.0/libgstrtpmanagerbad.so
  345. usr/lib/gstreamer-1.0/libgstrtponvif.so
  346. usr/lib/gstreamer-1.0/libgstsdpelem.so
  347. usr/lib/gstreamer-1.0/libgstsegmentclip.so
  348. usr/lib/gstreamer-1.0/libgstshm.so
  349. usr/lib/gstreamer-1.0/libgstsiren.so
  350. usr/lib/gstreamer-1.0/libgstsmooth.so
  351. usr/lib/gstreamer-1.0/libgstspeed.so
  352. usr/lib/gstreamer-1.0/libgstsubenc.so
  353. usr/lib/gstreamer-1.0/libgstswitchbin.so
  354. usr/lib/gstreamer-1.0/libgsttranscode.so
  355. usr/lib/gstreamer-1.0/libgstunixfd.so
  356. usr/lib/gstreamer-1.0/libgstuvcgadget.so
  357. usr/lib/gstreamer-1.0/libgstuvch264.so
  358. usr/lib/gstreamer-1.0/libgstv4l2codecs.so
  359. usr/lib/gstreamer-1.0/libgstvideofiltersbad.so
  360. usr/lib/gstreamer-1.0/libgstvideoframe_audiolevel.so
  361. usr/lib/gstreamer-1.0/libgstvideoparsersbad.so
  362. usr/lib/gstreamer-1.0/libgstvideosignal.so
  363. usr/lib/gstreamer-1.0/libgstvmnc.so
  364. usr/lib/gstreamer-1.0/libgstvulkan.so
  365. usr/lib/gstreamer-1.0/libgstwaylandsink.so
  366. usr/lib/gstreamer-1.0/libgsty4mdec.so
  367. usr/share/gstreamer-1.0/encoding-profiles
  368. usr/share/gstreamer-1.0/presets/GstFreeverb.prs
  369. usr/share/locale/*/LC_MESSAGES/gst-plugins-bad-1.0.mo
  370. usr/bin/gst-transcoder-1.0
  371. ); _install
  372. }
  373. package_gst-plugins-base-libs() {
  374. pkgdesc+=" - base"
  375. depends=(
  376. "gstreamer=$pkgver"
  377. iso-codes libdrm libgl libgudev libxi libxv mesa orc wayland
  378. )
  379. cd root; local files=(
  380. usr/include/gstreamer-1.0/gst/{allocators,app,audio,fft,gl,pbutils,riff,rtp,rtsp,sdp,tag,video}
  381. usr/lib/libgst{allocators,app,audio,fft,gl,pbutils,riff,rtp,rtsp,sdp,tag,video}-1.0.so*
  382. usr/lib/pkgconfig/gstreamer-{allocators,app,audio,fft,gl{,-egl,-prototypes,-wayland,-x11},pbutils,riff,rtp,rtsp,sdp,tag,video}-1.0.pc
  383. usr/lib/girepository-1.0/Gst{Allocators,App,Audio,GL{,EGL,Wayland,X11},Pbutils,Rtp,Rtsp,Sdp,Tag,Video}-1.0.typelib
  384. usr/share/gir-1.0/Gst{Allocators,App,Audio,GL{,EGL,Wayland,X11},Pbutils,Rtp,Rtsp,Sdp,Tag,Video}-1.0.gir
  385. usr/lib/pkgconfig/gstreamer-plugins-base-1.0.pc
  386. usr/lib/gstreamer-1.0/include/gst/gl/gstglconfig.h
  387. usr/lib/gstreamer-1.0/libgstadder.so
  388. usr/lib/gstreamer-1.0/libgstapp.so
  389. usr/lib/gstreamer-1.0/libgstaudioconvert.so
  390. usr/lib/gstreamer-1.0/libgstaudiomixer.so
  391. usr/lib/gstreamer-1.0/libgstaudiorate.so
  392. usr/lib/gstreamer-1.0/libgstaudioresample.so
  393. usr/lib/gstreamer-1.0/libgstaudiotestsrc.so
  394. usr/lib/gstreamer-1.0/libgstbasedebug.so
  395. usr/lib/gstreamer-1.0/libgstcompositor.so
  396. usr/lib/gstreamer-1.0/libgstdsd.so
  397. usr/lib/gstreamer-1.0/libgstencoding.so
  398. usr/lib/gstreamer-1.0/libgstgio.so
  399. usr/lib/gstreamer-1.0/libgstoverlaycomposition.so
  400. usr/lib/gstreamer-1.0/libgstpbtypes.so
  401. usr/lib/gstreamer-1.0/libgstplayback.so
  402. usr/lib/gstreamer-1.0/libgstrawparse.so
  403. usr/lib/gstreamer-1.0/libgstsubparse.so
  404. usr/lib/gstreamer-1.0/libgsttcp.so
  405. usr/lib/gstreamer-1.0/libgsttypefindfunctions.so
  406. usr/lib/gstreamer-1.0/libgstvideoconvertscale.so
  407. usr/lib/gstreamer-1.0/libgstvideorate.so
  408. usr/lib/gstreamer-1.0/libgstvideotestsrc.so
  409. usr/lib/gstreamer-1.0/libgstvolume.so
  410. usr/lib/gstreamer-1.0/libgstximagesink.so
  411. usr/lib/gstreamer-1.0/libgstxvimagesink.so
  412. usr/share/locale/*/LC_MESSAGES/gst-plugins-base-1.0.mo
  413. usr/bin/gst-{device-monitor,discoverer,play}-1.0
  414. usr/share/man/man1/gst-{device-monitor,discoverer,play}-1.0.1
  415. usr/share/gst-plugins-base
  416. ); _install
  417. }
  418. package_gst-plugins-base() {
  419. pkgdesc+=" - base plugins"
  420. depends=(
  421. "gst-plugins-base-libs=$pkgver"
  422. alsa-lib cdparanoia graphene libjpeg libpng libtheora libvorbis opus pango
  423. )
  424. cd root; local files=(
  425. usr/lib/gstreamer-1.0/libgstalsa.so
  426. usr/lib/gstreamer-1.0/libgstcdparanoia.so
  427. usr/lib/gstreamer-1.0/libgstogg.so
  428. usr/lib/gstreamer-1.0/libgstopengl.so
  429. usr/lib/gstreamer-1.0/libgstopus.so
  430. usr/lib/gstreamer-1.0/libgstpango.so
  431. usr/lib/gstreamer-1.0/libgsttheora.so
  432. usr/lib/gstreamer-1.0/libgstvorbis.so
  433. ); _install
  434. }
  435. package_gst-plugins-good() {
  436. pkgdesc+=" - good plugins"
  437. depends=(
  438. "gst-plugins-base-libs=$pkgver"
  439. aalib cairo flac gdk-pixbuf2 lame libavc1394 libcaca libdv libgudev
  440. libiec61883 libpulse libraw1394 libshout libsoup3 libvpx libxdamage libxtst
  441. mpg123 nettle opencore-amr speex taglib twolame v4l-utils wavpack
  442. )
  443. optdepends=('jack: JACK backend')
  444. cd root; local files=(
  445. usr/lib/gstreamer-1.0/libgst1394.so
  446. usr/lib/gstreamer-1.0/libgstaasink.so
  447. usr/lib/gstreamer-1.0/libgstadaptivedemux2.so
  448. usr/lib/gstreamer-1.0/libgstalaw.so
  449. usr/lib/gstreamer-1.0/libgstalpha.so
  450. usr/lib/gstreamer-1.0/libgstalphacolor.so
  451. usr/lib/gstreamer-1.0/libgstamrnb.so
  452. usr/lib/gstreamer-1.0/libgstamrwbdec.so
  453. usr/lib/gstreamer-1.0/libgstapetag.so
  454. usr/lib/gstreamer-1.0/libgstaudiofx.so
  455. usr/lib/gstreamer-1.0/libgstaudioparsers.so
  456. usr/lib/gstreamer-1.0/libgstauparse.so
  457. usr/lib/gstreamer-1.0/libgstautodetect.so
  458. usr/lib/gstreamer-1.0/libgstavi.so
  459. usr/lib/gstreamer-1.0/libgstcacasink.so
  460. usr/lib/gstreamer-1.0/libgstcairo.so
  461. usr/lib/gstreamer-1.0/libgstcutter.so
  462. usr/lib/gstreamer-1.0/libgstdebug.so
  463. usr/lib/gstreamer-1.0/libgstdeinterlace.so
  464. usr/lib/gstreamer-1.0/libgstdtmf.so
  465. usr/lib/gstreamer-1.0/libgstdv.so
  466. usr/lib/gstreamer-1.0/libgsteffectv.so
  467. usr/lib/gstreamer-1.0/libgstequalizer.so
  468. usr/lib/gstreamer-1.0/libgstflac.so
  469. usr/lib/gstreamer-1.0/libgstflv.so
  470. usr/lib/gstreamer-1.0/libgstflxdec.so
  471. usr/lib/gstreamer-1.0/libgstgdkpixbuf.so
  472. usr/lib/gstreamer-1.0/libgstgoom.so
  473. usr/lib/gstreamer-1.0/libgstgoom2k1.so
  474. usr/lib/gstreamer-1.0/libgsticydemux.so
  475. usr/lib/gstreamer-1.0/libgstid3demux.so
  476. usr/lib/gstreamer-1.0/libgstimagefreeze.so
  477. usr/lib/gstreamer-1.0/libgstinterleave.so
  478. usr/lib/gstreamer-1.0/libgstisomp4.so
  479. usr/lib/gstreamer-1.0/libgstjack.so
  480. usr/lib/gstreamer-1.0/libgstjpeg.so
  481. usr/lib/gstreamer-1.0/libgstlame.so
  482. usr/lib/gstreamer-1.0/libgstlevel.so
  483. usr/lib/gstreamer-1.0/libgstmatroska.so
  484. usr/lib/gstreamer-1.0/libgstmonoscope.so
  485. usr/lib/gstreamer-1.0/libgstmpg123.so
  486. usr/lib/gstreamer-1.0/libgstmulaw.so
  487. usr/lib/gstreamer-1.0/libgstmultifile.so
  488. usr/lib/gstreamer-1.0/libgstmultipart.so
  489. usr/lib/gstreamer-1.0/libgstnavigationtest.so
  490. usr/lib/gstreamer-1.0/libgstoss4.so
  491. usr/lib/gstreamer-1.0/libgstossaudio.so
  492. usr/lib/gstreamer-1.0/libgstpng.so
  493. usr/lib/gstreamer-1.0/libgstpulseaudio.so
  494. usr/lib/gstreamer-1.0/libgstreplaygain.so
  495. usr/lib/gstreamer-1.0/libgstrtp.so
  496. usr/lib/gstreamer-1.0/libgstrtpmanager.so
  497. usr/lib/gstreamer-1.0/libgstrtsp.so
  498. usr/lib/gstreamer-1.0/libgstshapewipe.so
  499. usr/lib/gstreamer-1.0/libgstshout2.so
  500. usr/lib/gstreamer-1.0/libgstsmpte.so
  501. usr/lib/gstreamer-1.0/libgstsoup.so
  502. usr/lib/gstreamer-1.0/libgstspectrum.so
  503. usr/lib/gstreamer-1.0/libgstspeex.so
  504. usr/lib/gstreamer-1.0/libgsttaglib.so
  505. usr/lib/gstreamer-1.0/libgsttwolame.so
  506. usr/lib/gstreamer-1.0/libgstudp.so
  507. usr/lib/gstreamer-1.0/libgstvideo4linux2.so
  508. usr/lib/gstreamer-1.0/libgstvideobox.so
  509. usr/lib/gstreamer-1.0/libgstvideocrop.so
  510. usr/lib/gstreamer-1.0/libgstvideofilter.so
  511. usr/lib/gstreamer-1.0/libgstvideomixer.so
  512. usr/lib/gstreamer-1.0/libgstvpx.so
  513. usr/lib/gstreamer-1.0/libgstwavenc.so
  514. usr/lib/gstreamer-1.0/libgstwavpack.so
  515. usr/lib/gstreamer-1.0/libgstwavparse.so
  516. usr/lib/gstreamer-1.0/libgstximagesrc.so
  517. usr/lib/gstreamer-1.0/libgstxingmux.so
  518. usr/lib/gstreamer-1.0/libgsty4menc.so
  519. usr/share/gstreamer-1.0/presets/GstIirEqualizer{3,10}Bands.prs
  520. usr/share/gstreamer-1.0/presets/GstQTMux.prs
  521. usr/share/gstreamer-1.0/presets/Gst{Amrnb,VP8}Enc.prs
  522. usr/share/locale/*/LC_MESSAGES/gst-plugins-good-1.0.mo
  523. ); _install
  524. }
  525. package_gst-plugins-bad() {
  526. pkgdesc+=" - bad plugins"
  527. depends=(
  528. "gst-plugins-bad-libs=$pkgver"
  529. aom bzip2 chromaprint curl faac faad2 fluidsynth gsm json-glib lcms2 libass
  530. libavtp libbs2b libdc1394 libdca libde265 libdvdnav libdvdread libfdk-aac
  531. libfreeaptx libgme liblc3 libldac liblrdf libltc libmicrodns libmodplug
  532. libmpcdec libopenmpt librsvg libsndfile libsrtp libwebp libxml2 lilv
  533. mjpegtools neon nettle openal openexr openjpeg2 openssl opus pango qrencode
  534. rtmpdump sbc soundtouch spandsp srt svt-av1 svt-hevc
  535. webrtc-audio-processing-1 wildmidi x265 zbar zvbi zxing-cpp
  536. )
  537. # parabola over-rides
  538. depends=( ${depends[*]/faac/} ) # non-free
  539. depends=( ${depends[*]/$([[ "${CARCH}" == x86_64 ]] || echo svt-hevc)/} ) # x86_64 only
  540. depends=( ${depends[*]/$([[ "${CARCH}" != armv7h ]] || echo svt-av1)/} ) # x86 only
  541. cd root; local files=(
  542. usr/lib/gstreamer-1.0/libgstaes.so
  543. usr/lib/gstreamer-1.0/libgstanalyticsoverlay.so
  544. usr/lib/gstreamer-1.0/libgstaom.so
  545. usr/lib/gstreamer-1.0/libgstassrender.so
  546. usr/lib/gstreamer-1.0/libgstavtp.so
  547. usr/lib/gstreamer-1.0/libgstbs2b.so
  548. usr/lib/gstreamer-1.0/libgstbz2.so
  549. usr/lib/gstreamer-1.0/libgstchromaprint.so
  550. usr/lib/gstreamer-1.0/libgstclosedcaption.so
  551. usr/lib/gstreamer-1.0/libgstcodec2json.so
  552. usr/lib/gstreamer-1.0/libgstcolormanagement.so
  553. usr/lib/gstreamer-1.0/libgstcurl.so
  554. usr/lib/gstreamer-1.0/libgstdash.so
  555. usr/lib/gstreamer-1.0/libgstdc1394.so
  556. usr/lib/gstreamer-1.0/libgstde265.so
  557. usr/lib/gstreamer-1.0/libgstdtls.so
  558. usr/lib/gstreamer-1.0/libgstdtsdec.so
  559. usr/lib/gstreamer-1.0/libgstfaac.so
  560. usr/lib/gstreamer-1.0/libgstfaad.so
  561. usr/lib/gstreamer-1.0/libgstfdkaac.so
  562. usr/lib/gstreamer-1.0/libgstfluidsynthmidi.so
  563. usr/lib/gstreamer-1.0/libgstgme.so
  564. usr/lib/gstreamer-1.0/libgstgsm.so
  565. usr/lib/gstreamer-1.0/libgsthls.so
  566. usr/lib/gstreamer-1.0/libgstladspa.so
  567. usr/lib/gstreamer-1.0/libgstlc3.so
  568. usr/lib/gstreamer-1.0/libgstldac.so
  569. usr/lib/gstreamer-1.0/libgstlv2.so
  570. usr/lib/gstreamer-1.0/libgstmicrodns.so
  571. usr/lib/gstreamer-1.0/libgstmodplug.so
  572. usr/lib/gstreamer-1.0/libgstmpeg2enc.so
  573. usr/lib/gstreamer-1.0/libgstmplex.so
  574. usr/lib/gstreamer-1.0/libgstmusepack.so
  575. usr/lib/gstreamer-1.0/libgstneonhttpsrc.so
  576. usr/lib/gstreamer-1.0/libgstopenal.so
  577. usr/lib/gstreamer-1.0/libgstopenaptx.so
  578. usr/lib/gstreamer-1.0/libgstopenexr.so
  579. usr/lib/gstreamer-1.0/libgstopenjpeg.so
  580. usr/lib/gstreamer-1.0/libgstopenmpt.so
  581. usr/lib/gstreamer-1.0/libgstopusparse.so
  582. usr/lib/gstreamer-1.0/libgstqroverlay.so
  583. usr/lib/gstreamer-1.0/libgstresindvd.so
  584. usr/lib/gstreamer-1.0/libgstrsvg.so
  585. usr/lib/gstreamer-1.0/libgstrtmp.so
  586. usr/lib/gstreamer-1.0/libgstsbc.so
  587. usr/lib/gstreamer-1.0/libgstsctp.so
  588. usr/lib/gstreamer-1.0/libgstsmoothstreaming.so
  589. usr/lib/gstreamer-1.0/libgstsndfile.so
  590. usr/lib/gstreamer-1.0/libgstsoundtouch.so
  591. usr/lib/gstreamer-1.0/libgstspandsp.so
  592. usr/lib/gstreamer-1.0/libgstsrt.so
  593. usr/lib/gstreamer-1.0/libgstsrtp.so
  594. usr/lib/gstreamer-1.0/libgstsvtav1.so
  595. usr/lib/gstreamer-1.0/libgstsvthevcenc.so
  596. usr/lib/gstreamer-1.0/libgstteletext.so
  597. usr/lib/gstreamer-1.0/libgsttimecode.so
  598. usr/lib/gstreamer-1.0/libgstttmlsubs.so
  599. usr/lib/gstreamer-1.0/libgstwebp.so
  600. usr/lib/gstreamer-1.0/libgstwebrtc.so
  601. usr/lib/gstreamer-1.0/libgstwebrtcdsp.so
  602. usr/lib/gstreamer-1.0/libgstwildmidi.so
  603. usr/lib/gstreamer-1.0/libgstx265.so
  604. usr/lib/gstreamer-1.0/libgstzbar.so
  605. usr/lib/gstreamer-1.0/libgstzxing.so
  606. )
  607. # parabola over-rides
  608. files=(
  609. ${files[*]/usr\/lib\/gstreamer-1.0\/libgstfaac.so/} # non-free
  610. ); [[ "${CARCH}" == x86_64 ]] || files=(
  611. ${files[*]/usr\/lib\/gstreamer-1.0\/libgstsvthevcenc.so/} # x86_64 only
  612. ); [[ "${CARCH}" != armv7h ]] || files=(
  613. ${files[*]/usr\/lib\/gstreamer-1.0\/libgstsvtav1.so/} # x86 only
  614. ); _install
  615. }
  616. package_gst-plugin-gtk() {
  617. pkgdesc+=" - gtk plugin"
  618. depends=(
  619. "gst-plugins-bad-libs=$pkgver"
  620. gtk3
  621. )
  622. cd root; local files=(
  623. usr/lib/gstreamer-1.0/libgstgtk.so
  624. usr/lib/gstreamer-1.0/libgstgtkwayland.so
  625. ); _install
  626. }
  627. package_gst-plugin-msdk() {
  628. pkgdesc+=" - msdk plugin"
  629. depends=(
  630. "gst-plugins-bad-libs=$pkgver"
  631. libvpl
  632. )
  633. depends=( ${depends[*]/$([[ "${CARCH}" == x86_64 ]] || echo libvpl)/} ) # x86_64 only
  634. cd root; local files=(
  635. usr/lib/gstreamer-1.0/libgstmsdk.so
  636. ); _install
  637. }
  638. package_gst-plugin-opencv() {
  639. pkgdesc+=" - opencv plugin"
  640. depends=(
  641. "gst-plugins-base-libs=$pkgver"
  642. opencv
  643. )
  644. cd root; local files=(
  645. usr/include/gstreamer-1.0/gst/opencv
  646. usr/lib/libgstopencv-1.0.so*
  647. usr/lib/gstreamer-1.0/libgstopencv.so
  648. ); _install
  649. }
  650. package_gst-plugin-qml6() {
  651. pkgdesc+=" - qml6 plugin"
  652. depends=(
  653. "gst-plugins-base-libs=$pkgver"
  654. qt6-declarative qt6-wayland
  655. )
  656. cd root; local files=(
  657. usr/lib/gstreamer-1.0/libgstqml6.so
  658. ); _install
  659. }
  660. package_gst-plugin-qmlgl() {
  661. pkgdesc+=" - qmlgl plugin"
  662. depends=(
  663. "gst-plugins-base-libs=$pkgver"
  664. qt5-declarative qt5-wayland qt5-x11extras
  665. )
  666. cd root; local files=(
  667. usr/lib/gstreamer-1.0/libgstqmlgl.so
  668. ); _install
  669. }
  670. package_gst-plugin-qsv() {
  671. pkgdesc+=" - qsv plugin"
  672. depends=("gst-plugins-bad-libs=$pkgver")
  673. optdepends=(
  674. 'intel-media-sdk: runtime for legacy Intel GPUs'
  675. 'onevpl-intel-gpu: runtime for Tiger Lake and newer GPUs'
  676. )
  677. cd root; local files=(
  678. usr/lib/gstreamer-1.0/libgstqsv.so
  679. ); _install
  680. }
  681. package_gst-plugin-va() {
  682. pkgdesc+=" - va plugin"
  683. depends=("gst-plugins-bad-libs=$pkgver")
  684. cd root; local files=(
  685. usr/lib/gstreamer-1.0/libgstva.so
  686. ); _install
  687. }
  688. package_gst-plugin-wpe() {
  689. pkgdesc+=" - wpe plugin"
  690. depends=(
  691. "gst-plugins-base-libs=$pkgver"
  692. wpewebkit
  693. )
  694. cd root; local files=(
  695. usr/lib/gstreamer-1.0/libgstwpe.so
  696. usr/lib/gst-plugins-bad/wpe-extension/libgstwpeextension.so
  697. ); _install
  698. }
  699. package_gst-plugins-ugly() {
  700. pkgdesc+=" - ugly plugins"
  701. depends=(
  702. "gst-plugins-base-libs=$pkgver"
  703. a52dec libcdio libdvdread libmpeg2 x264
  704. )
  705. cd root; local files=(
  706. usr/lib/gstreamer-1.0/libgsta52dec.so
  707. usr/lib/gstreamer-1.0/libgstasf.so
  708. usr/lib/gstreamer-1.0/libgstcdio.so
  709. usr/lib/gstreamer-1.0/libgstdvdlpcmdec.so
  710. usr/lib/gstreamer-1.0/libgstdvdread.so
  711. usr/lib/gstreamer-1.0/libgstdvdsub.so
  712. usr/lib/gstreamer-1.0/libgstmpeg2dec.so
  713. usr/lib/gstreamer-1.0/libgstrealmedia.so
  714. usr/lib/gstreamer-1.0/libgstx264.so
  715. usr/share/gstreamer-1.0/presets/GstX264Enc.prs
  716. usr/share/locale/*/LC_MESSAGES/gst-plugins-ugly-1.0.mo
  717. ); _install
  718. }
  719. package_gst-libav() {
  720. pkgdesc+=" - libav plugin"
  721. depends=(
  722. "gst-plugins-base-libs=$pkgver"
  723. bzip2 ffmpeg
  724. )
  725. provides=("gst-ffmpeg=$pkgver")
  726. cd root; local files=(
  727. usr/lib/gstreamer-1.0/libgstlibav.so
  728. ); _install
  729. }
  730. package_gst-rtsp-server() {
  731. pkgdesc+=" - rtsp server"
  732. depends=("gst-plugins-base-libs=$pkgver")
  733. cd root; local files=(
  734. usr/include/gstreamer-1.0/gst/rtsp-server
  735. usr/lib/libgstrtspserver-1.0.so*
  736. usr/lib/pkgconfig/gstreamer-rtsp-server-1.0.pc
  737. usr/lib/girepository-1.0/GstRtspServer-1.0.typelib
  738. usr/share/gir-1.0/GstRtspServer-1.0.gir
  739. usr/lib/gstreamer-1.0/libgstrtspclientsink.so
  740. ); _install
  741. }
  742. package_gst-editing-services() {
  743. pkgdesc+=" - editing services"
  744. depends=(
  745. "gst-plugins-base-libs=$pkgver"
  746. python
  747. )
  748. cd root; local files=(
  749. usr/include/gstreamer-1.0/ges
  750. usr/lib/libges-1.0.so*
  751. usr/lib/pkgconfig/gst-editing-services-1.0.pc
  752. usr/lib/girepository-1.0/GES-1.0.typelib
  753. usr/share/gir-1.0/GES-1.0.gir
  754. usr/lib/gstreamer-1.0/libgstges.so
  755. usr/lib/gstreamer-1.0/libgstnle.so
  756. usr/lib/python*/site-packages/gi/overrides/GES.py
  757. usr/lib/python*/site-packages/gi/overrides/__pycache__/GES.*.pyc
  758. usr/bin/ges-launch-1.0
  759. usr/share/man/man1/ges-launch-1.0.1
  760. usr/share/bash-completion/completions/ges-launch-1.0
  761. ); _install
  762. }
  763. package_gstreamer-vaapi() {
  764. pkgdesc+=" - vaapi plugin"
  765. depends=(
  766. "gst-plugins-bad-libs=$pkgver"
  767. libxrandr
  768. )
  769. cd root; local files=(
  770. usr/lib/gstreamer-1.0/libgstvaapi.so
  771. ); _install
  772. }
  773. package_gst-python() {
  774. pkgdesc+=" - python plugin"
  775. depends=(
  776. "gst-plugins-base-libs=$pkgver"
  777. python-gobject
  778. )
  779. cd root; local files=(
  780. usr/lib/gstreamer-1.0/libgstpython.so
  781. usr/lib/python*/site-packages/gi/overrides
  782. ); _install
  783. }
  784. package_gstreamer-docs() {
  785. pkgdesc+=" - documentation"
  786. license=(
  787. 'BSD-2-Clause OR MIT OR LGPL-2.1-or-later'
  788. CC-BY-SA-4.0
  789. LGPL-2.1-or-later
  790. MIT
  791. OPUBL-1.0
  792. )
  793. # make sure there are no files left to install
  794. find root -depth ! -type d
  795. find root -depth -print0 | xargs -0 rmdir
  796. cd gstreamer-docs-${pkgver%%+*}
  797. mkdir -p "$pkgdir/usr/share/doc/$pkgbase"
  798. cp -t "$pkgdir/usr/share" -a devhelp
  799. cp -t "$pkgdir/usr/share/doc/$pkgbase" -a html README*
  800. install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING LICENSE*
  801. }