diff options
-rw-r--r-- | .SRCINFO | 42 | ||||
-rw-r--r-- | PKGBUILD | 54 |
2 files changed, 34 insertions, 62 deletions
@@ -1,18 +1,22 @@ +# Generated by mksrcinfo v8 +# Tue Jan 5 15:17:07 UTC 2016 pkgbase = flacon-git pkgdesc = Extracts individual tracks from one big audio file containing the entire album of music and saves them as separate audio files. (Git Version) - pkgver = v1.0.1.3.ga605b17 + pkgver = v1.2.0.36.g09d0af4 pkgrel = 1 url = http://flacon.github.io/ + install = flacon-git.install arch = x86_64 arch = i686 license = LGPL2.1 - makedepends = cmake makedepends = git - makedepends = qt4 + makedepends = cmake makedepends = qt5-tools - makedepends = qt5-base - makedepends = uchardet - makedepends = shntool + depends = qt5-base + depends = uchardet + depends = shntool + depends = hicolor-icon-theme + depends = desktop-file-utils optdepends = faac: For AAC support optdepends = flac: For FLAC support optdepends = lame: For MP3 support @@ -22,30 +26,10 @@ pkgbase = flacon-git optdepends = ttaenc: For TrueAudio support optdepends = vorbisgain: For OGG Replay Gain support optdepends = wavpack: For WavPack support - source = git+https://github.com/flacon/flacon.git - sha1sums = SKIP - -pkgname = flacon-qt4-git - pkgdesc = Extracts individual tracks from one big audio file containing the entire album of music and saves them as separate audio files. Qt4 build (Git Version) - install = flacon-git.install - depends = qt4 - depends = uchardet - depends = shntool provides = flacon - provides = flacon-qt4 conflicts = flacon - conflicts = flacon-qt5 + source = git+https://github.com/flacon/flacon.git + sha1sums = SKIP -pkgname = flacon-qt5-git - pkgdesc = Extracts individual tracks from one big audio file containing the entire album of music and saves them as separate audio files. Qt5 build (Git Version) - install = flacon-git.install - depends = qt5-base - depends = uchardet - depends = shntool - depends = hicolor-icon-theme - depends = desktop-file-utils - provides = flacon - provides = flacon-qt5 - conflicts = flacon - conflicts = flacon-qt4 +pkgname = flacon-git @@ -1,14 +1,22 @@ # Contributor: Gustavo Alvarez <sl1pkn07@gmail.com> -pkgbase=flacon-git -pkgname=('flacon-qt4-git' 'flacon-qt5-git') -pkgver=v1.0.1.3.ga605b17 +pkgname=flacon-git +pkgver=v1.2.0.36.g09d0af4 pkgrel=1 pkgdesc="Extracts individual tracks from one big audio file containing the entire album of music and saves them as separate audio files. (Git Version)" arch=('x86_64' 'i686') url="http://flacon.github.io/" license=('LGPL2.1') -makedepends=('cmake' 'git' 'qt4' 'qt5-tools' 'qt5-base' 'uchardet' 'shntool') +depends=('qt5-base' + 'uchardet' + 'shntool' + 'hicolor-icon-theme' + 'desktop-file-utils' + ) +makedepends=('git' + 'cmake' + 'qt5-tools' + ) optdepends=('faac: For AAC support' 'flac: For FLAC support' 'lame: For MP3 support' @@ -17,9 +25,13 @@ optdepends=('faac: For AAC support' 'vorbis-tools: For OGG support' 'ttaenc: For TrueAudio support' 'vorbisgain: For OGG Replay Gain support' - 'wavpack: For WavPack support') + 'wavpack: For WavPack support' + ) +conflicts=('flacon') +provides=('flacon') source=('git+https://github.com/flacon/flacon.git') sha1sums=('SKIP') +install=flacon-git.install pkgver() { cd flacon @@ -27,19 +39,11 @@ pkgver() { } prepare() { - mkdir -p build-qt{4,5} + mkdir -p build } build() { - msg2 'Build with Qt4' - cd build-qt4 - cmake ../flacon \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DUSE_QT4=ON - make - msg2 'Build with Qt5' - cd ../build-qt5 + cd build cmake ../flacon \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ @@ -47,22 +51,6 @@ build() { make } -package_flacon-qt4-git() { - pkgdesc="Extracts individual tracks from one big audio file containing the entire album of music and saves them as separate audio files. Qt4 build (Git Version)" - depends=('qt4' 'uchardet' 'shntool') - conflicts=('flacon' 'flacon-qt5') - provides=('flacon' 'flacon-qt4') - install=flacon-git.install - - make -C build-qt4 DESTDIR="${pkgdir}" install -} - -package_flacon-qt5-git() { - pkgdesc="Extracts individual tracks from one big audio file containing the entire album of music and saves them as separate audio files. Qt5 build (Git Version)" - depends=('qt5-base' 'uchardet' 'shntool' 'hicolor-icon-theme' 'desktop-file-utils') - conflicts=('flacon' 'flacon-qt4') - provides=('flacon' 'flacon-qt5') - install=flacon-git.install - - make -C build-qt5 DESTDIR="${pkgdir}" install +package() { + make -C build DESTDIR="${pkgdir}" install }
\ No newline at end of file |