summaryrefslogtreecommitdiff
path: root/community/audex
diff options
context:
space:
mode:
Diffstat (limited to 'community/audex')
-rw-r--r--community/audex/PKGBUILD22
-rw-r--r--community/audex/audex.install1
-rw-r--r--community/audex/gcc47.patch13
3 files changed, 27 insertions, 9 deletions
diff --git a/community/audex/PKGBUILD b/community/audex/PKGBUILD
index 1572774dc..780896cf1 100644
--- a/community/audex/PKGBUILD
+++ b/community/audex/PKGBUILD
@@ -1,16 +1,17 @@
-# $Id: PKGBUILD 57952 2011-11-04 20:47:05Z lcarlier $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# $Id: PKGBUILD 74830 2012-08-06 23:08:31Z andrea $
+# Maintainer: Laurent Carlier <lordheavym@gmail.com>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: mightyjaym <jmambrosino@gmail.com>
# Contributor: moostik <mooostik_at_gmail.com>
pkgname=audex
pkgver=0.74b1
-pkgrel=3
+pkgrel=4
pkgdesc="A CDDA extraction tool with a ftp upload function for KDE"
arch=('i686' 'x86_64')
url="http://kde-apps.org/content/show.php?content=77125"
license=('GPL')
-depends=('kdemultimedia-kioslave' 'cdparanoia')
+depends=('kdebase-runtime' 'libkcddb' 'libkcompactdisc' 'cdparanoia')
makedepends=('cmake' 'automoc4')
optdepends=('vorbis-tools: OGG encoder'
'faac: MP4/M4A/AAC encoder'
@@ -18,14 +19,18 @@ optdepends=('vorbis-tools: OGG encoder'
'lame: MP3 encoder')
install=${pkgname}.install
source=("ftp://ftp.archlinux.org/other/community/${pkgname}/${pkgname}-${pkgver}.tar.xz"
- "google_regex.patch")
+ "google_regex.patch" 'gcc47.patch')
md5sums=('20fdf9a0f89c08f44a151b6bdaab8782'
- '77b33d8daead89d5f4f15b78a1cd1d55')
+ '77b33d8daead89d5f4f15b78a1cd1d55'
+ '64107bcf90e22910e57804be774822dd')
build() {
- cd ${srcdir}
# fix bug FS#25193
- patch -Np0 -i google_regex.patch
+ patch -Np0 -i "${srcdir}"/google_regex.patch
+
+ cd ${pkgname}-${pkgver}
+ patch -p1 -i "${srcdir}"/gcc47.patch
+ cd ..
mkdir build
cd build
@@ -38,6 +43,5 @@ build() {
package() {
cd ${srcdir}/build
-
make DESTDIR=${pkgdir} install
}
diff --git a/community/audex/audex.install b/community/audex/audex.install
index e70c054ec..81ce5c4b0 100644
--- a/community/audex/audex.install
+++ b/community/audex/audex.install
@@ -1,5 +1,6 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
}
post_upgrade() {
diff --git a/community/audex/gcc47.patch b/community/audex/gcc47.patch
new file mode 100644
index 000000000..3d0ccf024
--- /dev/null
+++ b/community/audex/gcc47.patch
@@ -0,0 +1,13 @@
+--- audex-0.74b1.orig/utils/hashlist.cpp
++++ audex-0.74b1/utils/hashlist.cpp
+@@ -15,7 +15,8 @@
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+-
++
++#include <unistd.h>
+ #include "hashlist.h"
+
+ Hashlist::Hashlist() {
+