diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
commit | de49812990871e1705b64051c35161d5e6400269 (patch) | |
tree | 5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /media-libs/oyranos | |
parent | 536c3711867ec947c1738f2c4b96f22e4863322d (diff) |
gentoo resync : 24.12.2018
Diffstat (limited to 'media-libs/oyranos')
-rw-r--r-- | media-libs/oyranos/Manifest | 6 | ||||
-rw-r--r-- | media-libs/oyranos/metadata.xml | 5 | ||||
-rw-r--r-- | media-libs/oyranos/oyranos-0.9.6-r1.ebuild | 105 | ||||
-rw-r--r-- | media-libs/oyranos/oyranos-0.9.6.ebuild | 115 | ||||
-rw-r--r-- | media-libs/oyranos/oyranos-9999.ebuild | 94 |
5 files changed, 151 insertions, 174 deletions
diff --git a/media-libs/oyranos/Manifest b/media-libs/oyranos/Manifest index b9659f5a200d..d9e8451edab0 100644 --- a/media-libs/oyranos/Manifest +++ b/media-libs/oyranos/Manifest @@ -1,5 +1,5 @@ DIST oyranos-0.9.6-patches.tar.xz 11680 BLAKE2B 2e082ce2bd091dcb59a92662ec813504fbacf03d452f54260434c3abcd63523b1c718055bb0ea2576202b3f85b4af2b36975902163991e4fe82e8e52f714cf5a SHA512 3c99296188cac1dedbf597208ecf2a3e50a3717b305e0919894d633b2ee4ac7ad9c72daae54535c6f81f49f650db4f2367c4d810156a7a3c9d71f1ccfbfbe493 DIST oyranos-0.9.6.tar.gz 2247841 BLAKE2B b086104e2de949ec08a452fbab16c219daf36a69771f766fafeccffcdb45b74ff9b4d7754f45896c04d04f3fa78fb1faa1ae898b0594d172dd5e6355ca58af9b SHA512 593aa8ae24e4834fae8fceb72540a9334469c0ed977877da1c359613be7d77053d07fdbff3075380c8af425c8877171f126217b3a91ec511daaaac4ce4a3d111 -EBUILD oyranos-0.9.6.ebuild 3443 BLAKE2B 3c08b645555c2be67233b45ed683157dd9e55fcbb4f63cc1090f25d4089e7109fc82537eefa4e63d9d87beae839a823be8d3a183cd1a6e4a89b9bec3b65d9980 SHA512 ec59c4e2b25da6772e49ab6f8c20001e1a182e8fadc5c4266b02fadd23045c6ea1e44dca96e2a2d33ef7f22c9bc54efd0f7e90bc46dad3ba6829192c7c0b0c28 -EBUILD oyranos-9999.ebuild 3346 BLAKE2B 7bfe69707a1759d457c585c6ef9e755514041776de957ca7d6584d0081b0dbe8311b7760202804aeb48e74312f05b11506e40a19311c0be7150d1165b17e1e9c SHA512 dc2d59a795b8def1cba06826fa56391092c1ec9315b172abe3b62949d96e9f3ee5ab75b1a04c197e8580f044f408a4a67d3e52407f69e6f103250988beff7936 -MISC metadata.xml 327 BLAKE2B 8f684c311251a8ce6e6397dc025134eb924a284704aa4702ca8a73a8ba9abbe89d91411c57fc82e22b7c8923e8d9d82c51ace33a64d30dace9f5fb8989984444 SHA512 bf8cb7dac01a7475a2ac382d3fb23bd64e7f8d641c0e95f2e2e4825adb1a46739e48f8f2f74058965e2b2cf36aaba6821b9f15d82ef1c9ccab20a03a267779ad +EBUILD oyranos-0.9.6-r1.ebuild 2732 BLAKE2B 0ca09c3d16074206b922d7bb80940d24e7c0fc090606949e1116c50a1208dd507f224b8b5fffb08f618e818c2ecd6d34f748d768d7b5b0e785958490a6b2af05 SHA512 d2a7e3c754974a2bef6c8f47c331a43437eae4176e042d857f2441ad4899dd44e5cd0f880cd6787ea3fbf7d9fc4f1459276e45c031a90bebcb9ba19364f4822f +EBUILD oyranos-9999.ebuild 2645 BLAKE2B 93eb8738c198b753535d90824713dd042b82ea5e0aa41045148f8c08f8a7df18072991e39aa9c0adba36c421b299f616448a4cc774d3bd5538c7c226eed51e70 SHA512 ecc3a301e27e646c6d0624eae679f59c1a36eeefc0c1a9ee170e08447c9b0d26c090abc44bee82ae43171f0979c2b04380cff9436a64863cf88e7196c92ce296 +MISC metadata.xml 251 BLAKE2B 0999a9b822622949e7ddd1e5d5b77cd32cf1f689c715a8e9d4c2a4a312d8f59bf2efd06c84f52d71b05149e51514c4f4cecaf30a2c8ab391dcb3a5f7957d7b7e SHA512 bd232a6e37c4b956d15fd9fb66e3b7698c41747b9d3a1b474e8f41a1d7a0d841308526f9ba6a5b250f0140c1af47353bb0adc2e08d09bf8ef52c7b09e66ab891 diff --git a/media-libs/oyranos/metadata.xml b/media-libs/oyranos/metadata.xml index 390440d4d206..785c991172d5 100644 --- a/media-libs/oyranos/metadata.xml +++ b/media-libs/oyranos/metadata.xml @@ -1,10 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>xmw@gentoo.org</email> - <name>Michael Weber</name> - </maintainer> + <!-- maintainer-needed --> <upstream> <remote-id type="github">oyranos-cms/oyranos</remote-id> </upstream> diff --git a/media-libs/oyranos/oyranos-0.9.6-r1.ebuild b/media-libs/oyranos/oyranos-0.9.6-r1.ebuild new file mode 100644 index 000000000000..05b026fa3e9d --- /dev/null +++ b/media-libs/oyranos/oyranos-0.9.6-r1.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +if [[ ${PV} = *9999 ]]; then + EGIT_REPO_URI="https://github.com/${PN}-cms/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/${PN}-cms/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + https://dev.gentoo.org/~asturm/${P}-patches.tar.xz" + KEYWORDS="~amd64 ~x86" +fi +CMAKE_REMOVE_MODULES_LIST="${CMAKE_REMOVE_MODULES_LIST} FindXcm FindCUPS" +inherit cmake-utils flag-o-matic + +DESCRIPTION="Colour management system allowing to share settings across apps and services" +HOMEPAGE="https://www.oyranos.org/" + +LICENSE="BSD" +SLOT="0" +IUSE="cairo cups doc examples exif fltk jpeg qt5 raw scanner static-libs test tiff X" + +REQUIRED_USE="qt5? ( X ) test? ( static-libs )" + +COMMON_DEPEND=" + app-admin/elektra + dev-libs/libxml2 + >=dev-libs/yajl-2.0.4-r1 + media-libs/lcms:2 + media-libs/libpng:0= + >=media-libs/libXcm-0.5.4 + media-libs/openicc + cairo? ( x11-libs/cairo ) + cups? ( net-print/cups ) + exif? ( media-gfx/exiv2:= ) + fltk? ( x11-libs/fltk:1 ) + jpeg? ( virtual/jpeg:0 ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + dev-qt/qtxml:5 + ) + raw? ( media-libs/libraw ) + scanner? ( media-gfx/sane-backends ) + tiff? ( media-libs/tiff:0 ) + X? ( + x11-libs/libX11 + x11-libs/libXfixes + x11-libs/libXinerama + x11-libs/libXmu + x11-libs/libXrandr + x11-libs/libXxf86vm + ) +" +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}.md ) + +RESTRICT="test" + +PATCHES=( "${WORKDIR}/patches" ) + +src_prepare() { + # remove bundled libs + rm -r libxcm openicc yajl || die + cmake-utils_src_prepare +} + +multilib_src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_DOCDIR=share/doc/${PF} + -DUSE_SYSTEM_ELEKTRA=ON + -DUSE_SYSTEM_LIBXCM=ON + -DUSE_SYSTEM_OPENICC=ON + -DUSE_SYSTEM_YAJL=ON + -DCMAKE_DISABLE_FIND_PACKAGE_Qt4=ON + -DCMAKE_DISABLE_FIND_PACKAGE_Cairo=$(usex !cairo) + -DCMAKE_DISABLE_FIND_PACKAGE_Cups=$(usex !cups) + -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=$(usex !doc) + -DENABLE_EXAMPLES=$(usex examples) + -DCMAKE_DISABLE_FIND_PACKAGE_Exif2=$(usex !exif) + -DCMAKE_DISABLE_FIND_PACKAGE_FLTK=$(usex !fltk) + -DCMAKE_DISABLE_FIND_PACKAGE_JPEG=$(usex !jpeg) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5=$(usex !qt5) + -DCMAKE_DISABLE_FIND_PACKAGE_LibRaw=$(usex !raw) + -DCMAKE_DISABLE_FIND_PACKAGE_Sane=$(usex !scanner) + -DENABLE_STATIC_LIBS=$(usex static-libs) + -DENABLE_TESTS=$(usex test) + -DCMAKE_DISABLE_FIND_PACKAGE_TIFF=$(usex !tiff) + -DCMAKE_DISABLE_FIND_PACKAGE_X11=$(usex !X) + ) + + cmake-utils_src_configure +} diff --git a/media-libs/oyranos/oyranos-0.9.6.ebuild b/media-libs/oyranos/oyranos-0.9.6.ebuild deleted file mode 100644 index d71e0603f7db..000000000000 --- a/media-libs/oyranos/oyranos-0.9.6.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -if [[ ${PV} = *9999 ]]; then - GITECLASS="git-r3" - EGIT_REPO_URI="https://github.com/${PN}-cms/${PN}.git" -fi -inherit cmake-multilib flag-o-matic ${GITECLASS} -unset GITECLASS - -DESCRIPTION="Colour management system allowing to share settings across apps and services" -HOMEPAGE="http://www.oyranos.org/" -[[ ${PV} != *9999 ]] && \ -SRC_URI="https://github.com/${PN}-cms/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz - https://dev.gentoo.org/~asturm/${P}-patches.tar.xz" - -KEYWORDS="~amd64 ~x86" -LICENSE="BSD" -SLOT="0" -IUSE="X cairo cups doc examples exif fltk jpeg qt5 raw scanner static-libs test tiff" - -REQUIRED_USE="qt5? ( X ) test? ( static-libs )" - -#OY_LINGUAS="cs;de;eo;eu;fr;ru" #TODO - -COMMON_DEPEND=" - >=app-admin/elektra-0.8.4:0[${MULTILIB_USEDEP}] - dev-libs/libxml2[${MULTILIB_USEDEP}] - >=dev-libs/yajl-2.0.4-r1[${MULTILIB_USEDEP}] - media-libs/lcms:2[${MULTILIB_USEDEP}] - media-libs/libpng:0=[${MULTILIB_USEDEP}] - >=media-libs/libXcm-0.5.4[${MULTILIB_USEDEP}] - media-libs/openicc[${MULTILIB_USEDEP}] - cairo? ( x11-libs/cairo[${MULTILIB_USEDEP}] ) - cups? ( net-print/cups[${MULTILIB_USEDEP}] ) - exif? ( media-gfx/exiv2:=[${MULTILIB_USEDEP}] ) - fltk? ( x11-libs/fltk:1 ) - jpeg? ( virtual/jpeg:0[${MULTILIB_USEDEP}] ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - dev-qt/qtx11extras:5 - dev-qt/qtxml:5 - ) - raw? ( media-libs/libraw[${MULTILIB_USEDEP}] ) - scanner? ( media-gfx/sane-backends[${MULTILIB_USEDEP}] ) - tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) - X? ( - x11-libs/libX11[${MULTILIB_USEDEP}] - x11-libs/libXfixes[${MULTILIB_USEDEP}] - x11-libs/libXinerama[${MULTILIB_USEDEP}] - x11-libs/libXmu[${MULTILIB_USEDEP}] - x11-libs/libXrandr[${MULTILIB_USEDEP}] - x11-libs/libXxf86vm[${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}.md ) -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} FindXcm FindCUPS" - -PATCHES=( "${WORKDIR}/patches" ) - -src_prepare() { - einfo remove bundled libs - rm -r libxcm openicc yajl || die - cmake-utils_src_prepare -} - -multilib_src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_DOCDIR=share/doc/${PF} - -DUSE_SYSTEM_ELEKTRA=ON - -DUSE_SYSTEM_LIBXCM=ON - -DUSE_SYSTEM_OPENICC=ON - -DUSE_SYSTEM_YAJL=ON - -DCMAKE_DISABLE_FIND_PACKAGE_Qt4=ON - -DCMAKE_DISABLE_FIND_PACKAGE_Cairo=$(usex '!cairo') - -DCMAKE_DISABLE_FIND_PACKAGE_Cups=$(usex '!cups') - -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=$(multilib_native_usex doc OFF ON) - -DENABLE_EXAMPLES=$(usex examples) - -DCMAKE_DISABLE_FIND_PACKAGE_Exif2=$(usex '!exif') - -DCMAKE_DISABLE_FIND_PACKAGE_FLTK=$(multilib_native_usex fltk OFF ON) - -DCMAKE_DISABLE_FIND_PACKAGE_JPEG=$(usex '!jpeg') - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5=$(multilib_native_usex qt5 OFF ON) - -DCMAKE_DISABLE_FIND_PACKAGE_LibRaw=$(usex '!raw') - -DCMAKE_DISABLE_FIND_PACKAGE_Sane=$(usex '!scanner') - -DENABLE_STATIC_LIBS=$(usex static-libs) - -DENABLE_TESTS=$(usex test) - -DCMAKE_DISABLE_FIND_PACKAGE_TIFF=$(usex '!tiff') - -DCMAKE_DISABLE_FIND_PACKAGE_X11=$(usex '!X') - ) - - cmake-utils_src_configure -} diff --git a/media-libs/oyranos/oyranos-9999.ebuild b/media-libs/oyranos/oyranos-9999.ebuild index 11aa763bfd8b..a44af27aa9ea 100644 --- a/media-libs/oyranos/oyranos-9999.ebuild +++ b/media-libs/oyranos/oyranos-9999.ebuild @@ -1,42 +1,40 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 if [[ ${PV} = *9999 ]]; then - GITECLASS="git-r3" EGIT_REPO_URI="https://github.com/${PN}-cms/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/${PN}-cms/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" fi -inherit cmake-multilib flag-o-matic ${GITECLASS} -unset GITECLASS +CMAKE_REMOVE_MODULES_LIST="${CMAKE_REMOVE_MODULES_LIST} FindXcm FindCUPS" +inherit cmake-utils flag-o-matic DESCRIPTION="Colour management system allowing to share settings across apps and services" -HOMEPAGE="http://www.oyranos.org/" -[[ ${PV} != *9999 ]] && \ -SRC_URI="https://github.com/${PN}-cms/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="https://www.oyranos.org/" -KEYWORDS="" LICENSE="BSD" SLOT="0" -IUSE="X cairo cups doc examples exif fltk jpeg qt5 raw scanner static-libs test tiff" +IUSE="cairo cups doc examples exif fltk jpeg qt5 raw scanner static-libs test tiff X" REQUIRED_USE="qt5? ( X ) test? ( static-libs )" -#OY_LINGUAS="cs;de;eo;eu;fr;ru" #TODO - COMMON_DEPEND=" - >=app-admin/elektra-0.8.4:0[${MULTILIB_USEDEP}] - dev-libs/libxml2[${MULTILIB_USEDEP}] - >=dev-libs/yajl-2.0.4-r1[${MULTILIB_USEDEP}] - media-libs/lcms:2[${MULTILIB_USEDEP}] - media-libs/libpng:0=[${MULTILIB_USEDEP}] - >=media-libs/libXcm-0.5.4[${MULTILIB_USEDEP}] - media-libs/openicc[${MULTILIB_USEDEP}] - cairo? ( x11-libs/cairo[${MULTILIB_USEDEP}] ) - cups? ( net-print/cups[${MULTILIB_USEDEP}] ) - exif? ( media-gfx/exiv2:=[${MULTILIB_USEDEP}] ) + app-admin/elektra + dev-libs/libxml2 + >=dev-libs/yajl-2.0.4-r1 + media-libs/lcms:2 + media-libs/libpng:0= + >=media-libs/libXcm-0.5.4 + media-libs/openicc + cairo? ( x11-libs/cairo ) + cups? ( net-print/cups ) + exif? ( media-gfx/exiv2:= ) fltk? ( x11-libs/fltk:1 ) - jpeg? ( virtual/jpeg:0[${MULTILIB_USEDEP}] ) + jpeg? ( virtual/jpeg:0 ) qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 @@ -45,16 +43,16 @@ COMMON_DEPEND=" dev-qt/qtx11extras:5 dev-qt/qtxml:5 ) - raw? ( media-libs/libraw[${MULTILIB_USEDEP}] ) - scanner? ( media-gfx/sane-backends[${MULTILIB_USEDEP}] ) - tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) + raw? ( media-libs/libraw ) + scanner? ( media-gfx/sane-backends ) + tiff? ( media-libs/tiff:0 ) X? ( - x11-libs/libX11[${MULTILIB_USEDEP}] - x11-libs/libXfixes[${MULTILIB_USEDEP}] - x11-libs/libXinerama[${MULTILIB_USEDEP}] - x11-libs/libXmu[${MULTILIB_USEDEP}] - x11-libs/libXrandr[${MULTILIB_USEDEP}] - x11-libs/libXxf86vm[${MULTILIB_USEDEP}] + x11-libs/libX11 + x11-libs/libXfixes + x11-libs/libXinerama + x11-libs/libXmu + x11-libs/libXrandr + x11-libs/libXxf86vm ) " DEPEND="${COMMON_DEPEND} @@ -67,19 +65,11 @@ RDEPEND="${COMMON_DEPEND} media-libs/icc-profiles-openicc" DOCS=( {AUTHORS,ChangeLog,README}.md ) -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} FindXcm FindCUPS" +RESTRICT="test" src_prepare() { - einfo remove bundled libs + # remove bundled libs rm -r libxcm openicc yajl || die cmake-utils_src_prepare } @@ -92,20 +82,20 @@ multilib_src_configure() { -DUSE_SYSTEM_OPENICC=ON -DUSE_SYSTEM_YAJL=ON -DCMAKE_DISABLE_FIND_PACKAGE_Qt4=ON - -DCMAKE_DISABLE_FIND_PACKAGE_Cairo=$(usex '!cairo') - -DCMAKE_DISABLE_FIND_PACKAGE_Cups=$(usex '!cups') - -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=$(multilib_native_usex doc OFF ON) + -DCMAKE_DISABLE_FIND_PACKAGE_Cairo=$(usex !cairo) + -DCMAKE_DISABLE_FIND_PACKAGE_Cups=$(usex !cups) + -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=$(usex !doc) -DENABLE_EXAMPLES=$(usex examples) - -DCMAKE_DISABLE_FIND_PACKAGE_Exif2=$(usex '!exif') - -DCMAKE_DISABLE_FIND_PACKAGE_FLTK=$(multilib_native_usex fltk OFF ON) - -DCMAKE_DISABLE_FIND_PACKAGE_JPEG=$(usex '!jpeg') - -DCMAKE_DISABLE_FIND_PACKAGE_Qt5=$(multilib_native_usex qt5 OFF ON) - -DCMAKE_DISABLE_FIND_PACKAGE_LibRaw=$(usex '!raw') - -DCMAKE_DISABLE_FIND_PACKAGE_Sane=$(usex '!scanner') + -DCMAKE_DISABLE_FIND_PACKAGE_Exif2=$(usex !exif) + -DCMAKE_DISABLE_FIND_PACKAGE_FLTK=$(usex !fltk) + -DCMAKE_DISABLE_FIND_PACKAGE_JPEG=$(usex !jpeg) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5=$(usex !qt5) + -DCMAKE_DISABLE_FIND_PACKAGE_LibRaw=$(usex !raw) + -DCMAKE_DISABLE_FIND_PACKAGE_Sane=$(usex !scanner) -DENABLE_STATIC_LIBS=$(usex static-libs) -DENABLE_TESTS=$(usex test) - -DCMAKE_DISABLE_FIND_PACKAGE_TIFF=$(usex '!tiff') - -DCMAKE_DISABLE_FIND_PACKAGE_X11=$(usex '!X') + -DCMAKE_DISABLE_FIND_PACKAGE_TIFF=$(usex !tiff) + -DCMAKE_DISABLE_FIND_PACKAGE_X11=$(usex !X) ) cmake-utils_src_configure |