summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/sacd-extract/PKGBUILD29
-rw-r--r--pcr/sacd-ripper/PKGBUILD44
-rw-r--r--pcr/sacd-ripper/sacd-ripper-glibc.patch15
3 files changed, 29 insertions, 59 deletions
diff --git a/pcr/sacd-extract/PKGBUILD b/pcr/sacd-extract/PKGBUILD
new file mode 100644
index 000000000..84b98f450
--- /dev/null
+++ b/pcr/sacd-extract/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer (Arch): spider-mario <spidermario@free.fr>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+pkgname=sacd-extract
+pkgver=0.3.8
+pkgrel=1
+pkgdesc="Extract DSD files from an SACD image"
+arch=('i686' 'x86_64')
+url="https://sourceforge.net/p/sacd-ripper/"
+license=('GPL2')
+depends=('glibc')
+makedepends=('cmake' 'subversion')
+source=('sacd-ripper::svn+http://svn.code.sf.net/p/sacd-ripper/code/trunk#revision=399')
+sha512sums=(SKIP)
+
+build() {
+ rm -fr build
+ mkdir build
+ cd build
+
+ cmake -DCMAKE_BUILD_TYPE=Release ../sacd-ripper/tools/sacd_extract/
+
+ make
+}
+
+package() {
+ cd build
+
+ install -Dm755 sacd_extract "$pkgdir"/usr/bin/sacd_extract
+}
diff --git a/pcr/sacd-ripper/PKGBUILD b/pcr/sacd-ripper/PKGBUILD
deleted file mode 100644
index 65ba7b43b..000000000
--- a/pcr/sacd-ripper/PKGBUILD
+++ /dev/null
@@ -1,44 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-
-_pkgbase=sacd-ripper
-pkgname=sacd-extact
-pkgver=0.3.7.git20130822
-_gitver='commit=d2c2441e7aa8be6d7f47f045da770c267b59a547'
-pkgdesc="Super Audio CD extractor"
-url=https://github.com/hank/$_pkgbase/tree/master/tools/sacd_extract
-license=(GPL) # GPLv2+
-
-arch=(i686 x86_64)
-pkgrel=1
-makedepends=(cmake)
-
-source=(https://repo.parabola.nu/other/pcr/$_pkgbase/$_pkgbase-$pkgver.tar.gz
- sacd-ripper-glibc.patch)
-md5sums=('9d366465a68d1583bb675f57739b413a'
- 'b0b2cf599cbc443608bfc9516e1d35b4')
-
-mksource=("$_pkgbase-$pkgver::git+https://github.com/hank/$_pkgbase.git#${_gitver}")
-mkmd5sums=('SKIP')
-
-prepare() {
- cd "$srcdir/$_pkgbase-$pkgver"
- patch -p1 -i ../sacd-ripper-glibc.patch
-}
-
-build() {
- cd "$srcdir"
-
- sed -n '/^-- SACD Ripper\/Extract Usage Instructions --/,$p' \
- < $_pkgbase-$pkgver/readme \
- > README
-
- mkdir build
- cd build
- cmake ../$_pkgbase-$pkgver/tools/sacd_extract
- make
-}
-
-package() {
- install -Dm755 "$srcdir"/build/sacd_extract -t "$pkgdir"/usr/bin
- install -Dm644 "$srcdir"/README -t "$pkgdir"/usr/share/doc/$pkgname
-}
diff --git a/pcr/sacd-ripper/sacd-ripper-glibc.patch b/pcr/sacd-ripper/sacd-ripper-glibc.patch
deleted file mode 100644
index ab737f040..000000000
--- a/pcr/sacd-ripper/sacd-ripper-glibc.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff --git a/tools/sacd_extract/CMakeLists.txt b/tools/sacd_extract/CMakeLists.txt
-index 2f48e25..228ce7b 100644
---- a/tools/sacd_extract/CMakeLists.txt
-+++ b/tools/sacd_extract/CMakeLists.txt
-@@ -51,8 +51,8 @@ elseif(WIN32)
- elseif(APPLE)
- set(CMAKE_C_STANDARD_LIBRARIES "${CMAKE_CXX_STANDARD_LIRARIES} -liconv -lpthread")
- else()
-- add_definitions(-D_FILE_OFFSET_BITS=64)
-- set(CMAKE_C_STANDARD_LIBRARIES "${CMAKE_CXX_STANDARD_LIRARIES} -lpthread -liconv")
-+ add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE)
-+ set(CMAKE_C_STANDARD_LIBRARIES "${CMAKE_CXX_STANDARD_LIRARIES} -lpthread")
- endif()
-
- file(GLOB libcommon_headers ../../libs/libcommon/*.h)