diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 46 |
1 files changed, 11 insertions, 35 deletions
@@ -2,47 +2,23 @@ # Contributors: Det, goetzc, Ner0, Lari Tikkanen, oke3, Flamelab, WAntilles pkgname=smplayer-svn -pkgver=21.10.0.rc34af9e16 +pkgver=99.0 pkgrel=1 -pkgdesc='Media player with built-in codecs that can play virtually all video and audio formats' +pkgdesc='Transitional Package:(smplayer-git) Media player with built-in codecs that can play virtually all video and audio formats' arch=('x86_64') url='https://www.smplayer.info/' license=('GPL') -depends=('qt5-script' 'hicolor-icon-theme' 'libx11' 'zlib' 'gcc-libs') -makedepends=('qt5-tools' 'subversion') -optdepends=('smplayer-themes-svn: icon themes collection' - 'smplayer-skins-svn: skin themes collection' - 'smtube-svn: browse and play YouTube videos' - 'youtube-dl: YouTube videos and streaming' - 'mplayer: backend for video playback' - 'mpv: alternative modern backend') -provides=('smplayer') -conflicts=('smplayer') -source=($pkgname::git+https://github.com/smplayer-dev/smplayer.git) +depends=('pacman' 'smplayer-git') +provides=('smplayer-svn') sha256sums=('SKIP') -pkgver() { - cd $pkgname - echo $(grep -m1 'Version' smplayer.spec | cut -d " " -f9).r$(git rev-parse --short HEAD) -} - -prepare() { - cd $pkgname - sed '/gzip -9/d' -i Makefile -} - -build() { - cd $pkgname - export CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}" - make PREFIX=/usr \ - DOC_PATH="\\\"/usr/share/doc/smplayer\\\"" \ - QMAKE_OPTS=DEFINES+=NO_DEBUG_ON_CONSOLE \ - CFLAGS_EXTRA="${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" -} - package() { - cd $pkgname - make DOC_PATH=/usr/share/doc/smplayer \ - DESTDIR="${pkgdir}" PREFIX=/usr -j1 install + echo "This package is Depreciated: Please install smplayer-git, instead." + echo "" + echo "This package will remain as a transitionary package until such time its no longer required." + echo "" + echo "You may uninstall this package if this is your first time seeing this, as smplayer-git should of been installed as part of its installation." + echo "" + echo "Goodbye, and Thanks for all the Fish!" } |