[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / audio / amarok

Annotation of pkgsrc/audio/amarok/Makefile, Revision 1.142

1.142   ! obache      1: # $NetBSD: Makefile,v 1.141 2014/02/12 23:17:32 tron Exp $
1.79      wiz         2: #
1.1       seb         3:
1.79      wiz         4: DISTNAME=      amarok-${VERS}
1.138     markd       5: VERS=          2.8.0
1.142   ! obache      6: PKGREVISION=   4
1.79      wiz         7: CATEGORIES=    audio multimedia
1.100     zafer       8: MASTER_SITES=  ftp://ftp.kde.org/pub/kde/stable/amarok/${VERS}/src/
1.79      wiz         9: EXTRACT_SUFX=  .tar.bz2
                     10:
1.95      wiz        11: MAINTAINER=    pkgsrc-users@NetBSD.org
1.79      wiz        12: HOMEPAGE=      http://amarok.kde.org/
                     13: COMMENT=       KDE4 audio player
                     14: LICENSE=       gnu-gpl-v2 AND gnu-fdl-v1.2 AND gnu-lgpl-v2.1
                     15:
                     16: BUILD_DEPENDS+=        automoc4>=0.9.83:../../devel/automoc4
                     17: DEPENDS+=      moodbar-[0-9]*:../../audio/moodbar
1.1       seb        18:
1.79      wiz        19: USE_LANGUAGES= c c++
1.107     joerg      20: USE_TOOLS+=    msgfmt pkg-config perl:run
1.79      wiz        21:
1.80      wiz        22: CMAKE_ARGS+=   -DMYSQL_INCLUDE_DIR:PATH=${BUILDLINK_PREFIX.mysql-client}/include/mysql
                     23: CMAKE_ARGS+=   -DMYSQL_EMBEDDED_LIBRARIES:PATH=${BUILDLINK_PREFIX.mysql-server}/lib/mysql/libmysqld.a
1.79      wiz        24: CMAKE_ARGS+=   -DMYSQL_EMBEDDED_FOUND:BOOL=TRUE
                     25: CMAKE_ARGS+=   -DHAVE_MYSQL_OPT_EMBEDDED_CONNECTION:BOOL=TRUE
1.80      wiz        26: CMAKE_ARGS+=   -DMYSQL_LIBRARIES:PATH=${BUILDLINK_PREFIX.mysql-client}/lib/mysql/libmysqlclient.so
1.125     markd      27: CMAKE_ARGS+=   -DKDE4_BUILD_TESTS:BOOL=OFF
1.79      wiz        28:
1.107     joerg      29: REPLACE_PERL+= src/kconf_update/amarok-2.4.1-tokens_syntax_update.pl
                     30:
1.79      wiz        31: SUBST_CLASSES+=                mysql
                     32: SUBST_STAGE.mysql=     post-patch
                     33: SUBST_MESSAGE.mysql=   Fixup paths for MySQL embedded
                     34: SUBST_FILES.mysql=     cmake/modules/FindMySQLAmarok.cmake
1.94      wiz        35: SUBST_FILES.mysql+=    src/core-impl/collections/db/sql/mysqlecollection/CMakeLists.txt
1.80      wiz        36: SUBST_SED.mysql=       -e s:/opt/mysqle/:${BUILDLINK_PREFIX.mysql-server}:
1.97      abs        37: # Additional SUBST_SED.mysql added later based on mysql server version
1.1       seb        38:
1.45      wiz        39: .include "options.mk"
                     40:
1.97      abs        41: .include "../../mk/mysql.buildlink3.mk"
1.128     abs        42: .if ${_MYSQL_VERSION} == "56"
                     43: .include "../../databases/mysql56-server/buildlink3.mk"
                     44: SUBST_SED.mysql+=      -e s:@@WLR@@:${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.mysql-server}/lib:
                     45: .elif ${_MYSQL_VERSION} == "55"
1.98      abs        46: .include "../../databases/mysql55-server/buildlink3.mk"
1.97      abs        47: SUBST_SED.mysql+=      -e s:@@WLR@@:${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.mysql-server}/lib:
                     48: .elif ${_MYSQL_VERSION} == "51"
1.99      joerg      49: .include "../../databases/mysql51-server/buildlink3.mk"
1.97      abs        50: SUBST_SED.mysql+=      -e s:@@WLR@@:${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.mysql-server}/lib/mysql:
                     51: .else
1.135     obache     52: PKG_FAIL_REASON+=      "Unknown mysql version: ${_MYSQL_VERSION}"
1.97      abs        53: .endif
                     54:
1.79      wiz        55: .include "../../audio/liblastfm/buildlink3.mk"
1.94      wiz        56: .include "../../audio/libofa/buildlink3.mk"
1.79      wiz        57: BUILDLINK_API_DEPENDS.taglib+= taglib>=1.6nb1
1.1       seb        58: .include "../../audio/taglib/buildlink3.mk"
1.79      wiz        59: .include "../../audio/taglib-extras/buildlink3.mk"
1.106     markd      60: .include "../../devel/qjson/buildlink3.mk"
1.79      wiz        61: .include "../../devel/qtscriptgenerator/buildlink3.mk"
1.52      markd      62: .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
1.79      wiz        63: .include "../../meta-pkgs/kde4/kde4.mk"
1.138     markd      64: .include "../../misc/nepomuk-core/buildlink3.mk"
1.94      wiz        65: .include "../../multimedia/ffmpeg/buildlink3.mk"
1.125     markd      66: .include "../../multimedia/libkcompactdisc/buildlink3.mk"
1.79      wiz        67: .include "../../security/qca2/buildlink3.mk"
1.78      wiz        68: .include "../../sysutils/desktop-file-utils/desktopdb.mk"
1.79      wiz        69: # for plasma
1.106     markd      70: .include "../../x11/kde-workspace4/buildlink3.mk"
1.90      wiz        71: BUILDLINK_API_DEPENDS.kdelibs+=        kdelibs4>=4.5.0
1.79      wiz        72: .include "../../x11/kdelibs4/buildlink3.mk"
1.108     dholland   73: BUILDLINK_DEPMETHOD.qt4-tools= full
                     74: .include "../../x11/qt4-tools/buildlink3.mk"
1.1       seb        75: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>