You are not logged in.
g++ -c -pipe -std=c++11 -stdlib=libc++ -D__STDC_CONSTANT_MACROS -O2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtXmlPatterns -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtXml -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -Iui -I/usr/lib/qt/mkspecs/linux-g++ -o asynckeyprocess.o source/asynckeyprocess.cpp
g++: Fehler: unbekannte Kommandozeilenoption »-stdlib=libc++«
make: *** [Makefile:701: asynckeyprocess.o] Fehler 1
==> FEHLER: Ein Fehler geschah in build().
Breche ab...
Error making: keyfinder-gitI get this error "unknown commandline option" when trying to build the package. Not sure how to fix it, is it a dependency issue or do I have to change something in the PKGBUILD?
Any help appreciated.
Last edited by cott79 (2019-09-14 15:12:59)
Offline
Do you have aur/libc++ installed?
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
-stdlib is not a valid option for g++ I would assume upstream uses clang for which it is valid.
Edit:
Removing the option adding taglib and ffmpeg to depends it then fails to build with the following:
Info: creating stash file /build/keyfinder-git/src/is_KeyFinder/.qmake.stash
/usr/bin/uic forms/aboutdialog.ui -o ui/ui_aboutdialog.h
/usr/bin/uic forms/batchwindow.ui -o ui/ui_batchwindow.h
/usr/bin/uic forms/prefsdialog.ui -o ui/ui_prefsdialog.h
g++ -c -pipe -std=c++11 -D__STDC_CONSTANT_MACROS -O2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtXmlPatterns -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtXml -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -Iui -I/usr/lib/qt/mkspecs/linux-g++ -o asynckeyprocess.o source/asynckeyprocess.cpp
g++ -c -pipe -std=c++11 -D__STDC_CONSTANT_MACROS -O2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtXmlPatterns -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtXml -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -Iui -I/usr/lib/qt/mkspecs/linux-g++ -o asyncmetadatareadprocess.o source/asyncmetadatareadprocess.cpp
g++ -c -pipe -std=c++11 -D__STDC_CONSTANT_MACROS -O2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtXmlPatterns -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtXml -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -Iui -I/usr/lib/qt/mkspecs/linux-g++ -o avfilemetadata.o source/avfilemetadata.cpp
g++ -c -pipe -std=c++11 -D__STDC_CONSTANT_MACROS -O2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtXmlPatterns -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtXml -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -Iui -I/usr/lib/qt/mkspecs/linux-g++ -o avfilemetadatafactory.o source/avfilemetadatafactory.cpp
g++ -c -pipe -std=c++11 -D__STDC_CONSTANT_MACROS -O2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtXmlPatterns -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtXml -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -Iui -I/usr/lib/qt/mkspecs/linux-g++ -o decoderlibav.o source/decoderlibav.cpp
g++ -c -pipe -std=c++11 -D__STDC_CONSTANT_MACROS -O2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtXmlPatterns -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtXml -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -Iui -I/usr/lib/qt/mkspecs/linux-g++ -o externalplaylistprovider.o source/externalplaylistprovider.cpp
g++ -c -pipe -std=c++11 -D__STDC_CONSTANT_MACROS -O2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtXmlPatterns -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtXml -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -Iui -I/usr/lib/qt/mkspecs/linux-g++ -o externalplaylistproviderserato.o source/externalplaylistproviderserato.cpp
g++ -c -pipe -std=c++11 -D__STDC_CONSTANT_MACROS -O2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtXmlPatterns -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtXml -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -Iui -I/usr/lib/qt/mkspecs/linux-g++ -o guiabout.o source/guiabout.cpp
In file included from source/decoderlibav.cpp:22:
source/decoderlibav.h:70:3: error: ‘ReSampleContext’ does not name a type
70 | ReSampleContext* rsCtx;
| ^~~~~~~~~~~~~~~
source/decoderlibav.cpp: In constructor ‘AudioFileDecoder::AudioFileDecoder(const QString&, int)’:
source/decoderlibav.cpp:26:122: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ was not declared in this scope; did you mean ‘AV_CODEC_CAP_VARIABLE_FRAME_SIZE’?
26 | AudioFileDecoder::AudioFileDecoder(const QString& filePath, const int maxDuration) : filePathCh(NULL), frameBufferSize(((AVCODEC_MAX_AUDIO_FRAME_SIZE * 3) / 2) * sizeof(uint8_t)), audioStream(-1), badPacketCount(0), badPacketThreshold(100), codec(NULL), fCtx(NULL), cCtx(NULL), dict(NULL), rsCtx(NULL) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| AV_CODEC_CAP_VARIABLE_FRAME_SIZE
source/decoderlibav.cpp:26:291: error: class ‘AudioFileDecoder’ does not have any field named ‘rsCtx’
26 | AudioFileDecoder::AudioFileDecoder(const QString& filePath, const int maxDuration) : filePathCh(NULL), frameBufferSize(((AVCODEC_MAX_AUDIO_FRAME_SIZE * 3) / 2) * sizeof(uint8_t)), audioStream(-1), badPacketCount(0), badPacketThreshold(100), codec(NULL), fCtx(NULL), cCtx(NULL), dict(NULL), rsCtx(NULL) {
| ^~~~~
g++ -c -pipe -std=c++11 -D__STDC_CONSTANT_MACROS -O2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtXmlPatterns -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtXml -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -Iui -I/usr/lib/qt/mkspecs/linux-g++ -o guibatch.o source/guibatch.cpp
source/decoderlibav.cpp:56:27: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
56 | if (fCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO) {
| ^~~~~
In file included from source/decoderlibav.h:45,
from source/decoderlibav.cpp:22:
/usr/include/libavformat/avformat.h:885:21: note: declared here
885 | AVCodecContext *codec;
| ^~~~~
source/decoderlibav.cpp:56:27: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
56 | if (fCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO) {
| ^~~~~
In file included from source/decoderlibav.h:45,
from source/decoderlibav.cpp:22:
/usr/include/libavformat/avformat.h:885:21: note: declared here
885 | AVCodecContext *codec;
| ^~~~~
source/decoderlibav.cpp:56:27: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
56 | if (fCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO) {
| ^~~~~
In file included from source/decoderlibav.h:45,
from source/decoderlibav.cpp:22:
/usr/include/libavformat/avformat.h:885:21: note: declared here
885 | AVCodecContext *codec;
| ^~~~~
source/decoderlibav.cpp:79:38: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
79 | cCtx = fCtx->streams[audioStream]->codec;
| ^~~~~
In file included from source/decoderlibav.h:45,
from source/decoderlibav.cpp:22:
/usr/include/libavformat/avformat.h:885:21: note: declared here
885 | AVCodecContext *codec;
| ^~~~~
source/decoderlibav.cpp:79:38: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
79 | cCtx = fCtx->streams[audioStream]->codec;
| ^~~~~
In file included from source/decoderlibav.h:45,
from source/decoderlibav.cpp:22:
/usr/include/libavformat/avformat.h:885:21: note: declared here
885 | AVCodecContext *codec;
| ^~~~~
source/decoderlibav.cpp:79:38: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
79 | cCtx = fCtx->streams[audioStream]->codec;
| ^~~~~
In file included from source/decoderlibav.h:45,
from source/decoderlibav.cpp:22:
/usr/include/libavformat/avformat.h:885:21: note: declared here
885 | AVCodecContext *codec;
| ^~~~~
source/decoderlibav.cpp:95:3: error: ‘rsCtx’ was not declared in this scope
95 | rsCtx = av_audio_resample_init(cCtx->channels, cCtx->channels, cCtx->sample_rate, cCtx->sample_rate, AV_SAMPLE_FMT_S16, cCtx->sample_fmt, 0, 0, 0, 0);
| ^~~~~
source/decoderlibav.cpp:95:11: error: ‘av_audio_resample_init’ was not declared in this scope
95 | rsCtx = av_audio_resample_init(cCtx->channels, cCtx->channels, cCtx->sample_rate, cCtx->sample_rate, AV_SAMPLE_FMT_S16, cCtx->sample_fmt, 0, 0, 0, 0);
| ^~~~~~~~~~~~~~~~~~~~~~
source/decoderlibav.cpp: In member function ‘void AudioFileDecoder::free()’:
source/decoderlibav.cpp:108:7: error: ‘rsCtx’ was not declared in this scope
108 | if (rsCtx != NULL) audio_resample_close(rsCtx);
| ^~~~~
source/decoderlibav.cpp:108:22: error: ‘audio_resample_close’ was not declared in this scope
108 | if (rsCtx != NULL) audio_resample_close(rsCtx);
| ^~~~~~~~~~~~~~~~~~~~
source/decoderlibav.cpp:115:21: error: ‘av_close_input_file’ was not declared in this scope
115 | if (fCtx != NULL) av_close_input_file(fCtx);
| ^~~~~~~~~~~~~~~~~~~
source/decoderlibav.cpp: In member function ‘KeyFinder::AudioData* AudioFileDecoder::decodeNextAudioPacket()’:
source/decoderlibav.cpp:132:65: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
132 | if (avpkt.stream_index != audioStream) av_free_packet(&avpkt);
| ^
In file included from source/decoderlibav.h:44,
from source/decoderlibav.cpp:22:
/usr/include/libavcodec/avcodec.h:4473:6: note: declared here
4473 | void av_free_packet(AVPacket *pkt);
| ^~~~~~~~~~~~~~
source/decoderlibav.cpp:132:65: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
132 | if (avpkt.stream_index != audioStream) av_free_packet(&avpkt);
| ^
In file included from source/decoderlibav.h:44,
from source/decoderlibav.cpp:22:
/usr/include/libavcodec/avcodec.h:4473:6: note: declared here
4473 | void av_free_packet(AVPacket *pkt);
| ^~~~~~~~~~~~~~
source/decoderlibav.cpp:141:30: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
141 | av_free_packet(&avpkt);
| ^
In file included from source/decoderlibav.h:44,
from source/decoderlibav.cpp:22:
/usr/include/libavcodec/avcodec.h:4473:6: note: declared here
4473 | void av_free_packet(AVPacket *pkt);
| ^~~~~~~~~~~~~~
source/decoderlibav.cpp:141:30: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
141 | av_free_packet(&avpkt);
| ^
In file included from source/decoderlibav.h:44,
from source/decoderlibav.cpp:22:
/usr/include/libavcodec/avcodec.h:4473:6: note: declared here
4473 | void av_free_packet(AVPacket *pkt);
| ^~~~~~~~~~~~~~
source/decoderlibav.cpp:147:26: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
147 | av_free_packet(&avpkt);
| ^
In file included from source/decoderlibav.h:44,
from source/decoderlibav.cpp:22:
/usr/include/libavcodec/avcodec.h:4473:6: note: declared here
4473 | void av_free_packet(AVPacket *pkt);
| ^~~~~~~~~~~~~~
source/decoderlibav.cpp:147:26: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
147 | av_free_packet(&avpkt);
| ^
In file included from source/decoderlibav.h:44,
from source/decoderlibav.cpp:22:
/usr/include/libavcodec/avcodec.h:4473:6: note: declared here
4473 | void av_free_packet(AVPacket *pkt);
| ^~~~~~~~~~~~~~
source/decoderlibav.cpp:151:24: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
151 | av_free_packet(&avpkt);
| ^
In file included from source/decoderlibav.h:44,
from source/decoderlibav.cpp:22:
/usr/include/libavcodec/avcodec.h:4473:6: note: declared here
4473 | void av_free_packet(AVPacket *pkt);
| ^~~~~~~~~~~~~~
source/decoderlibav.cpp:151:24: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
151 | av_free_packet(&avpkt);
| ^
In file included from source/decoderlibav.h:44,
from source/decoderlibav.cpp:22:
/usr/include/libavcodec/avcodec.h:4473:6: note: declared here
4473 | void av_free_packet(AVPacket *pkt);
| ^~~~~~~~~~~~~~
source/decoderlibav.cpp: In member function ‘bool AudioFileDecoder::decodePacket(AVPacket*, KeyFinder::AudioData*)’:
source/decoderlibav.cpp:164:25: error: ‘avcodec_decode_audio3’ was not declared in this scope; did you mean ‘avcodec_decode_audio4’?
164 | int bytesConsumed = avcodec_decode_audio3(cCtx, dataBuffer, &dataSize, &tempPacket);
| ^~~~~~~~~~~~~~~~~~~~~
| avcodec_decode_audio4
source/decoderlibav.cpp:175:43: error: ‘rsCtx’ was not declared in this scope
175 | int resampleResult = audio_resample(rsCtx, (short*)frameBufferConverted, (short*)frameBuffer, newSamplesDecoded);
| ^~~~~
source/decoderlibav.cpp:175:28: error: ‘audio_resample’ was not declared in this scope
175 | int resampleResult = audio_resample(rsCtx, (short*)frameBufferConverted, (short*)frameBuffer, newSamplesDecoded);
| ^~~~~~~~~~~~~~
make: *** [Makefile:600: decoderlibav.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from source/asynckeyprocess.h:35,
from source/asynckeyprocess.cpp:22:
source/decoderlibav.h:70:3: error: ‘ReSampleContext’ does not name a type
70 | ReSampleContext* rsCtx;
| ^~~~~~~~~~~~~~~
make: *** [Makefile:566: asynckeyprocess.o] Error 1
In file included from source/asynckeyprocess.h:35,
from source/guibatch.h:44,
from source/guibatch.cpp:22:
source/decoderlibav.h:70:3: error: ‘ReSampleContext’ does not name a type
70 | ReSampleContext* rsCtx;
| ^~~~~~~~~~~~~~~
source/guibatch.cpp: In member function ‘void BatchWindow::sortTableWidget()’:
source/guibatch.cpp:796:43: warning: ‘void QTableView::sortByColumn(int)’ is deprecated: Use QTableView::sortByColumn(int column, Qt::SortOrder order) instead [-Wdeprecated-declarations]
796 | ui->tableWidget->sortByColumn(sortColumn);
| ^
In file included from /usr/include/qt/QtWidgets/QtWidgets:269,
from source/guimenuhandler.h:29,
from source/guibatch.h:42,
from source/guibatch.cpp:22:
/usr/include/qt/QtWidgets/qtableview.h:135:10: note: declared here
135 | void sortByColumn(int column);
| ^~~~~~~~~~~~
make: *** [Makefile:640: guibatch.o] Error 1Seems to need a older version of ffmpeg / libav and the package may not have built from source since the second half of 2015.
Last edited by loqs (2019-09-14 13:14:54)
Offline
Do you have aur/libc++ installed?
I do.
Seems to need a older version of ffmpeg / libav and the package may not have built from source since the second half of 2015.
So I guess my only option is to try building with an old version of libav. Or do you have any other suggestions?
Offline
Newest build of libav I can get it to build with is 9.21.
Offline
Newest build of libav I can get it to build with is 9.21.
Could you please walk me through the steps you took to get it to build in detail. I'm a bit of a newbie.
Offline
Minimal PKGBUILD for libav 9.21 (conflicts with ffmpeg)
pkgname=libav
pkgver=9.21
pkgrel=1
pkgdesc="Open source audio and video processing tools forked from ffmpeg"
arch=('x86_64')
url="https://www.libav.org/"
license=('LGPL')
depends=('bzip2' 'zlib')
makedepends=('yasm')
source=(http://libav.org/releases/libav-$pkgver.tar.xz{,.asc})
sha256sums=('69d8dc0a83017ccc740fddd0a30166d1b25a8a39cbb4a42a8965183dc926bc6e'
'SKIP')
validpgpkeys=('C8493F07EFF65484F56B24DBC7FAC668E8F3A190') #Sean McGovern
conflicts=('ffmpeg')
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--disable-static \
--enable-shared \
--disable-debug \
--disable-pthreads
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}Update PKGBUILD for keyfinder-git
#Maintainer: Lubosz Sarnecki <lubosz@gmail.com>
_realname=keyfinder
pkgname=$_realname-git
pkgver=385.530034d
pkgrel=1
pkgdesc="KeyFinder is a tool for estimating the musical key of digital recordings, to aid DJs in harmonic mixing."
arch=('i686' 'x86_64')
url="http://www.ibrahimshaath.co.uk/keyfinder/"
license=('GPL3')
depends=('qt5-base' 'libsamplerate' 'libkeyfinder-git' 'qt5-xmlpatterns' 'taglib' 'libav')
makedepends=('git')
provides=($_realname)
conflicts=($_realname)
_gitname=is_KeyFinder
source=("git://github.com/ibsh/is_KeyFinder.git")
sha256sums=("SKIP")
pkgver() {
cd $_gitname
echo $(git rev-list --count master).$(git rev-parse --short master)
}
build() {
cd $_gitname
sed -i 's/ -stdlib=libc++//' is_KeyFinder.pro
qmake-qt5
make
}
package() {
cd $_gitname
make INSTALL_ROOT="${pkgdir}" install
}Offline
Thank you very much for your help. This worked perfectly. Marking as solved.
Offline