diff options
author | Davide Pesavento <pesa@gentoo.org> | 2012-03-14 00:16:53 +0000 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2012-03-14 00:16:53 +0000 |
commit | d1576ec23a4c481fafb3f5401a125a1b501998b3 (patch) | |
tree | faab56a59d7bab536564193d1b10870b5d903851 /app-misc/brewtarget | |
parent | iwmmxt removed upstream (diff) | |
download | historical-d1576ec23a4c481fafb3f5401a125a1b501998b3.tar.gz historical-d1576ec23a4c481fafb3f5401a125a1b501998b3.tar.bz2 historical-d1576ec23a4c481fafb3f5401a125a1b501998b3.zip |
Initial commit, ebuild and patch by me.
Package-Manager: portage-2.2.0_alpha90/cvs/Linux x86_64
Diffstat (limited to 'app-misc/brewtarget')
-rw-r--r-- | app-misc/brewtarget/ChangeLog | 10 | ||||
-rw-r--r-- | app-misc/brewtarget/Manifest | 25 | ||||
-rw-r--r-- | app-misc/brewtarget/brewtarget-1.2.4.ebuild | 42 | ||||
-rw-r--r-- | app-misc/brewtarget/files/1.2.4-find-phonon.patch | 40 | ||||
-rw-r--r-- | app-misc/brewtarget/metadata.xml | 6 |
5 files changed, 123 insertions, 0 deletions
diff --git a/app-misc/brewtarget/ChangeLog b/app-misc/brewtarget/ChangeLog new file mode 100644 index 000000000000..f2bc06c1afff --- /dev/null +++ b/app-misc/brewtarget/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-misc/brewtarget +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/brewtarget/ChangeLog,v 1.1 2012/03/14 00:16:53 pesa Exp $ + +*brewtarget-1.2.4 (14 Mar 2012) + + 14 Mar 2012; Davide Pesavento <pesa@gentoo.org> +brewtarget-1.2.4.ebuild, + +files/1.2.4-find-phonon.patch, +metadata.xml: + Initial commit, ebuild and patch by me. + diff --git a/app-misc/brewtarget/Manifest b/app-misc/brewtarget/Manifest new file mode 100644 index 000000000000..96b4c4e2fd00 --- /dev/null +++ b/app-misc/brewtarget/Manifest @@ -0,0 +1,25 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA512 + +AUX 1.2.4-find-phonon.patch 1878 RMD160 166a79093c73d99010de09400e0998b71d8f1a68 SHA1 0f8261bd480e362ed4211847ecae79475acd65e5 SHA256 5d3b85fbf5ef8f34389e1622ad5b6380842fe7847ce04614d47baa0821dc0045 +DIST brewtarget_1.2.4.orig.tar.gz 8699961 RMD160 8b98cafad0ff2de79fbb6cada3b37bd31ea8b0e6 SHA1 37789de0c1d6b931b1c17912621441fd121cccfa SHA256 ff18b76c9d3400131f6189289592b50457776bdfa51a15c00ab910e3726a5512 +EBUILD brewtarget-1.2.4.ebuild 1025 RMD160 063bc198d70ca0d243b08179f71a743c799b2d07 SHA1 3e34e7d9f882f06a505e9e2781a21f7e4b489a99 SHA256 a5d36151a5e33b899a1e678cfefb25a7bd644097989f2caf85cba2b5b9021bfd +MISC ChangeLog 410 RMD160 caaa0d81209bc21f91fa62ff008056bfc58b47ae SHA1 b88535e4b9e3b67f67ad6ba222fee489a059a64b SHA256 e1a5e309df7167658fe14858ab68dab23c263a7fdd6cac6a6dea193934c551f4 +MISC metadata.xml 127 RMD160 7a96c8c4145f285dfd620b0350e10e45305aa1ad SHA1 95b69a84f97d14ee9488b3cdeb2f4d693662ac64 SHA256 26e7e6fee139f863bfb672b0b4be7221a422b9a13cc0766af054f1a6c2ee382b +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.18 (GNU/Linux) + +iQIcBAEBCgAGBQJPX+N7AAoJENXLsxwXqFxyxX4P/ArUvjI5u42m4XBjE9m709Kt +FHin+zw5uUZPyEQB6hp6nzQtPki3FLqwYW5Yw/GFzmHQOnoX99Lhk+TmZF0+phkd +Q6Wk/X0J/AivftCj+8FiktUbK41g5A0wZ5J+0v/0cnyIdaOMUjxaCOsr/MHBvvwf +JKcAglGyfqzL5UqYNS4gkoQ1KnroiTGqpEo8yb3mvjU/HGxRiUifuE3h049TYtx8 +DY5/1k7xODHJu5+ZeXf2j2f/uHxwJml6hlLOqW6Yb4eTEnQMRIlz+Oe05tqRdqqe +wVHWM1fiO4D2o0ZYhd6se+O8nvZOzW4YR7G8S/A7Ox65aKS4l1LzPR+BIL/h/jax +UxglG7bP+L/66Jj4MjgAA45XshcP7L5GZNuWWzP5GrP+Cv3PDmNOrs17vtlJ8oht +J3hwxM8NyxreHE5V68+2JhH58oG+aBqTNhKjrKUemuHlRaOiVOv7jOCBZN2T6U6Q +8nZceasYudZOXev+DQiRmsbsyPLanVjuRSFhjgNW7sFrh08dIuOiWpYJDA4cUDE9 +FNbcTz70KPqYWP9YPVKEAVHLkZgm5nUG6UgSAqC2LxjWdkrQ1pO5MR4cwQ79c8wT +i/0klPu+lF+JfN0e5A+MNj9AoC1Hf/C2HZjoEUPvI8FRkxpK+SsgV4oe7mgAZhcR +prgK5okHc5EZiL4uyX3a +=J5rD +-----END PGP SIGNATURE----- diff --git a/app-misc/brewtarget/brewtarget-1.2.4.ebuild b/app-misc/brewtarget/brewtarget-1.2.4.ebuild new file mode 100644 index 000000000000..ebd9e301f2a2 --- /dev/null +++ b/app-misc/brewtarget/brewtarget-1.2.4.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/brewtarget/brewtarget-1.2.4.ebuild,v 1.1 2012/03/14 00:16:53 pesa Exp $ + +EAPI=4 + +inherit cmake-utils + +DESCRIPTION="Application to create and manage beer recipes" +HOMEPAGE="http://brewtarget.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.orig.tar.gz" + +LICENSE="GPL-3 WTFPL-2" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="kde" + +DEPEND=" + >=x11-libs/qt-core-4.6:4 + >=x11-libs/qt-gui-4.6:4 + >=x11-libs/qt-svg-4.6:4 + >=x11-libs/qt-webkit-4.6:4 + kde? ( media-libs/phonon ) + !kde? ( || ( >=x11-libs/qt-phonon-4.6:4 media-libs/phonon ) ) +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PV}-find-phonon.patch" +) + +src_prepare() { + base_src_prepare + + # Fix docs install path + sed -i -e "/DOCDIR / s:\${CMAKE_PROJECT_NAME}:${PF}:" \ + CMakeLists.txt || die + + # Append missing semicolon to Categories in desktop file + sed -i -e '/^Categories=/ s:$:;:' ${PN}.desktop.in || die +} diff --git a/app-misc/brewtarget/files/1.2.4-find-phonon.patch b/app-misc/brewtarget/files/1.2.4-find-phonon.patch new file mode 100644 index 000000000000..34f1436e95d3 --- /dev/null +++ b/app-misc/brewtarget/files/1.2.4-find-phonon.patch @@ -0,0 +1,40 @@ +--- brewtarget-1.2.4.orig/CMakeLists.txt 2012-03-14 00:08:19.969684464 +0100 ++++ brewtarget-1.2.4/CMakeLists.txt 2012-03-14 00:11:39.289192627 +0100 +@@ -66,29 +66,28 @@ + INCLUDE_DIRECTORIES("${CMAKE_BINARY_DIR}/QtDesignerPlugins") + + # ======================Find Qt4 (>= 4.6.0) for this project=================== +-SET( EXT_LIBS "" ) +- + IF( ${BUILD_DESIGNER_PLUGINS} ) +- FIND_PACKAGE(Qt4 4.6.0 COMPONENTS QtCore QtGui QtNetwork QtSvg QtWebKit QtXml Phonon QtDesigner REQUIRED) ++ FIND_PACKAGE(Qt4 4.6.0 COMPONENTS QtCore QtGui QtNetwork QtSvg QtWebKit QtXml QtDesigner REQUIRED) + ELSE() +- FIND_PACKAGE(Qt4 4.6.0 COMPONENTS QtCore QtGui QtNetwork QtSvg QtWebkit QtXml Phonon REQUIRED) ++ FIND_PACKAGE(Qt4 4.6.0 COMPONENTS QtCore QtGui QtNetwork QtSvg QtWebkit QtXml REQUIRED) + ENDIF() + + MESSAGE( STATUS "CMAKE_SYSTEM_INCLUDE_PATH: ${CMAKE_SYSTEM_INCLUDE_PATH}" ) + + # Some distros seem to treat Qt and Phonon as separate, so try to find Phonon. + IF( NOT QT_PHONON_FOUND ) +- MESSAGE( STATUS "Phonon not found as a part of Qt; trying another approach." ) +- +- FIND_LIBRARY( EXT_PHONON_LIB phonon ) +- FIND_PATH( EXT_PHONON_PATH "mediaobject.h" ) ++ FIND_LIBRARY( EXT_PHONON_LIB phonon ++ PATHS /usr/lib64/qt4 ) ++ FIND_PATH( EXT_PHONON_PATH "mediaobject.h" ++ PATHS /usr/include/phonon ++ /usr/include/qt4/phonon ) + + IF( EXISTS ${EXT_PHONON_LIB} AND EXISTS ${EXT_PHONON_PATH} ) + MESSAGE( STATUS "Hooray! Phonon found." ) + MESSAGE( STATUS "Phonon dir: ${EXT_PHONON_PATH}") + MESSAGE( STATUS "Phonon lib: ${EXT_PHONON_LIB}") + +- SET( EXT_LIBS ${EXT_LIBS} ${EXT_PHONON_LIB} ) ++ SET( EXT_LIBRARIES ${EXT_PHONON_LIB} ) + INCLUDE_DIRECTORIES( ${EXT_PHONON_PATH} ) + ELSE() + MESSAGE( FATAL_ERROR "Phonon not found. Run cmake again with the option -DCMAKE_PREFIX_PATH=/path/to/phonon" ) diff --git a/app-misc/brewtarget/metadata.xml b/app-misc/brewtarget/metadata.xml new file mode 100644 index 000000000000..96387eef0975 --- /dev/null +++ b/app-misc/brewtarget/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<pkgmetadata> +<maintainer> + <email>pesa@gentoo.org</email> +</maintainer> +</pkgmetadata> |