diff options
author | Özgür Sarıer | 2018-03-02 02:43:59 +0300 |
---|---|---|
committer | Özgür Sarıer | 2018-03-02 02:43:59 +0300 |
commit | 1ca7f667a5148bfe1c5318ebcd85c1489bfe3879 (patch) | |
tree | e57afc7a8f6d78a1a507f7827cb86ca4ae32dc0c | |
parent | 53bd91ce3bc8288e0b7cab76dcfbf5ec03d98eba (diff) | |
download | aur-1ca7f667a5148bfe1c5318ebcd85c1489bfe3879.tar.gz |
Update to 3.0.1-1
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 89 | ||||
-rw-r--r-- | libfluidsynth_plugin.so | bin | 0 -> 14552 bytes | |||
-rw-r--r-- | notes.install | 2 |
4 files changed, 13 insertions, 91 deletions
@@ -1,23 +1,20 @@ # Generated by mksrcinfo v8 -# Mon Nov 13 17:11:46 UTC 2017 +# Thu Mar 1 23:40:56 UTC 2018 pkgbase = vlc-plugin-fluidsynth pkgdesc = FluidSynth plugin for VLC - pkgver = 2.2.5 + pkgver = 3.0.1 pkgrel = 1 url = http://www.videolan.org/vlc/ install = notes.install - arch = i686 arch = x86_64 license = LGPL2.1 - depends = vlc<3.0.0 + depends = vlc>3.0.0 depends = fluidsynth optdepends = soundfont-fluid: FluidR3_GM soundfont conflicts = vlc-plugin-fluidsynth-git replaces = vlc-plugin-fluidsynth-git - options = !libtool - options = !emptydirs - source = git://git.videolan.org/vlc/vlc-2.2.git - md5sums = SKIP + source = libfluidsynth_plugin.so + md5sums = 6cd7738f25d45977f0fded19d8d800c9 pkgname = vlc-plugin-fluidsynth @@ -1,98 +1,23 @@ # Maintainer : Özgür Sarıer <echo b3pndXJzYXJpZXIxMDExNjAxMTE1QGdtYWlsLmNvbQo= | base64 -d> - -_compile=1 -# 0=Use prebuilt debian vlc-plugin-fluidsynth package -# 1=Download vlc stable git source and compile vlc fluidsynth plugin standalone. +# Plugin file is obtained from Debian package vlc-plugin-fluidsynth_3.0.1-1_amd64.deb pkgname=vlc-plugin-fluidsynth -pkgver=2.2.5 +pkgver=3.0.1 pkgrel=1 _pkgrel_status= pkgdesc="FluidSynth plugin for VLC" -arch=('i686' 'x86_64') +arch=('x86_64') url="http://www.videolan.org/vlc/" license=('LGPL2.1') -depends=('vlc<3.0.0' 'fluidsynth') -makedepends=() +depends=('vlc>3.0.0' 'fluidsynth') optdepends=("soundfont-fluid: FluidR3_GM soundfont") conflicts=("${pkgname}-git") replaces=("${pkgname}-git") install="notes.install" - -if [ "${_compile}" -eq 0 ]; then - source_i686=("${pkgname}_${pkgver}-${pkgrel}${_pkgrel_status}_i386.deb::http://ftp.us.debian.org/debian/pool/main/v/vlc/${pkgname}_${pkgver}-${pkgrel}${_pkgrel_status}_i386.deb") - source_x86_64=("${pkgname}_${pkgver}-${pkgrel}${_pkgrel_status}_amd64.deb::http://ftp.us.debian.org/debian/pool/main/v/vlc/${pkgname}_${pkgver}-${pkgrel}${_pkgrel_status}_amd64.deb") - -md5sums_i686=('ec1e3775c3a63134befe85cad596dfe1') -md5sums_x86_64=('e50414182efbb8023151bfb9d215c9ea') -else - options=("!libtool" "!emptydirs") - source+=("git://git.videolan.org/${pkgname%%-*}/${pkgname%%-*}-${pkgver:0:3}.git") - md5sums+=('SKIP') -fi - -if [ "${_compile}" -ne 0 ]; then - pkgver() { - cd "${srcdir}/${pkgname%%-*}-${pkgver:0:3}" - conf_ver=`sed -n 's/)$//g;s/^AC_INIT(vlc, //p' configure.ac` - echo "${conf_ver:0:5}" - } -fi - -prepare() { - if [ "${_compile}" -eq 0 ]; then - cd "${srcdir}/" - mkdir -p "${srcdir}/data/" - tar -xf data.tar.xz -C "${srcdir}/data/" - else - cd "${srcdir}/${pkgname%%-*}-${pkgver:0:3}" - # Patch - sed -i -e 's:truetype/freefont:TTF:g' modules/text_renderer/freetype.c - sed -i -e 's:truetype/ttf-dejavu:TTF:g' modules/visualization/projectm.cpp - sed -i -e 's:libavcodec >= 57.10.100:libavcodec >= 57.300:g' configure.ac - sed -i -e 's:libavutil < 55:libavutil < 55.300:g' configure.ac - sed -i -e 's:5.6.0:5.7.0:g;s:5.5.0:5.6.0:g' configure.ac - fi -} - -if [ "${_compile}" -ne 0 ]; then - build() { - cd "${srcdir}/${pkgname%%-*}-${pkgver:0:3}" - - msg 'Generating necessary files...' - ./bootstrap - - msg 'Done. Configuring VLC...' - - # Config - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --disable-rpath \ - --enable-nls \ - --enable-lirc \ - --enable-fluidsynth \ - RCC=/usr/bin/rcc-qt4 - - msg 'Done. Starting make...' - - cd "${srcdir}/${pkgname%%-*}-${pkgver:0:3}/compat/" - make libcompat.la - - cd "${srcdir}/${pkgname%%-*}-${pkgver:0:3}/src/" - make libvlccore.la - - cd "${srcdir}/${pkgname%%-*}-${pkgver:0:3}/modules/" - make top_builddir="${srcdir}/${pkgname%%-*}-${pkgver:0:3}" codec/libfluidsynth_plugin_la-fluidsynth.lo libfluidsynth_plugin.la - } -fi +source=("libfluidsynth_plugin.so") +md5sums=('6cd7738f25d45977f0fded19d8d800c9') package() { - if [ "${_compile}" -eq 0 ]; then cd "${srcdir}/" - _bits=i386 ; [[ "$CARCH" = 'x86_64' ]] && _bits=x86_64 - install -Dm0755 "${srcdir}/data/usr/lib/$_bits-linux-gnu/vlc/plugins/codec/libfluidsynth_plugin.so" "$pkgdir/usr/lib/vlc/plugins/codec/libfluidsynth_plugin.so" - else - cd "${srcdir}/${pkgname%%-*}-${pkgver:0:3}/modules/" - make DESTDIR="${pkgdir}" codec_LTLIBRARIES="libfluidsynth_plugin.la" install-codecLTLIBRARIES - fi + install -Dm0755 "${srcdir}/libfluidsynth_plugin.so" "$pkgdir/usr/lib/vlc/plugins/codec/libfluidsynth_plugin.so" } diff --git a/libfluidsynth_plugin.so b/libfluidsynth_plugin.so Binary files differnew file mode 100644 index 000000000000..fc1f55202194 --- /dev/null +++ b/libfluidsynth_plugin.so diff --git a/notes.install b/notes.install index cd7662f13cf0..0631381c3dc5 100644 --- a/notes.install +++ b/notes.install @@ -1,5 +1,5 @@ post_upgrade() { - usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins + /usr/lib/vlc/vlc-cache-gen /usr/lib/vlc/plugins } post_remove() { |