kid3 2.3
[git/cygwin-packages/kid3.git] / kid3.cygport
1 inherit kde4 qt4-cmake
2
3 NAME="kid3"
4 VERSION=2.3
5 RELEASE=1
6 CATEGORY="Audio"
7 SUMMARY="KDE ID3 tagger"
8 DESCRIPTION="If you want to easily tag multiple MP3, Ogg/Vorbis, FLAC, MPC,
9 MP4/AAC, MP2, Speex, TrueAudio and WavPack files (e.g. full albums) without
10 typing the same information again and again and have control over both ID3v1
11 and ID3v2 tags, then Kid3 is the program you are looking for."
12 HOMEPAGE="http://kid3.sourceforge.net/"
13 SRC_URI="mirror://sourceforge/kid3/${P}.tar.gz"
14
15 PKG_NAMES="kid3 kid3-qt"
16 kid3_CONTENTS="--exclude=kid3-qt* etc/postinstall/ usr/"
17 kid3_qt_SUMMARY=${SUMMARY/KDE/Qt}
18 kid3_qt_CONTENTS="etc/postinstall/ usr/bin/kid3-qt.exe usr/share/applications/kid3-qt.*
19 usr/share/doc/kid3-qt/ usr/share/icons/*/*/*/kid3-qt.* usr/share/kid3-qt/"
20 DIFF_EXCLUDES="*.po"
21
22 # these are common to KDE and Qt-only builds
23 CYGCMAKE_ARGS="
24 -DWITH_FLAC=ON
25 -DWITH_ID3LIB=ON
26 -DWITH_MP4V2=ON
27 -DWITH_TAGLIB=ON
28 -DWITH_VORBIS=ON
29 "
30
31 src_compile() {
32 mkdir -p ${B}/kde
33 cd ${B}/kde
34 kde4_compile -DWITH_KDE=ON
35
36 mkdir -p ${B}/qt
37 cd ${B}/qt
38 qt4_cmake_compile -DWITH_KDE=OFF
39 }
40
41 src_install() {
42 cd ${B}/kde
43 cyginstall
44 cd ${B}/qt
45 cyginstall
46 }
This page took 0.036667 seconds and 5 git commands to generate.