You are not logged in.

#1 2011-11-17 09:01:02

euri
Member
Registered: 2011-11-17
Posts: 3

PKGBUILD for qaac

Hello,
I just created a package for qaac from http://sites.google.com/site/qaacpage/.
qaac is a command line AAC/ALAC encoder interface based on the Apple encoder.

PKGBUILD:

pkgname=qaac
pkgver=1.04
pkgrel=1
pkgdesc="command line AAC/ALAC encoder interface based on Apple encoder"
arch=(i686)
url="http://sites.google.com/site/qaacpage"
license=('custom')
depends=(wine)
makedepends=(p7zip)
source=(qaac
       http://sites.google.com/site/qaacpage/cabinet/qaac_${pkgver}.zip
       http://appldnld.apple.com/QuickTime/041-3089.20111026.Sxpr4/QuickTimeInstaller.exe)
noextract=(qaac_${pkgver}.zip QuickTimeInstaller.exe)
options=(!strip)
md5sums=('6d9fa68421eb3bad76ae2d625546a029'
         '25d6171d101da28dedfdb47b2302fc30'
         '308e0c5f86214591e9bd32f9ad536208')

_qaacfiles=(qaac_${pkgver}/qaac.exe qaac_${pkgver}/msvcp100.dll qaac_${pkgver}/msvcr100.dll)
_qaacfiles+=(qaac_${pkgver}/libsoxrate.dll)

_coreaudiofiles=(CoreAudioToolbox.dll CoreFoundation.dll)
_coreaudiodeps=(ASL.dll icudt46.dll libdispatch.dll libicuin.dll libicuuc.dll objc.dll pthreadVC2.dll)

build() {
  install -d -m755 ${pkgdir}/usr/share/${pkgname}
  7z e ${srcdir}/qaac_${pkgver}.zip -o${pkgdir}/usr/share/${pkgname} ${_qaacfiles[@]}
  7z e ${srcdir}/QuickTimeInstaller.exe AppleApplicationSupport.msi -o${srcdir}
  7z e ${srcdir}/AppleApplicationSupport.msi -o${pkgdir}/usr/share/${pkgname} ${_coreaudiofiles[@]} ${_coreaudiodeps[@]}
  
  find ${pkgdir}/usr/share/${pkgname} -type d -exec chmod 755 "{}" \;
  find ${pkgdir}/usr/share/${pkgname} -type f -exec chmod 644 "{}" \;

  install -d -m755 ${pkgdir}/usr/bin
  install -m755 ${srcdir}/qaac ${pkgdir}/usr/bin 
}

qaac:

#!/bin/sh
export WINEDLLOVERRIDES="mshtml="
WINEDEBUG=-all wine /usr/share/qaac/qaac.exe "$@"

I think it is a nice alternative to neroaac and faac.
What do you think?

Last edited by euri (2011-11-17 09:01:57)

Offline

#2 2011-11-17 11:55:18

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: PKGBUILD for qaac

I suppose it might be worth considering for users who already have wine installed for other reasons.

Offline

#3 2012-03-17 13:18:58

acaN
Member
Registered: 2012-03-17
Posts: 1

Re: PKGBUILD for qaac

Registered just to say thank you. Very useful stuff, just need add empty line to qaac file or will get md5 error.

Offline

#4 2019-01-17 20:20:17

cniw
Member
Registered: 2019-01-17
Posts: 2

Re: PKGBUILD for qaac

Hello, I found old post with same topic so i comment here

It seems like now the qaac isn't in AUR, I updated the PKGBUILD from euri above and uploaded it on https://github.com/cniw/qaac
I hope it's good enough to be accepted at AUR.

I need all of your reviews, thanks before.

Offline

#5 2019-01-17 20:26:48

HalosGhost
Forum Moderator
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,089
Website

Re: PKGBUILD for qaac

Hello,

Please read the Code of Conduct you agreed to when you signed up. Do not necrobump.

Closing.

All the best,

-HG

Offline

Board footer

Powered by FluxBB