[arch-commits] Commit in skype-call-recorder/repos (8 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Dec 7 00:18:06 UTC 2015
Date: Monday, December 7, 2015 @ 01:18:05
Author: foutrelis
Revision: 149400
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
skype-call-recorder/repos/community-staging-i686/
skype-call-recorder/repos/community-staging-i686/PKGBUILD
(from rev 149399, skype-call-recorder/trunk/PKGBUILD)
skype-call-recorder/repos/community-staging-i686/skype-call-recorder-0.9-dso-fix.patch
(from rev 149399, skype-call-recorder/trunk/skype-call-recorder-0.9-dso-fix.patch)
skype-call-recorder/repos/community-staging-i686/skype-call-recorder.install
(from rev 149399, skype-call-recorder/trunk/skype-call-recorder.install)
skype-call-recorder/repos/community-staging-x86_64/
skype-call-recorder/repos/community-staging-x86_64/PKGBUILD
(from rev 149399, skype-call-recorder/trunk/PKGBUILD)
skype-call-recorder/repos/community-staging-x86_64/skype-call-recorder-0.9-dso-fix.patch
(from rev 149399, skype-call-recorder/trunk/skype-call-recorder-0.9-dso-fix.patch)
skype-call-recorder/repos/community-staging-x86_64/skype-call-recorder.install
(from rev 149399, skype-call-recorder/trunk/skype-call-recorder.install)
----------------------------------------------------------------+
community-staging-i686/PKGBUILD | 35 ++++++
community-staging-i686/skype-call-recorder-0.9-dso-fix.patch | 55 ++++++++++
community-staging-i686/skype-call-recorder.install | 13 ++
community-staging-x86_64/PKGBUILD | 35 ++++++
community-staging-x86_64/skype-call-recorder-0.9-dso-fix.patch | 55 ++++++++++
community-staging-x86_64/skype-call-recorder.install | 13 ++
6 files changed, 206 insertions(+)
Copied: skype-call-recorder/repos/community-staging-i686/PKGBUILD (from rev 149399, skype-call-recorder/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-07 00:18:05 UTC (rev 149400)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Tarinaky <tarinaky at hunity.co.uk>
+
+pkgname=skype-call-recorder
+pkgver=0.9
+pkgrel=2
+pkgdesc="Open source tool that allows you to record your Skype calls on Linux"
+arch=('i686' 'x86_64')
+url="http://atdot.ch/scr/"
+license=('GPL')
+depends=('qt4' 'libvorbis' 'lame' 'id3lib' 'hicolor-icon-theme')
+makedepends=('cmake')
+install=skype-call-recorder.install
+source=($pkgname-$pkgver.tar.gz::https://github.com/jlherren/$pkgname/archive/$pkgver.tar.gz
+ skype-call-recorder-0.9-dso-fix.patch)
+sha256sums=('b143a75f66c16c7ae3d6a55aac50b0217b9e1097c838a9e406f00ce1561ac98e'
+ 'a2d4d5640970c90205285945b08891238287b488beb958abd42e08565aef747b')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ patch -Np1 -i "$srcdir/skype-call-recorder-0.9-dso-fix.patch"
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
Copied: skype-call-recorder/repos/community-staging-i686/skype-call-recorder-0.9-dso-fix.patch (from rev 149399, skype-call-recorder/trunk/skype-call-recorder-0.9-dso-fix.patch)
===================================================================
--- community-staging-i686/skype-call-recorder-0.9-dso-fix.patch (rev 0)
+++ community-staging-i686/skype-call-recorder-0.9-dso-fix.patch 2015-12-07 00:18:05 UTC (rev 149400)
@@ -0,0 +1,55 @@
+From 671531892b78eeb12fbdeb025547d3b1201409bf Mon Sep 17 00:00:00 2001
+From: jlh <jlh at gmx.ch>
+Date: Wed, 10 Jul 2013 13:45:41 +0200
+Subject: [PATCH] Fix linking issue with ogg/vorbis libraries
+
+---
+ CMakeLists.txt | 2 +-
+ CMakeModules/Findvorbisenc.cmake | 10 ++++++----
+ 2 files changed, 7 insertions(+), 5 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index abcf2e3..33b79cb 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -81,7 +81,7 @@ SET(LIBRARIES ${LIBRARIES} ${ID3_LIBRARY})
+
+ FIND_PACKAGE(vorbisenc REQUIRED)
+ INCLUDE_DIRECTORIES(${VORBISENC_INCLUDE_DIR})
+-SET(LIBRARIES ${LIBRARIES} ${VORBISENC_LIBRARY})
++SET(LIBRARIES ${LIBRARIES} ${OGG_LIBRARY} ${VORBIS_LIBRARY} ${VORBISENC_LIBRARY})
+
+ # Qt
+
+diff --git a/CMakeModules/Findvorbisenc.cmake b/CMakeModules/Findvorbisenc.cmake
+index d519b39..53210f0 100644
+--- a/CMakeModules/Findvorbisenc.cmake
++++ b/CMakeModules/Findvorbisenc.cmake
+@@ -1,18 +1,20 @@
+
+ FIND_PATH(VORBISENC_INCLUDE_DIR vorbis/vorbisenc.h /usr/include /usr/local/include)
++FIND_LIBRARY(OGG_LIBRARY NAMES ogg PATH /usr/lib /usr/local/lib)
++FIND_LIBRARY(VORBIS_LIBRARY NAMES vorbis PATH /usr/lib /usr/local/lib)
+ FIND_LIBRARY(VORBISENC_LIBRARY NAMES vorbisenc PATH /usr/lib /usr/local/lib)
+
+-IF (VORBISENC_INCLUDE_DIR AND VORBISENC_LIBRARY)
++IF (VORBISENC_INCLUDE_DIR AND OGG_LIBRARY AND VORBIS_LIBRARY AND VORBISENC_LIBRARY)
+ SET(VORBISENC_FOUND TRUE)
+-ENDIF (VORBISENC_INCLUDE_DIR AND VORBISENC_LIBRARY)
++ENDIF (VORBISENC_INCLUDE_DIR AND OGG_LIBRARY AND VORBIS_LIBRARY AND VORBISENC_LIBRARY)
+
+ IF (VORBISENC_FOUND)
+ IF (NOT vorbisenc_FIND_QUIETLY)
+- MESSAGE(STATUS "Found vorbisenc: ${VORBISENC_INCLUDE_DIR}/vorbis/vorbisenc.h ${VORBISENC_LIBRARY}")
++ MESSAGE(STATUS "Found vorbisenc: ${VORBISENC_INCLUDE_DIR}/vorbis/vorbisenc.h ${OGG_LIBRARY} ${VORBIS_LIBRARY} ${VORBISENC_LIBRARY}")
+ ENDIF (NOT vorbisenc_FIND_QUIETLY)
+ ELSE (VORBISENC_FOUND)
+ IF (vorbisenc_FIND_REQUIRED)
+- MESSAGE(FATAL_ERROR "Could not find vorbisenc")
++ MESSAGE(FATAL_ERROR "Could not find ogg, vorbis or vorbisenc")
+ ENDIF (vorbisenc_FIND_REQUIRED)
+ ENDIF (VORBISENC_FOUND)
+
+--
+1.8.4
+
Copied: skype-call-recorder/repos/community-staging-i686/skype-call-recorder.install (from rev 149399, skype-call-recorder/trunk/skype-call-recorder.install)
===================================================================
--- community-staging-i686/skype-call-recorder.install (rev 0)
+++ community-staging-i686/skype-call-recorder.install 2015-12-07 00:18:05 UTC (rev 149400)
@@ -0,0 +1,13 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
+# vim:set ts=2 sw=2 et:
Copied: skype-call-recorder/repos/community-staging-x86_64/PKGBUILD (from rev 149399, skype-call-recorder/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-12-07 00:18:05 UTC (rev 149400)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Tarinaky <tarinaky at hunity.co.uk>
+
+pkgname=skype-call-recorder
+pkgver=0.9
+pkgrel=2
+pkgdesc="Open source tool that allows you to record your Skype calls on Linux"
+arch=('i686' 'x86_64')
+url="http://atdot.ch/scr/"
+license=('GPL')
+depends=('qt4' 'libvorbis' 'lame' 'id3lib' 'hicolor-icon-theme')
+makedepends=('cmake')
+install=skype-call-recorder.install
+source=($pkgname-$pkgver.tar.gz::https://github.com/jlherren/$pkgname/archive/$pkgver.tar.gz
+ skype-call-recorder-0.9-dso-fix.patch)
+sha256sums=('b143a75f66c16c7ae3d6a55aac50b0217b9e1097c838a9e406f00ce1561ac98e'
+ 'a2d4d5640970c90205285945b08891238287b488beb958abd42e08565aef747b')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ patch -Np1 -i "$srcdir/skype-call-recorder-0.9-dso-fix.patch"
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
Copied: skype-call-recorder/repos/community-staging-x86_64/skype-call-recorder-0.9-dso-fix.patch (from rev 149399, skype-call-recorder/trunk/skype-call-recorder-0.9-dso-fix.patch)
===================================================================
--- community-staging-x86_64/skype-call-recorder-0.9-dso-fix.patch (rev 0)
+++ community-staging-x86_64/skype-call-recorder-0.9-dso-fix.patch 2015-12-07 00:18:05 UTC (rev 149400)
@@ -0,0 +1,55 @@
+From 671531892b78eeb12fbdeb025547d3b1201409bf Mon Sep 17 00:00:00 2001
+From: jlh <jlh at gmx.ch>
+Date: Wed, 10 Jul 2013 13:45:41 +0200
+Subject: [PATCH] Fix linking issue with ogg/vorbis libraries
+
+---
+ CMakeLists.txt | 2 +-
+ CMakeModules/Findvorbisenc.cmake | 10 ++++++----
+ 2 files changed, 7 insertions(+), 5 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index abcf2e3..33b79cb 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -81,7 +81,7 @@ SET(LIBRARIES ${LIBRARIES} ${ID3_LIBRARY})
+
+ FIND_PACKAGE(vorbisenc REQUIRED)
+ INCLUDE_DIRECTORIES(${VORBISENC_INCLUDE_DIR})
+-SET(LIBRARIES ${LIBRARIES} ${VORBISENC_LIBRARY})
++SET(LIBRARIES ${LIBRARIES} ${OGG_LIBRARY} ${VORBIS_LIBRARY} ${VORBISENC_LIBRARY})
+
+ # Qt
+
+diff --git a/CMakeModules/Findvorbisenc.cmake b/CMakeModules/Findvorbisenc.cmake
+index d519b39..53210f0 100644
+--- a/CMakeModules/Findvorbisenc.cmake
++++ b/CMakeModules/Findvorbisenc.cmake
+@@ -1,18 +1,20 @@
+
+ FIND_PATH(VORBISENC_INCLUDE_DIR vorbis/vorbisenc.h /usr/include /usr/local/include)
++FIND_LIBRARY(OGG_LIBRARY NAMES ogg PATH /usr/lib /usr/local/lib)
++FIND_LIBRARY(VORBIS_LIBRARY NAMES vorbis PATH /usr/lib /usr/local/lib)
+ FIND_LIBRARY(VORBISENC_LIBRARY NAMES vorbisenc PATH /usr/lib /usr/local/lib)
+
+-IF (VORBISENC_INCLUDE_DIR AND VORBISENC_LIBRARY)
++IF (VORBISENC_INCLUDE_DIR AND OGG_LIBRARY AND VORBIS_LIBRARY AND VORBISENC_LIBRARY)
+ SET(VORBISENC_FOUND TRUE)
+-ENDIF (VORBISENC_INCLUDE_DIR AND VORBISENC_LIBRARY)
++ENDIF (VORBISENC_INCLUDE_DIR AND OGG_LIBRARY AND VORBIS_LIBRARY AND VORBISENC_LIBRARY)
+
+ IF (VORBISENC_FOUND)
+ IF (NOT vorbisenc_FIND_QUIETLY)
+- MESSAGE(STATUS "Found vorbisenc: ${VORBISENC_INCLUDE_DIR}/vorbis/vorbisenc.h ${VORBISENC_LIBRARY}")
++ MESSAGE(STATUS "Found vorbisenc: ${VORBISENC_INCLUDE_DIR}/vorbis/vorbisenc.h ${OGG_LIBRARY} ${VORBIS_LIBRARY} ${VORBISENC_LIBRARY}")
+ ENDIF (NOT vorbisenc_FIND_QUIETLY)
+ ELSE (VORBISENC_FOUND)
+ IF (vorbisenc_FIND_REQUIRED)
+- MESSAGE(FATAL_ERROR "Could not find vorbisenc")
++ MESSAGE(FATAL_ERROR "Could not find ogg, vorbis or vorbisenc")
+ ENDIF (vorbisenc_FIND_REQUIRED)
+ ENDIF (VORBISENC_FOUND)
+
+--
+1.8.4
+
Copied: skype-call-recorder/repos/community-staging-x86_64/skype-call-recorder.install (from rev 149399, skype-call-recorder/trunk/skype-call-recorder.install)
===================================================================
--- community-staging-x86_64/skype-call-recorder.install (rev 0)
+++ community-staging-x86_64/skype-call-recorder.install 2015-12-07 00:18:05 UTC (rev 149400)
@@ -0,0 +1,13 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list