summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2019-05-02 18:59:37 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2019-05-02 18:59:37 -0500
commit9d6338ec754476d27570af3fbebc208e3e0ee8bd (patch)
tree52ebd52d7ab6e843301d823ee2ce4b4831227ec8
parent48f5e181e96aadc98686c3544d079721af17312c (diff)
downloadabslibre-9d6338ec754476d27570af3fbebc208e3e0ee8bd.tar.gz
abslibre-9d6338ec754476d27570af3fbebc208e3e0ee8bd.tar.bz2
abslibre-9d6338ec754476d27570af3fbebc208e3e0ee8bd.zip
smplayer-19.1.0-1.par1: updating version
-rw-r--r--libre/smplayer/PKGBUILD24
-rw-r--r--libre/smplayer/libre.patch24
2 files changed, 25 insertions, 23 deletions
diff --git a/libre/smplayer/PKGBUILD b/libre/smplayer/PKGBUILD
index 2a5a7a0d4..de1aeca0b 100644
--- a/libre/smplayer/PKGBUILD
+++ b/libre/smplayer/PKGBUILD
@@ -11,11 +11,14 @@
# - removed smtube support
pkgname=smplayer
-pkgver=18.2.0
-pkgrel=1.parabola1
-pkgdesc='Media player with built-in codecs that can play virtually all video and audio formats, without nonfree smtube support'
+pkgver=19.1.0
+pkgrel=1
+pkgrel+=.par1
+pkgdesc='Media player with built-in codecs that can play virtually all video and audio formats'
+pkgdesc+=', without nonfree smtube support'
url='https://www.smplayer.info/'
-arch=('x86_64' 'i686' 'armv7h')
+arch=('x86_64')
+arch+=('i686' 'armv7h')
license=('GPL')
depends=('qt5-script' 'mpv' 'hicolor-icon-theme' 'libx11' 'zlib' 'gcc-libs')
makedepends=('qt5-tools')
@@ -25,10 +28,10 @@ optdepends=('smplayer-themes: icon themes collection'
'mplayer: alternative multimedia engine')
source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2
libre.patch)
-sha256sums=('0e6e19dc90dd7a2bd0f920bff8c53f8a5450abd5907847726d47d172a51e76d0'
- 'e86a0881d6696dfe2b5a2742947f317090194beab4986df7e9ac8845727e78de')
-sha512sums=('43be64b82f77b223ef885b63b1bb3302b96cb93897cbf66df6272075bcfb76dbf11091526ae2b1bcde6845e25053a31456361fbd841a4dad8d229bacfab8bdb5'
- '813efc30a754015d8bca9391ed3b586481c2cd931a0b234a8cb94cdad7ae92b8976aabd05569099900ce65b8f2fd39d39da0dddff46bfe10891dd5edc4f12283')
+sha256sums=('7a483d24c928fa51e8d48322cfd7d747fa5bf6cf587505d29a44c256abb64360'
+ '86d93ac8d06830c767903f5526177c73570715887113a9f4694360b0f1c3ffc6')
+sha512sums=('aee009f0ff6dcfe8e5b0b80c99d44c41a02c34d7974c1a15b21235e3daaf3142f5c936adb043327804412309b88e0ff8f0ef440c1835541adb6bf703d486ff79'
+ 'cbe4e873596abb175721ae737dc078e78074c50f4e96165a26849348138304fdbbef3a68655fa6f1be79dcd5d55c587c150e97650d76b832ab2a0dbaffd92ea4')
prepare() {
cd ${pkgname}-${pkgver}
@@ -42,16 +45,17 @@ prepare() {
build() {
cd ${pkgname}-${pkgver}
+ export CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}"
make PREFIX=/usr \
DOC_PATH="\\\"/usr/share/doc/smplayer\\\"" \
QMAKE_OPTS=DEFINES+=NO_DEBUG_ON_CONSOLE \
- CFLAGS_EXTRA="${CFLAGS} ${LDFLAGS}"
+ CFLAGS_EXTRA="${CFLAGS} ${CPPFLAGS} ${LDFLAGS}"
}
package() {
cd ${pkgname}-${pkgver}
make DOC_PATH=/usr/share/doc/smplayer \
- DESTDIR="${pkgdir}" PREFIX=/usr install
+ DESTDIR="${pkgdir}" PREFIX=/usr -j1 install
}
# vim: ts=2 sw=2 et:
diff --git a/libre/smplayer/libre.patch b/libre/smplayer/libre.patch
index bf41c8d95..c50c10853 100644
--- a/libre/smplayer/libre.patch
+++ b/libre/smplayer/libre.patch
@@ -1,21 +1,19 @@
-diff --git a/src/playlist.h b/src/playlist.h
-index 025ffc9..ec82b50 100644
---- a/src/playlist.h
-+++ b/src/playlist.h
-@@ -27,7 +27,7 @@
- #include <QProcess>
+--- smplayer-19.1.0.orig/src/playlist.h 2019-01-26 15:30:09.000000000 -0500
++++ smplayer-19.1.0/src/playlist.h 2019-04-30 21:29:03.150238329 -0500
+@@ -28,8 +28,8 @@
#include "mediadata.h"
+ #ifdef YOUTUBE_SUPPORT
-#define PLAYLIST_DOWNLOAD
+-#define YT_PLAYLIST_SUPPORT
+//#define PLAYLIST_DOWNLOAD
- //#define PLAYLIST_DOUBLE_TOOLBAR
++//#define YT_PLAYLIST_SUPPORT
+ #endif
- class PLItem : public QStandardItem {
-diff --git a/src/smplayer.pro b/src/smplayer.pro
-index 7e05ff9..003819c 100644
---- a/src/smplayer.pro
-+++ b/src/smplayer.pro
-@@ -13,7 +13,7 @@ RESOURCES = icons.qrc
+ //#define PLAYLIST_DOUBLE_TOOLBAR
+--- smplayer-19.1.0.orig/src/smplayer.pro 2018-10-10 15:16:33.000000000 -0500
++++ smplayer-19.1.0/src/smplayer.pro 2019-04-30 21:29:40.490237940 -0500
+@@ -13,7 +13,7 @@
DEFINES += SINGLE_INSTANCE
DEFINES += FIND_SUBTITLES
DEFINES += VIDEOPREVIEW