summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/audex-libre/PKGBUILD27
-rw-r--r--libre/audex-libre/gcc47.patch13
2 files changed, 11 insertions, 29 deletions
diff --git a/libre/audex-libre/PKGBUILD b/libre/audex-libre/PKGBUILD
index 2c4ef80aa..890df887f 100644
--- a/libre/audex-libre/PKGBUILD
+++ b/libre/audex-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id$
+# $Id: PKGBUILD 106445 2014-03-03 14:51:50Z lcarlier $
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: mightyjaym <jmambrosino@gmail.com>
@@ -7,43 +7,38 @@
_pkgname=audex
pkgname=audex-libre
-pkgver=0.77b1
+pkgver=0.78
pkgrel=1
-pkgdesc="A CDDA extraction tool with a ftp upload function for KDE (without nonfree faac recommendation)"
+pkgdesc="A CDDA extraction tool with a ftp upload function for KDE, without nonfree faac recommendation"
arch=('i686' 'x86_64')
url="http://kde-apps.org/content/show.php?content=77125"
license=('GPL')
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
depends=('kdebase-runtime' 'libkcddb' 'libkcompactdisc' 'cdparanoia')
makedepends=('cmake' 'automoc4')
optdepends=('vorbis-tools: OGG encoder'
'flac: FLAC encoder'
'lame: MP3 encoder')
-replaces=$_pkgname
-conflicts=$_pkgname
-provides=$_pkgname=$pkgver
install=${_pkgname}.install
-#source=("ftp://ftp.archlinux.org/other/community/${_pkgname}/${_pkgname}-${pkgver}.tar.xz"
-source=("http://kde.maniatek.com/${_pkgname}/files/${_pkgname}-${pkgver}.tar.xz"
- 'gcc47.patch')
-md5sums=('1f3df64b60b15315e958e3e3b151fe92'
- '64107bcf90e22910e57804be774822dd')
+source=("http://kde.maniatek.com/${_pkgname}/files/${_pkgname}-${pkgver}.tar.xz")
+md5sums=('e424309ab085de40043f841f2fa230c6')
build() {
cd ${_pkgname}-${pkgver}
- patch -p1 -i "${srcdir}"/gcc47.patch
- cd ..
-
mkdir build
cd build
- cmake ../${_pkgname}-${pkgver} \
+ cmake ../ \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
- cd ${srcdir}/build
+ cd ${_pkgname}-${pkgver}/build
+
make DESTDIR=${pkgdir} install
}
diff --git a/libre/audex-libre/gcc47.patch b/libre/audex-libre/gcc47.patch
deleted file mode 100644
index 3d0ccf024..000000000
--- a/libre/audex-libre/gcc47.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- 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() {
-