diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-02 06:41:22 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-02 06:41:22 -0300 |
commit | fcce4e670cd2d81990b3f50e8a682b44d40a73cc (patch) | |
tree | 2634d6d68316f3f4dd51f378e826da884a919288 /libre/audex | |
parent | c5822ca785d156da9849d5e25dc79a93d1fac22d (diff) | |
download | abslibre-fcce4e670cd2d81990b3f50e8a682b44d40a73cc.tar.gz abslibre-fcce4e670cd2d81990b3f50e8a682b44d40a73cc.tar.bz2 abslibre-fcce4e670cd2d81990b3f50e8a682b44d40a73cc.zip |
remove parabola suffix and add complex pkgrel on the packages
Diffstat (limited to 'libre/audex')
-rw-r--r-- | libre/audex/PKGBUILD | 42 | ||||
-rw-r--r-- | libre/audex/audex.install | 12 | ||||
-rw-r--r-- | libre/audex/google_regex.patch | 14 |
3 files changed, 68 insertions, 0 deletions
diff --git a/libre/audex/PKGBUILD b/libre/audex/PKGBUILD new file mode 100644 index 000000000..0e2730eb6 --- /dev/null +++ b/libre/audex/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 106445 2014-03-03 14:51:50Z lcarlier $ +# Maintainer (Arch): Laurent Carlier <lordheavym@gmail.com> +# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org> +# Contributor (Arch): mightyjaym <jmambrosino@gmail.com> +# Contributor (Arch): moostik <mooostik_at_gmail.com> +# Maintainer: André Silva <emulatorman@parabola.nu> + +pkgname=audex +pkgver=0.78 +pkgrel=1.parabola1 +pkgdesc="A CDDA extraction tool with a ftp upload function for KDE, without nonfree faac recommendation" +arch=('i686' 'x86_64' 'mips64el') +url="http://kde-apps.org/content/show.php?content=77125" +license=('GPL') +replaces=("${pkgname}-libre" "${pkgname}-parabola") +conflicts=("${pkgname}-libre" "${pkgname}-parabola") +depends=('kdebase-runtime' 'libkcddb' 'libkcompactdisc' 'cdparanoia') +makedepends=('cmake' 'automoc4') +optdepends=('vorbis-tools: OGG encoder' + 'flac: FLAC encoder' + 'lame: MP3 encoder') +install=${pkgname}.install +source=("http://kde.maniatek.com/${pkgname}/files/${pkgname}-${pkgver}.tar.xz") +md5sums=('e424309ab085de40043f841f2fa230c6') + +build() { + cd ${pkgname}-${pkgver} + + mkdir build + cd build + + cmake ../ \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd ${pkgname}-${pkgver}/build + + make DESTDIR=${pkgdir} install +} diff --git a/libre/audex/audex.install b/libre/audex/audex.install new file mode 100644 index 000000000..81ce5c4b0 --- /dev/null +++ b/libre/audex/audex.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/libre/audex/google_regex.patch b/libre/audex/google_regex.patch new file mode 100644 index 000000000..86917e66f --- /dev/null +++ b/libre/audex/google_regex.patch @@ -0,0 +1,14 @@ +--- audex-0.74b1/utils/coverfetcher.cpp 2011-01-15 12:06:25.000000000 +0100 ++++ audex-0.74b1/utils/coverfetcher_new.cpp 2011-07-20 18:43:37.554588883 +0200 +@@ -162,7 +162,10 @@ + cover_tbnids.clear(); + cover_thumbnails.clear(); + +- QRegExp rx("<a\\shref=(\\/imgres\\?imgurl=[a-zA-Z0-9\\&\\_\\%\\/\\=\\.\\:\\-\\?]+)>[\\s\\n]*<img\\ssrc=([a-zA-Z0-9\\&\\_\\%\\/\\=\\.\\:\\-\\?]+).*>[\\s\\n]*</a>"); ++ QRegExp rx("<a\\shref=\"(\\/imgres\\?imgurl=[^\"]+)\">[\\s\\n]*<img[^>]+src=\"([^>]+)\"></a>"); ++ QString html = xml; ++ html.replace( QLatin1String("&"), QLatin1String("&") ); ++ + rx.setMinimal(TRUE); + + int pos = 0; int i = 0; |