Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Add mythtv template-33.1+fixes-33
@ 2023-10-16  8:54 bhepple
  2023-10-16  8:55 ` bhepple
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bhepple @ 2023-10-16  8:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1263 bytes --]

There is a new pull request by bhepple against master on the void-packages repository

https://github.com/bhepple/void-packages mythtv
https://github.com/void-linux/void-packages/pull/46718

Add mythtv template-33.1+fixes-33
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/46718.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mythtv-46718.patch --]
[-- Type: text/x-diff, Size: 4735 bytes --]

From a37888613f11bc55132308fc1c0bd33d24d228b1 Mon Sep 17 00:00:00 2001
From: Bob Hepple <bob.hepple@gmail.com>
Date: Mon, 16 Oct 2023 18:52:07 +1000
Subject: [PATCH] Add mythtv template-33.1+fixes-33

---
 srcpkgs/mythtv/template | 140 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 140 insertions(+)
 create mode 100644 srcpkgs/mythtv/template

diff --git a/srcpkgs/mythtv/template b/srcpkgs/mythtv/template
new file mode 100644
index 0000000000000..c4b2fe1a1a255
--- /dev/null
+++ b/srcpkgs/mythtv/template
@@ -0,0 +1,140 @@
+pkgname=mythtv
+version=33.1
+release=1
+build_style=gnu-configure
+short_desc="A Homebrew PVR project"
+maintainer="Bob Hepple <bob.hepple@gmail.com>"
+license='GPL-2.0-only'
+homepage="https://www.mythtv.org/"
+distfiles="https://github.com/MythTV/mythtv/archive/v%{version}/mythtv-%{version}.tar.gz"
+depends=(
+    'exiv2'
+    'fftw'
+    'jack'
+    'lame'
+    'libass'
+    'libavc1394'
+    'libbluray'
+    'libhdhomerun'
+    'libiec61883'
+    'libpulseaudio'
+    'libsamplerate'
+    'libva'
+    'libvdpau'
+    'libvpx'
+    'libxinerama' ... X
+    'libxml2'
+    'libxrandr' xrandr ?
+    'libzip'
+    'lzo'
+    'python-pyqt5-webengine' ... python3-pyqt6-webengine
+    'python-requests-cache' ... X
+    'qt5-script'
+    'soundtouch'
+    'taglib'
+    'x264'
+    'x265'
+)
+makedepends=(
+    'git'
+    'help2man'
+    'libcdio'
+    'libcec'
+    'libmariadbclient'
+    'libxml2'
+    'lirc' ... glirc
+    'perl-dbd-mysql'
+    'perl-io-socket-inet6'
+    'perl-libwww'
+    'perl-net-upnp'
+    'perl-xml-simple'
+    'perl-xml-xpath'
+    'python-future'
+    'python-lxml'
+    'python-mysqlclient'
+    'python-requests'
+    'python-setuptools'
+    'python-simplejson'
+    'yasm'
+)
+optdepends=(
+    'glew: for GPU commercial flagging'
+    'libcec: for consumer electronics control capabilities'
+    'mariadb: Database-Backend for server deployment'
+    'mariadb-clients: Database-Frontend for client deployment'
+    'perl-dbd-mysql: Perl bindings'
+    'perl-io-socket-inet6: Perl bindings'
+    'perl-libwww: Perl bindings'
+    'perl-net-upnp: Perl bindings'
+    'perl-xml-simple: Perl bindings'
+    'perl-xml-xpath: Perl bindings'
+    'python-future: Python bindings'
+    'python-lxml: Python bindings'
+    'python-mysqlclient: Python bindings'
+    'python-requests: Python bindings'
+    'python-requests-cache: Python bindings'
+    'python-simplejson: Python bindings'
+)
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+source=(
+    "git+https://github.com/MythTV/mythtv#branch=fixes/33"
+    'mythbackend.service'
+    'mythtv.desktop'
+    'mythtv.png'
+    '99-mythbackend.rules'
+    'sysusers.d'
+)
+sha256sums=(
+    'SKIP'
+    '5ec7b0f6a3767068d1912188c6bc8957583a543abcb5b4ef52ea7126e316525b'
+    '3fd2018d0d5aaa7d530835305dac80d4ca7d8fc991cdf9e1cebadebd86e25c03'
+    '12cb52bf9b084a4f16419c9370fef0450ce6a11308b0c3f7240f4f83df7e2ab6'
+    'ecfd02bbbef5de9773f4de2c52e9b2b382ce8137735f249d7900270d304fd333'
+    '470de0a4050c16c7af11a0e5cfe2810b7daae42df4acf5456c7eae274dc7c5ae'
+)
+
+pkgver() {
+  cd "$srcdir/mythtv/mythtv"
+  printf "%s" "$(git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')"
+}
+
+build() {
+  cd "$srcdir/mythtv/mythtv"
+
+  ARCH="${CARCH/_/-}"
+  ./configure --prefix=/usr \
+              --cpu="$ARCH" \
+              --disable-altivec \
+              --enable-audio-jack \
+              --disable-distcc \
+              --enable-libmp3lame \
+              --enable-libvpx \
+              --enable-libx264 \
+              --enable-libx265 \
+              --enable-vaapi \
+              --with-bindings=python \
+              --with-bindings=perl \
+              --perl-config-opts=INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd "$srcdir/mythtv/mythtv"
+  make INSTALL_ROOT="$pkgdir" install
+
+  install -D -m644 "$srcdir/mythbackend.service" "$pkgdir/usr/lib/systemd/system/mythbackend.service"
+  install -D -m644 "$srcdir/mythtv/mythtv/database/mc.sql" "$pkgdir/usr/share/mythtv/mc.sql"
+  install -D -m644 "$srcdir/sysusers.d" "$pkgdir/usr/lib/sysusers.d/mythtv.conf"
+
+  mkdir -p "$pkgdir/usr/share/mythtv"
+  cp -R "$srcdir/mythtv/mythtv/contrib" "$pkgdir/usr/share/mythtv"
+  mkdir -p "$pkgdir/var/log/mythtv"
+
+  # Install udev rules https://www.mythtv.org/wiki/Systemd_mythbackend_Configuration#Delay_starting_the_backend_until_tuners_have_initialized
+  install -Dm644 "$srcdir/99-mythbackend.rules" "$pkgdir/usr/lib/udev/rules.d/99-mythbackend.rules"
+
+  # Install desktop file
+  install -Dm644 "$srcdir/mythtv.png" "$pkgdir/usr/share/pixmaps/mythtv.png"
+  install -Dm644 "$srcdir/mythtv.desktop" "$pkgdir/usr/share/applications/mythtv.desktop"
+}

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Add mythtv template-33.1+fixes-33
  2023-10-16  8:54 [PR PATCH] Add mythtv template-33.1+fixes-33 bhepple
@ 2023-10-16  8:55 ` bhepple
  2024-01-15  1:49 ` github-actions
  2024-01-30  1:44 ` [PR PATCH] [Closed]: " github-actions
  2 siblings, 0 replies; 4+ messages in thread
