<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[HyperForum — [package] Reworking SMPlayer without proprietary Chromecast]]></title>
		<link>https://forums.hyperbola.info/viewtopic.php?id=329</link>
		<atom:link href="https://forums.hyperbola.info/extern.php?action=feed&amp;tid=329&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [package] Reworking SMPlayer without proprietary Chromecast.]]></description>
		<lastBuildDate>Wed, 29 Jan 2020 19:27:06 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [package] Reworking SMPlayer without proprietary Chromecast]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=1696#p1696</link>
			<description><![CDATA[<div class="quotebox"><cite>throgh wrote:</cite><blockquote><p>Hello together,</p><p>as mentioned <a href="https://issues.hyperbola.info/index.php?do=details&amp;task_id=1484">in the concurrent issue</a> <strong>SMPlayer</strong> has got settings for usage with <a href="https://en.wikipedia.org/wiki/Chromecast">Chromecast</a>. So I&#039;ve added patchsets to the current package for the removal:</p><div class="codebox"><pre><code># Maintainer (Arch): Levente Polyak &lt;anthraxx[at]archlinux[dot]org&gt;
# Contributor (Arch): Ionut Biru &lt;ibiru@archlinux.org&gt;
# Contributor (Arch): Allan McRae &lt;allan@archlinux.org&gt;
# Contributor (Arch): Alessio &#039;mOLOk&#039; Bolognino &lt;themolok@gmail.com&gt;
# Contributor (Arch): shamrok &lt;szamrok@gmail.com&gt;
# Maintainer (Parabola): Omar Vega Ramos &lt;ovruni@gnu.org.pe&gt;
# Maintainer: André Silva &lt;emulatorman@hyperbola.info&gt;

pkgname=smplayer
pkgver=17.4.2
_debver=17.3.0
_debrel=1
pkgrel=1.hyperbola4
pkgdesc=&#039;Media player with built-in codecs that can play virtually all video and audio formats, without nonfree support, no proprietary chromecast and with hypervideo support&#039;
url=&#039;http://smplayer.sourceforge.net/&#039;
arch=(&#039;i686&#039; &#039;x86_64&#039;)
license=(&#039;GPL&#039;)
depends=(&#039;qt5-script&#039; &#039;mpv&#039; &#039;hicolor-icon-theme&#039;)
makedepends=(&#039;qt5-tools&#039; &#039;quilt&#039;)
optdepends=(&#039;smplayer-themes: icon themes collection&#039;
            &#039;smplayer-skins: skin themes collection&#039;
            &#039;hypervideo: youtube videos and streaming&#039;
            &#039;mplayer: alternative multimedia engine&#039;)
source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
        https://debian.simnet.is/debian/pool/main/s/smplayer/smplayer_$_debver~ds0-$_debrel.debian.tar.xz
        add-missing-QClipboard-include.patch
        libre.patch)
sha512sums=(&#039;bb0169dc1e2d6b56f3617986647664eda677229bce5b2aa898b64574319a84ac4d51c78f5a68ab57df5dce48c1f76d0d9e0dbdefa5baee351c0a22c2a9cb5186&#039;
            &#039;43982b8c97766b31fff1e6387e31455c47a070460f1d40d25eab17c5035d443e9d09070850f635ed8ef857c64f37bb124c2e16d69c1cbe92744ae576beca0f3f&#039;
            &#039;619b8a236b36518bf0f9984d87384d9c5be10fdbda17598d57736064c0c2d6d9f920c9d3f1eb059ba390670ec28559f0dda6f85757ef8696540c424b08863e39&#039;
            &#039;4f1384395a39abb8b65aa81558372177452bb7d9780af9dfa492db9f1b3fc93d258af2081a19f72bfee37899277fd7b487a616a73c04eaca8ea63925e0c96290&#039;)

prepare() {
  cd ${pkgname}-${pkgver}

  if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
    # Debian patches
    export QUILT_PATCHES=debian/patches
    export QUILT_REFRESH_ARGS=&#039;-p ab --no-timestamps --no-index&#039;
    export QUILT_DIFF_ARGS=&#039;--no-timestamps&#039;

    mv &quot;$srcdir&quot;/debian .

    quilt push -av
  fi

  # add missing QClipboard include
  patch -p1 -i ${srcdir}/add-missing-QClipboard-include.patch

  # disable SMTube support and rename youtube-dl to hypervideo
  patch -p1 -i ${srcdir}/libre.patch

  # fix GNU/Linux name
  sed -i &#039;s|Linux|GNU/Linux|&#039; src/smplayer.cpp
}

build() {
  cd ${pkgname}-${pkgver}
  make PREFIX=/usr \
    DOC_PATH=&quot;\\\&quot;/usr/share/doc/smplayer\\\&quot;&quot; \
    QMAKE_OPTS=DEFINES+=NO_DEBUG_ON_CONSOLE
}

package() {
  cd ${pkgname}-${pkgver}
  make DOC_PATH=/usr/share/doc/smplayer \
    DESTDIR=&quot;${pkgdir}&quot; PREFIX=/usr install
}

# vim: ts=2 sw=2 et:</code></pre></div><p>The file <strong>libre.patch</strong> is too long for posting here: <a href="https://hastebin.com/raw/ipafosuqab">https://hastebin.com/raw/ipafosuqab</a></p></blockquote></div><p>Thank you throgh, new revision pushed!</p>]]></description>
			<author><![CDATA[null@example.com (emulatorman)]]></author>
			<pubDate>Wed, 29 Jan 2020 19:27:06 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=1696#p1696</guid>
		</item>
		<item>
			<title><![CDATA[[package] Reworking SMPlayer without proprietary Chromecast]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=1688#p1688</link>
			<description><![CDATA[<p>Hello together,</p><p>as mentioned <a href="https://issues.hyperbola.info/index.php?do=details&amp;task_id=1484">in the concurrent issue</a> <strong>SMPlayer</strong> has got settings for usage with <a href="https://en.wikipedia.org/wiki/Chromecast">Chromecast</a>. So I&#039;ve added patchsets to the current package for the removal:</p><div class="codebox"><pre><code># Maintainer (Arch): Levente Polyak &lt;anthraxx[at]archlinux[dot]org&gt;
# Contributor (Arch): Ionut Biru &lt;ibiru@archlinux.org&gt;
# Contributor (Arch): Allan McRae &lt;allan@archlinux.org&gt;
# Contributor (Arch): Alessio &#039;mOLOk&#039; Bolognino &lt;themolok@gmail.com&gt;
# Contributor (Arch): shamrok &lt;szamrok@gmail.com&gt;
# Maintainer (Parabola): Omar Vega Ramos &lt;ovruni@gnu.org.pe&gt;
# Maintainer: André Silva &lt;emulatorman@hyperbola.info&gt;

pkgname=smplayer
pkgver=17.4.2
_debver=17.3.0
_debrel=1
pkgrel=1.hyperbola4
pkgdesc=&#039;Media player with built-in codecs that can play virtually all video and audio formats, without nonfree support, no proprietary chromecast and with hypervideo support&#039;
url=&#039;http://smplayer.sourceforge.net/&#039;
arch=(&#039;i686&#039; &#039;x86_64&#039;)
license=(&#039;GPL&#039;)
depends=(&#039;qt5-script&#039; &#039;mpv&#039; &#039;hicolor-icon-theme&#039;)
makedepends=(&#039;qt5-tools&#039; &#039;quilt&#039;)
optdepends=(&#039;smplayer-themes: icon themes collection&#039;
            &#039;smplayer-skins: skin themes collection&#039;
            &#039;hypervideo: youtube videos and streaming&#039;
            &#039;mplayer: alternative multimedia engine&#039;)
source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
        https://debian.simnet.is/debian/pool/main/s/smplayer/smplayer_$_debver~ds0-$_debrel.debian.tar.xz
        add-missing-QClipboard-include.patch
        libre.patch)
sha512sums=(&#039;bb0169dc1e2d6b56f3617986647664eda677229bce5b2aa898b64574319a84ac4d51c78f5a68ab57df5dce48c1f76d0d9e0dbdefa5baee351c0a22c2a9cb5186&#039;
            &#039;43982b8c97766b31fff1e6387e31455c47a070460f1d40d25eab17c5035d443e9d09070850f635ed8ef857c64f37bb124c2e16d69c1cbe92744ae576beca0f3f&#039;
            &#039;619b8a236b36518bf0f9984d87384d9c5be10fdbda17598d57736064c0c2d6d9f920c9d3f1eb059ba390670ec28559f0dda6f85757ef8696540c424b08863e39&#039;
            &#039;4f1384395a39abb8b65aa81558372177452bb7d9780af9dfa492db9f1b3fc93d258af2081a19f72bfee37899277fd7b487a616a73c04eaca8ea63925e0c96290&#039;)

prepare() {
  cd ${pkgname}-${pkgver}

  if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
    # Debian patches
    export QUILT_PATCHES=debian/patches
    export QUILT_REFRESH_ARGS=&#039;-p ab --no-timestamps --no-index&#039;
    export QUILT_DIFF_ARGS=&#039;--no-timestamps&#039;

    mv &quot;$srcdir&quot;/debian .

    quilt push -av
  fi

  # add missing QClipboard include
  patch -p1 -i ${srcdir}/add-missing-QClipboard-include.patch

  # disable SMTube support and rename youtube-dl to hypervideo
  patch -p1 -i ${srcdir}/libre.patch

  # fix GNU/Linux name
  sed -i &#039;s|Linux|GNU/Linux|&#039; src/smplayer.cpp
}

build() {
  cd ${pkgname}-${pkgver}
  make PREFIX=/usr \
    DOC_PATH=&quot;\\\&quot;/usr/share/doc/smplayer\\\&quot;&quot; \
    QMAKE_OPTS=DEFINES+=NO_DEBUG_ON_CONSOLE
}

package() {
  cd ${pkgname}-${pkgver}
  make DOC_PATH=/usr/share/doc/smplayer \
    DESTDIR=&quot;${pkgdir}&quot; PREFIX=/usr install
}

# vim: ts=2 sw=2 et:</code></pre></div><p>The file <strong>libre.patch</strong> is too long for posting here: <a href="https://hastebin.com/raw/ipafosuqab">https://hastebin.com/raw/ipafosuqab</a></p>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Wed, 29 Jan 2020 08:08:39 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=1688#p1688</guid>
		</item>
	</channel>
</rss>
