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

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

1.98    ! abs         1: # $NetBSD: Makefile,v 1.97 2011/07/09 10:26:52 abs Exp $
1.79      wiz         2: #
1.1       seb         3:
1.79      wiz         4: DISTNAME=      amarok-${VERS}
1.94      wiz         5: VERS=          2.4.0
1.98    ! abs         6: PKGREVISION=   3
1.79      wiz         7: CATEGORIES=    audio multimedia
                      8: #MASTER_SITES= http://download.kde.org/unstable/amarok/${VERS}/src/ \
                      9: #              ftp://gd.tuwien.ac.at/kde/unstable/amarok/${VERS}/src/
                     10: MASTER_SITES=  http://download.kde.org/stable/amarok/${VERS}/src/ \
                     11:                ftp://gd.tuwien.ac.at/kde/stable/amarok/${VERS}/src/
                     12: EXTRACT_SUFX=  .tar.bz2
                     13:
1.95      wiz        14: MAINTAINER=    pkgsrc-users@NetBSD.org
1.79      wiz        15: HOMEPAGE=      http://amarok.kde.org/
                     16: COMMENT=       KDE4 audio player
                     17: LICENSE=       gnu-gpl-v2 AND gnu-fdl-v1.2 AND gnu-lgpl-v2.1
                     18:
                     19: BUILD_DEPENDS+=        automoc4>=0.9.83:../../devel/automoc4
                     20: DEPENDS+=      moodbar-[0-9]*:../../audio/moodbar
1.1       seb        21:
1.66      joerg      22: PKG_DESTDIR_SUPPORT=   user-destdir
                     23:
1.79      wiz        24: USE_CMAKE=     yes
                     25: USE_LANGUAGES= c c++
                     26: USE_TOOLS+=    msgfmt pkg-config
                     27:
1.80      wiz        28: CMAKE_ARGS+=   -DMYSQL_INCLUDE_DIR:PATH=${BUILDLINK_PREFIX.mysql-client}/include/mysql
                     29: CMAKE_ARGS+=   -DMYSQL_EMBEDDED_LIBRARIES:PATH=${BUILDLINK_PREFIX.mysql-server}/lib/mysql/libmysqld.a
1.79      wiz        30: CMAKE_ARGS+=   -DMYSQL_EMBEDDED_FOUND:BOOL=TRUE
                     31: CMAKE_ARGS+=   -DHAVE_MYSQL_OPT_EMBEDDED_CONNECTION:BOOL=TRUE
1.80      wiz        32: CMAKE_ARGS+=   -DMYSQL_LIBRARIES:PATH=${BUILDLINK_PREFIX.mysql-client}/lib/mysql/libmysqlclient.so
1.79      wiz        33:
                     34: SUBST_CLASSES+=                mysql
                     35: SUBST_STAGE.mysql=     post-patch
                     36: SUBST_MESSAGE.mysql=   Fixup paths for MySQL embedded
                     37: SUBST_FILES.mysql=     cmake/modules/FindMySQLAmarok.cmake
1.94      wiz        38: SUBST_FILES.mysql+=    src/core-impl/collections/db/sql/mysqlecollection/CMakeLists.txt
1.80      wiz        39: SUBST_SED.mysql=       -e s:/opt/mysqle/:${BUILDLINK_PREFIX.mysql-server}:
1.97      abs        40: # Additional SUBST_SED.mysql added later based on mysql server version
1.1       seb        41:
1.45      wiz        42: .include "options.mk"
                     43:
1.97      abs        44: .include "../../mk/mysql.buildlink3.mk"
                     45: .if ${_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"
                     49: DEPENDS+=      mysql-server-[0-9]*:../../databases/mysql51-server
                     50: SUBST_SED.mysql+=      -e s:@@WLR@@:${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.mysql-server}/lib/mysql:
                     51: .else
                     52: DEPENDS+=      mysql-server-[0-9]*:../../databases/mysql5-server
                     53: SUBST_SED.mysql+=      -e s:@@WLR@@:${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.mysql-server}/lib/mysql:
                     54: .endif
                     55:
1.79      wiz        56: .include "../../audio/liblastfm/buildlink3.mk"
1.94      wiz        57: .include "../../audio/libofa/buildlink3.mk"
1.79      wiz        58: BUILDLINK_API_DEPENDS.taglib+= taglib>=1.6nb1
1.1       seb        59: .include "../../audio/taglib/buildlink3.mk"
1.79      wiz        60: .include "../../audio/taglib-extras/buildlink3.mk"
                     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.94      wiz        64: .include "../../multimedia/ffmpeg/buildlink3.mk"
1.79      wiz        65: .include "../../multimedia/kdemultimedia4/buildlink3.mk"
                     66: .include "../../security/qca2/buildlink3.mk"
1.78      wiz        67: .include "../../sysutils/desktop-file-utils/desktopdb.mk"
1.79      wiz        68: # for plasma
                     69: .include "../../x11/kdebase-workspace4/buildlink3.mk"
1.90      wiz        70: BUILDLINK_API_DEPENDS.kdelibs+=        kdelibs4>=4.5.0
1.79      wiz        71: .include "../../x11/kdelibs4/buildlink3.mk"
1.1       seb        72: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>