From: bhepple @ 2023-10-16  8:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 196 bytes --]

New comment by bhepple on void-packages repository

https://github.com/void-linux/void-packages/pull/46718#issuecomment-1764025596

Comment:
Rats - this was a mistake. Please reject pull request.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Add mythtv template-33.1+fixes-33
  2023-10-16  8:54 [PR PATCH] Add mythtv template-33.1+fixes-33 bhepple
  2023-10-16  8:55 ` bhepple
@ 2024-01-15  1:49 ` github-actions
  2024-01-30  1:44 ` [PR PATCH] [Closed]: " github-actions
  2 siblings, 0 replies; 4+ messages in thread
From: github-actions @ 2024-01-15  1:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/46718#issuecomment-1891178757

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Closed]: Add mythtv template-33.1+fixes-33
  2023-10-16  8:54 [PR PATCH] Add mythtv template-33.1+fixes-33 bhepple
  2023-10-16  8:55 ` bhepple
  2024-01-15  1:49 ` github-actions
@ 2024-01-30  1:44 ` github-actions
  2 siblings, 0 replies; 4+ messages in thread
From: github-actions @ 2024-01-30  1:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1113 bytes --]

There's a closed pull request on the void-packages repository

Add mythtv template-33.1+fixes-33
https://github.com/void-linux/void-packages/pull/46718

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-01-30  1:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-16  8:54 [PR PATCH] Add mythtv template-33.1+fixes-33 bhepple
2023-10-16  8:55 ` bhepple
2024-01-15  1:49 ` github-actions
2024-01-30  1:44 ` [PR PATCH] [Closed]: " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).