Date: Wednesday, March 22, 2023 @ 15:54:22 Author: hashworks Revision: 1426934
archrelease: copy trunk to community-x86_64 Added: ovenmediaengine/repos/community-x86_64/PKGBUILD (from rev 1426933, ovenmediaengine/trunk/PKGBUILD) ovenmediaengine/repos/community-x86_64/ovenmediaengine.service (from rev 1426933, ovenmediaengine/trunk/ovenmediaengine.service) Deleted: ovenmediaengine/repos/community-x86_64/PKGBUILD ovenmediaengine/repos/community-x86_64/ovenmediaengine.service -------------------------+ PKGBUILD | 169 +++++++++++++++++++++------------------------- ovenmediaengine.service | 36 ++++----- 2 files changed, 98 insertions(+), 107 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-03-22 15:54:17 UTC (rev 1426933) +++ PKGBUILD 2023-03-22 15:54:22 UTC (rev 1426934) @@ -1,89 +0,0 @@ -# Maintainer: Justin Kromlinger <hashwo...@archlinux.org> -# Contributor: genofire - -pkgname=ovenmediaengine -pkgver=0.15.6 -pkgrel=1 -pkgdesc='Open-source streaming video service with sub-second latency' -arch=('x86_64') -url='https://ovenmediaengine.com' -license=('AGPL3') -# See https://github.com/AirenSoft/OvenMediaEngine/blob/master/misc/prerequisites.sh#L455 -depends=( - 'openssl>=3' - 'libsrtp' - 'srt' - 'opus' - 'ffmpeg' - 'jemalloc' - 'pcre2' - 'hiredis' -) -optdepends=( - 'libva' - 'intel-gmmlib' - 'intel-media-sdk' - 'intel-media-driver' - 'cuda-tools' - 'ffnvcodec-headers' -) -makedepends=( - 'bc' - 'nasm' - 'x264' - 'x265' - 'libvpx' - 'fdkaac' -) -source=( - "${pkgname}-${pkgver}.tar.gz::https://github.com/AirenSoft/OvenMediaEngine/archive/refs/tags/v${pkgver}.tar.gz" - "ovenmediaengine.service" -) -sha512sums=('5d33bded61550057b4e51a0937ac8d11aef298109c4b59ad38dda5488cddf1bd1c83a7e1112350b675181431b47b4153a2b9fcd4dabeeda6c2d44303697f8766' - 'c5c4615d4c50a55c6fea177a1bc73b13d1365224c4e102067e45ce956741cb95366ec3b16cdec8932083c923910794e9164b0f9a25a6b0e2f186557fac3e42f1') - -backup=( - 'etc/ovenmediaengine/Server.xml' - 'etc/ovenmediaengine/Logger.xml' -) - -prepare() { - cd "OvenMediaEngine-${pkgver}" - - # Assets take up ~13MB of space - rm -Rf docs/.gitbook - find docs -type f -name "*.md" -exec sed -i "s|.gitbook/assets|https://raw.githubusercontent.com/AirenSoft/OvenMediaEngine/v${pkgver}/docs/.gitbook/assets|g" {} + - - cd "src/core" - - # https://github.com/AirenSoft/OvenMediaEngine/pull/927 - sed 's|^__EXTRA_CFLAGS :=$|__EXTRA_CFLAGS := $(CPPFLAGS)|' -i global_config.mk - sed 's|^__EXTRA_LDFLAGS :=$|__EXTRA_LDFLAGS := $(LDFLAGS)|' -i global_config.mk - - # https://github.com/AirenSoft/OvenMediaEngine/pull/928 - sed 's|^CONFIG_LIBRARY_PATHS := /opt/ovenmediaengine/lib:/opt/ovenmediaengine/lib64$|CONFIG_LIBRARY_PATHS :=|' -i config.mk - sed 's|^CONFIG_PKG_PATHS := /opt/ovenmediaengine/lib/pkgconfig:/opt/ovenmediaengine/lib64/pkgconfig$|CONFIG_PKG_PATHS :=|' -i config.mk -} - -build() { - cd "OvenMediaEngine-${pkgver}/src" - - make release -} - -package() { - install -D -m0644 "ovenmediaengine.service" "${pkgdir}/usr/lib/systemd/system/ovenmediaengine.service" - - cd "OvenMediaEngine-${pkgver}" - - install -D -m0755 "src/bin/RELEASE/OvenMediaEngine" "${pkgdir}/usr/bin/OvenMediaEngine" - - install -D -m0644 "misc/conf_examples/Origin.xml" "${pkgdir}/etc/ovenmediaengine/Server.xml" - install -D -m0644 "misc/conf_examples/Logger.xml" "${pkgdir}/etc/ovenmediaengine/Logger.xml" - - install -D -m0644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - - mkdir -p "${pkgdir}/usr/share/doc" - cp -a docs "${pkgdir}/usr/share/doc/${pkgname}" - cp -a misc/conf_examples "${pkgdir}/usr/share/doc/${pkgname}/conf_examples" -} Copied: ovenmediaengine/repos/community-x86_64/PKGBUILD (from rev 1426933, ovenmediaengine/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-03-22 15:54:22 UTC (rev 1426934) @@ -0,0 +1,80 @@ +# Maintainer: Justin Kromlinger <hashwo...@archlinux.org> +# Contributor: genofire + +pkgname=ovenmediaengine +pkgver=0.15.7 +pkgrel=1 +pkgdesc='Open-source streaming video service with sub-second latency' +arch=('x86_64') +url='https://ovenmediaengine.com' +license=('AGPL3') +# See https://github.com/AirenSoft/OvenMediaEngine/blob/master/misc/prerequisites.sh#L455 +depends=( + 'openssl>=3' + 'libsrtp' + 'srt' + 'opus' + 'ffmpeg' + 'jemalloc' + 'pcre2' + 'hiredis' +) +optdepends=( + 'libva' + 'intel-gmmlib' + 'intel-media-sdk' + 'intel-media-driver' + 'cuda-tools' + 'ffnvcodec-headers' +) +makedepends=( + 'bc' + 'nasm' + 'x264' + 'x265' + 'libvpx' + 'fdkaac' +) +source=( + "${pkgname}-${pkgver}.tar.gz::https://github.com/AirenSoft/OvenMediaEngine/archive/refs/tags/v${pkgver}.tar.gz" + "ovenmediaengine.service" +) +sha512sums=('982494f33bade2f5ef82c846b5554a176fc2fceeb2d09e98a51f72a082697e1b996429b60126b30b076cedc7ad5c01b325f1ce2a93d76cb641a628605045b984' + 'c5c4615d4c50a55c6fea177a1bc73b13d1365224c4e102067e45ce956741cb95366ec3b16cdec8932083c923910794e9164b0f9a25a6b0e2f186557fac3e42f1') + +backup=( + 'etc/ovenmediaengine/Server.xml' + 'etc/ovenmediaengine/Logger.xml' +) + +prepare() { + cd "OvenMediaEngine-${pkgver}" + + # Assets take up ~13MB of space + rm -Rf docs/.gitbook + find docs -type f -name "*.md" -exec sed -i "s|.gitbook/assets|https://raw.githubusercontent.com/AirenSoft/OvenMediaEngine/v${pkgver}/docs/.gitbook/assets|g" {} + +} + +build() { + cd "OvenMediaEngine-${pkgver}/src" + + DISABLE_CUSTOM_LIBRARY_PATHS=true \ + make release +} + +package() { + install -D -m0644 "ovenmediaengine.service" "${pkgdir}/usr/lib/systemd/system/ovenmediaengine.service" + + cd "OvenMediaEngine-${pkgver}" + + install -D -m0755 "src/bin/RELEASE/OvenMediaEngine" "${pkgdir}/usr/bin/OvenMediaEngine" + + install -D -m0644 "misc/conf_examples/Origin.xml" "${pkgdir}/etc/ovenmediaengine/Server.xml" + install -D -m0644 "misc/conf_examples/Logger.xml" "${pkgdir}/etc/ovenmediaengine/Logger.xml" + + install -D -m0644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + mkdir -p "${pkgdir}/usr/share/doc" + cp -a docs "${pkgdir}/usr/share/doc/${pkgname}" + cp -a misc/conf_examples "${pkgdir}/usr/share/doc/${pkgname}/conf_examples" +} Deleted: ovenmediaengine.service =================================================================== --- ovenmediaengine.service 2023-03-22 15:54:17 UTC (rev 1426933) +++ ovenmediaengine.service 2023-03-22 15:54:22 UTC (rev 1426934) @@ -1,18 +0,0 @@ -# See https://github.com/AirenSoft/OvenMediaEngine/blob/master/misc/ovenmediaengine.service - -[Unit] -Description=OvenMediaEngine -After=network-online.target - -[Service] -Type=forking -PIDFile=/run/ovenmediaengine.pid -ExecStart=/usr/bin/OvenMediaEngine -d -c /etc/ovenmediaengine/ -Restart=on-abort -RestartPreventExitStatus=1 -StandardOutput=null -StandardError=journal+console -LimitNOFILE=65535 - -[Install] -WantedBy=multi-user.target Copied: ovenmediaengine/repos/community-x86_64/ovenmediaengine.service (from rev 1426933, ovenmediaengine/trunk/ovenmediaengine.service) =================================================================== --- ovenmediaengine.service (rev 0) +++ ovenmediaengine.service 2023-03-22 15:54:22 UTC (rev 1426934) @@ -0,0 +1,18 @@ +# See https://github.com/AirenSoft/OvenMediaEngine/blob/master/misc/ovenmediaengine.service + +[Unit] +Description=OvenMediaEngine +After=network-online.target + +[Service] +Type=forking +PIDFile=/run/ovenmediaengine.pid +ExecStart=/usr/bin/OvenMediaEngine -d -c /etc/ovenmediaengine/ +Restart=on-abort +RestartPreventExitStatus=1 +StandardOutput=null +StandardError=journal+console +LimitNOFILE=65535 + +[Install] +WantedBy=multi-user.target