<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[HyperForum — NZBGet (an NZB usenet downloader) can be installed in Hyperbola]]></title>
	<link rel="self" href="https://forums.hyperbola.info/extern.php?action=feed&amp;tid=1143&amp;type=atom" />
	<updated>2025-11-13T18:33:27Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.hyperbola.info/viewtopic.php?id=1143</id>
		<entry>
			<title type="html"><![CDATA[Re: NZBGet (an NZB usenet downloader) can be installed in Hyperbola]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=8672#p8672" />
			<content type="html"><![CDATA[<p>Thanks, moved the posting: <a href="https://forums.hyperbola.info/viewtopic.php?pid=8671#p8671">https://forums.hyperbola.info/viewtopic … 8671#p8671</a></p>]]></content>
			<author>
				<name><![CDATA[throgh]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=347</uri>
			</author>
			<updated>2025-11-13T18:33:27Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=8672#p8672</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[NZBGet (an NZB usenet downloader) can be installed in Hyperbola]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=8670#p8670" />
			<content type="html"><![CDATA[<p>I noticed that no NZB usenet downloader was available in Hyperbola and I remembered using NZBGet in the past.</p><p>The PKGBUILD needed is based on the official Arch one - one just needs to disable openssl, remove the systemd path and rename unrar to unar:<br /><a href="https://archlinux.org/packages/extra/x86_64/nzbget/">https://archlinux.org/packages/extra/x86_64/nzbget/</a></p><p>PKGBUILD<br /></p><div class="codebox"><pre><code># Maintainer: Jaroslav Lichtblau &lt;svetlemodry@archlinux.org&gt;
# Maintainer: Carl Smedstad &lt;carsme@archlinux.org&gt;
# Contributor: Alexander Rødseth &lt;rodseth@gmail.com&gt;

pkgname=nzbget
pkgver=25.4
pkgrel=2
pkgdesc=&quot;Efficient usenet downloader&quot;
arch=(&#039;x86_64&#039;)
url=&quot;https://nzbget.com&quot;
license=(&#039;GPL-2.0-or-later&#039;)
depends=(
  &#039;boost-libs&#039;
  &#039;gcc-libs&#039;
  &#039;glibc&#039;
  &#039;libxml2&#039;
  &#039;ncurses&#039;
  &#039;zlib&#039;
)
makedepends=(
  &#039;boost&#039;
  &#039;cmake&#039;
  &#039;git&#039;
)
optdepends=(
  &#039;python: to run included scripts&#039;
  &#039;unar: unpacking archives&#039;
  &#039;7zip: unpacking archives&#039;
)
source=(
  &quot;https://github.com/nzbgetcom/nzbget/archive/v$pkgver/$pkgname-$pkgver.tar.gz&quot;
  &quot;git+https://github.com/nzbgetcom/par2cmdline-turbo.git&quot;
  &quot;$pkgname-use-par2cmdline-turbo-from-sources.patch&quot;
)
sha256sums=(&#039;2603116ffaef4992621cf7a82ce300f41a676a312de784f2bac5058abc1a2385&#039;
            &#039;SKIP&#039;
            &#039;9608a7166969593fea35c2db61a788a0c0083dece1907fcc33c978c70226ff0a&#039;)

prepare() {
  cd $pkgname-$pkgver
  patch -Np1 &lt; ../$pkgname-use-par2cmdline-turbo-from-sources.patch
}

build() {
  cd $pkgname-$pkgver
  cmake -S . -B build \
    -DCMAKE_BUILD_TYPE=None \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -Wno-dev \
    -DENABLE_TESTS=ON \
    -DDISABLE_TLS=ON
  cmake --build build
}

check() {
  cd $pkgname-$pkgver
  ctest --test-dir build --output-on-failure
}

package() {
  cd $pkgname-$pkgver
  DESTDIR=&quot;$pkgdir&quot; cmake --install build
  install -vDm644 -t &quot;$pkgdir/usr/share/doc/$pkgname&quot; ./*.md
}</code></pre></div><p>nzbget-use-par2cmdline-turbo-from-sources.patch<br /></p><div class="codebox"><pre><code>diff --unified --recursive --text --new-file nzbget-25.3.orig/cmake/par2-turbo.cmake nzbget-25.3/cmake/par2-turbo.cmake
--- nzbget-25.3.orig/cmake/par2-turbo.cmake    2025-09-01 20:50:58.443363400 +0200
+++ nzbget-25.3/cmake/par2-turbo.cmake    2025-09-01 20:51:31.722598503 +0200
@@ -51,7 +51,7 @@
 ExternalProject_add(
     par2-turbo
     PREFIX            par2-turbo
-    GIT_REPOSITORY    https://github.com/nzbgetcom/par2cmdline-turbo.git
+    GIT_REPOSITORY    file://${CMAKE_SOURCE_DIR}/../par2cmdline-turbo
     GIT_TAG            v1.3.0-20250808
     TLS_VERIFY        TRUE
     GIT_SHALLOW        TRUE</code></pre></div>]]></content>
			<author>
				<name><![CDATA[aloniv]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=387</uri>
			</author>
			<updated>2025-11-13T05:46:11Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=8670#p8670</id>
		</entry>
</feed>
