diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-10-14 17:56:29 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-10-14 17:56:29 +0200 |
commit | 617723e27ea7a1aa9e9ee6e5468079f874844935 (patch) | |
tree | 5e52c60dd056be15342c3ab401b9ab75e08fdd23 /media-libs/oyranos | |
parent | kde-frameworks/qqc2-desktop-style: Drop old (diff) | |
download | gentoo-617723e27ea7a1aa9e9ee6e5468079f874844935.tar.gz gentoo-617723e27ea7a1aa9e9ee6e5468079f874844935.tar.bz2 gentoo-617723e27ea7a1aa9e9ee6e5468079f874844935.zip |
media-libs/oyranos: Re-add 0.9.5-r1 without USE=qt4
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'media-libs/oyranos')
-rw-r--r-- | media-libs/oyranos/Manifest | 1 | ||||
-rw-r--r-- | media-libs/oyranos/oyranos-0.9.5-r1.ebuild | 95 |
2 files changed, 96 insertions, 0 deletions
diff --git a/media-libs/oyranos/Manifest b/media-libs/oyranos/Manifest index 95eacc6b5a74..14e59cc31b59 100644 --- a/media-libs/oyranos/Manifest +++ b/media-libs/oyranos/Manifest @@ -1,2 +1,3 @@ +DIST oyranos-0.9.5.tar.gz 1801954 SHA256 7cf8d41c3019e91608837cc40de801348b35963853e6d62b3e6dcd46bf24cafa SHA512 836bb7324cd300608cb13381704b6b28aae93485140d2e3f6c7dc21f1d35f9acc44427c861814b13c60cc499ba5495068b1069f6843909744f18ac8998d17ae9 WHIRLPOOL 69b676c6cae8eb878b5e0ea73358ffc59ba78541c9de89d10667a52141d0b37399ea733e1e2aa69bf90208a12e93c63b0b8bb63e6eb2efccc0151b745469491f DIST oyranos-0.9.6-patches.tar.xz 11680 SHA256 f4db721a57f9b05c843e2f0739b3b699914240ac9ef985d58131fbf4d5950854 SHA512 3c99296188cac1dedbf597208ecf2a3e50a3717b305e0919894d633b2ee4ac7ad9c72daae54535c6f81f49f650db4f2367c4d810156a7a3c9d71f1ccfbfbe493 WHIRLPOOL 6f9361e87a07130d4af1c4f53f5626cdb36c3764edf82b68b1cfd716f713cb14de73baf3444a0b4c4a99eecffd6217d12d8b9044117a0d4f09b26a615481d29d DIST oyranos-0.9.6.tar.gz 2247841 SHA256 44b0e451ccd80617484eaa824ce609bf2982f523ffc4c6350bca755037a52b9b SHA512 593aa8ae24e4834fae8fceb72540a9334469c0ed977877da1c359613be7d77053d07fdbff3075380c8af425c8877171f126217b3a91ec511daaaac4ce4a3d111 WHIRLPOOL cd1c1143f02be89d8a45a98e98cbc6ee9cb54036ec7526f3987f141618cb4bb498720b315b891eaa54e081e2c7067fcded063487d9b248d87354618f51ec959d diff --git a/media-libs/oyranos/oyranos-0.9.5-r1.ebuild b/media-libs/oyranos/oyranos-0.9.5-r1.ebuild new file mode 100644 index 000000000000..d4c57e4345ef --- /dev/null +++ b/media-libs/oyranos/oyranos-0.9.5-r1.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils flag-o-matic cmake-utils cmake-multilib + +DESCRIPTION="Colour management system allowing to share various settings across applications and services" +HOMEPAGE="http://www.oyranos.org/" +SRC_URI="https://github.com/oyranos-cms/oyranos/archive/${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" +SLOT="0" +IUSE="X cairo cups doc exif fltk jpeg qt5 raw test tiff" + +#OY_LINGUAS="cs;de;eo;eu;fr;ru" #TODO + +COMMON_DEPEND=" + >=app-admin/elektra-0.8.4:0=[${MULTILIB_USEDEP}] + >=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}] + >=dev-libs/yajl-2.0.4-r1[${MULTILIB_USEDEP}] + >=media-libs/lcms-2.5:2[${MULTILIB_USEDEP}] + >=media-libs/libpng-1.6.10:0[${MULTILIB_USEDEP}] + >=media-libs/libXcm-0.5.3[${MULTILIB_USEDEP}] + cairo? ( >=x11-libs/cairo-1.12.14-r4[${MULTILIB_USEDEP}] ) + cups? ( >=net-print/cups-1.7.1-r1[${MULTILIB_USEDEP}] ) + exif? ( >=media-gfx/exiv2-0.23-r2:=[${MULTILIB_USEDEP}] ) + fltk? ( x11-libs/fltk:1 ) + jpeg? ( virtual/jpeg:0[${MULTILIB_USEDEP}] ) + qt5? ( + dev-qt/qtgui:5 dev-qt/qtwidgets:5 dev-qt/qtx11extras:5 + ) + raw? ( >=media-libs/libraw-0.15.4[${MULTILIB_USEDEP}] ) + tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) + X? ( >=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}] + >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}] + >=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}] + >=x11-libs/libXinerama-1.1.3[${MULTILIB_USEDEP}] )" +DEPEND="${COMMON_DEPEND} + doc? ( + app-doc/doxygen + media-gfx/graphviz + )" +RDEPEND="${COMMON_DEPEND} + media-libs/icc-profiles-basiccolor-printing2009 + media-libs/icc-profiles-openicc" + +DOCS=( AUTHORS ChangeLog README ) +RESTRICT="test" + +MULTILIB_CHOST_TOOLS=( + /usr/bin/oyranos-config +) +MULTILIB_WRAPPED_HEADERS=( + /usr/include/oyranos/oyranos_version.h +) + +CMAKE_REMOVE_MODULES_LIST="${CMAKE_REMOVE_MODULES_LIST} FindFltk FindXcm FindCUPS" + +src_prepare() { + einfo remove bundled libs + rm -rf elektra* yajl || die + + if use fltk ; then + #src/examples does not include fltk flags + append-cflags $(fltk-config --cflags) + append-cxxflags $(fltk-config --cxxflags) + fi + + cmake-utils_src_prepare +} + +multilib_src_configure() { + local libdir=$(get_libdir) + local mycmakeargs=( + -DLIB_SUFFIX=${libdir#lib} + -DUSE_SYSTEM_ELEKTRA=YES + -DUSE_SYSTEM_YAJL=YES + -DUSE_Qt4=OFF + -DCMAKE_DISABLE_FIND_PACKAGE_Cairo=$(usex '!cairo') + -DCMAKE_DISABLE_FIND_PACKAGE_Cups=$(usex '!cups') + -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=$(usex '!doc') + -DCMAKE_DISABLE_FIND_PACKAGE_Exif2=$(usex '!exif') + -DCMAKE_DISABLE_FIND_PACKAGE_JPEG=$(usex '!jpeg') + -DCMAKE_DISABLE_FIND_PACKAGE_LibRaw=$(usex '!raw') + -DCMAKE_DISABLE_FIND_PACKAGE_TIFF=$(usex '!tiff') + -DCMAKE_DISABLE_FIND_PACKAGE_X11=$(usex '!X') + -DCMAKE_DISABLE_FIND_PACKAGE_Fltk=$(multilib_native_usex fltk OFF ON) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt4=ON + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5=$(multilib_native_usex qt5 OFF ON) + ) + + cmake-utils_src_configure +} |