summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTérence Clastres2020-05-03 17:28:16 +0200
committerTérence Clastres2020-05-03 17:28:16 +0200
commitcda2729e1fd3e240473c1b1dc3541785060b35dd (patch)
tree0bacaf465239c6cb40341e5d647328431cee8302
parent4d699079c13afbe4c8974884c44e83f6079e31f6 (diff)
downloadaur-cda2729e1fd3e240473c1b1dc3541785060b35dd.tar.gz
Remove widevine.patch which is not necessary anymore
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD8
-rw-r--r--widevine-patch.patch11
3 files changed, 1 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a874e1bdefd9..7a9d4bfe994b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -26,7 +26,6 @@ pkgbase = mellowplayer-git
provides = mellowplayer
conflicts = mellowplayer
source = git+https://gitlab.com/ColinDuquesnoy/MellowPlayer.git
- source = widevine-patch.patch
md5sums = SKIP
md5sums = 67f8c5c6af4b770a4017a5ca9f137b90
diff --git a/PKGBUILD b/PKGBUILD
index 81c2271810cc..603d6e35e5c3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,8 +16,7 @@ arch=('x86_64' 'aarch64')
depends=('qt5-base' 'qt5-webengine' 'qt5-svg' 'qt5-quickcontrols2' 'qt5-quickcontrols' 'qt5-translations' 'qt5-graphicaleffects' 'xdg-utils' 'libnotify' 'libevent')
makedepends=('qt5-tools' 'cmake' 'mesa' 'ninja' 'pkgconf')
optdepends=( 'chromium-widevine: DRM needed for Spotify and Amazon Music' 'pepper-flash: needed for Tidal')
-source=("git+$url.git"
- 'widevine-patch.patch')
+source=("git+$url.git")
md5sums=('SKIP'
'67f8c5c6af4b770a4017a5ca9f137b90')
@@ -26,11 +25,6 @@ pkgver() {
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
-prepare() {
- cd "${srcdir}/${_pkgname}"
- patch -Np1 -i "${srcdir}/widevine-patch.patch" "${srcdir}/${_pkgname}/src/main/share/applications/mellowplayer.desktop"
-}
-
build() {
cd "${srcdir}/${_pkgname}"
cmake -GNinja -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" .
diff --git a/widevine-patch.patch b/widevine-patch.patch
deleted file mode 100644
index f63bd6fbfe1f..000000000000
--- a/widevine-patch.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/share/applications/mellowplayer.desktop 2017-12-18 19:35:26.705475288 +0100
-+++ src/share/applications/mellowplayer.desktop 2017-12-18 21:19:48.807747384 +0100
-@@ -3,7 +3,7 @@
- Version=1.0
- Type=Application
- Name=MellowPlayer
--Exec=MellowPlayer
-+Exec=MellowPlayer --ppapi-widevine-path=/usr/lib/qt/plugins/ppapi/libwidevinecdmadapter.so
- TryExec=MellowPlayer
- Icon=mellowplayer
- Terminal=false