diff options
-rw-r--r-- | media-libs/gexiv2/Manifest | 4 | ||||
-rw-r--r-- | media-libs/libraw/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/libraw/Manifest | 5 | ||||
-rw-r--r-- | media-libs/libraw/files/libraw-0.10.0-pkg-config.patch | 48 | ||||
-rw-r--r-- | media-libs/libraw/libraw-0.10.0.ebuild | 53 |
5 files changed, 115 insertions, 3 deletions
diff --git a/media-libs/gexiv2/Manifest b/media-libs/gexiv2/Manifest index 844b6476cc26..5a1ab2ca072b 100644 --- a/media-libs/gexiv2/Manifest +++ b/media-libs/gexiv2/Manifest @@ -1,4 +1,6 @@ DIST libgexiv2-0.1.0.tar.bz2 23971 RMD160 8f8ffb19b58772679437df072153eb26101345b1 SHA1 31d14d35189e128f3c72e51cf627fa462dc60dd9 SHA256 0efddbda2e103f0704f57b06571cacded7401323480082107ee5cde3f1d61f6f +DIST libgexiv2-0.2.1.tar.bz2 24419 RMD160 4882c83a2646c3dc8f4ac0a885e76129f1ddc3b9 SHA1 b7ab9c35ed221dc18ab4493c51b7b9aac936867f SHA256 6279becd711de669606a95d6a2198000ef3909611b19fdfd9478a0cf265243da EBUILD gexiv2-0.1.0.ebuild 761 RMD160 dc847ab333c51d79da3ef595930125e7458d43b8 SHA1 9b58fa513ff22bd81f57f9b0613ab90e54cf6a19 SHA256 2c914cfcf01455c503192991cae28dfd8cfe14b99c46ce3b596435f8527142ca -MISC ChangeLog 356 RMD160 023df0e5c8ccf533bc43e01ae3fc55932c20eaf1 SHA1 ca0aa113ea39df44d1a262dfa529c1a8c987d85c SHA256 7de9aad00c7e385439efce1a329c00a508774d007065a4e9280a2d65445911f8 +EBUILD gexiv2-0.2.1.ebuild 711 RMD160 37bf70c7be66512aacefd1cf2634f84480e3aea7 SHA1 24293f81e7f15c950b1e6bbc717d23d2e624ca78 SHA256 562789f91cc8376c6cd4d45a73cb5d3236211f769374a8f9c46674400c134bde +MISC ChangeLog 485 RMD160 e3627ed16ffecb4011b4f64b0b91da1ab58d889e SHA1 1b4407e9294585362d9915d16d78efce8649a92d SHA256 a4d6b1ef75395cec264ace6105c8d1414b7f627410e20920a2201bcc3218e4dc MISC metadata.xml 415 RMD160 134c649d154b0998e41cf6a0e6acfe7184e117d4 SHA1 c56b971fc9b210e1bc89d69c44de620b608a6b73 SHA256 3e0c5750bb61eeae9a23c4ab9509978adef9817a34727ddd831082b0052d34c1 diff --git a/media-libs/libraw/ChangeLog b/media-libs/libraw/ChangeLog index cad5128afebb..804ccc7581a2 100644 --- a/media-libs/libraw/ChangeLog +++ b/media-libs/libraw/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/libraw # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libraw/ChangeLog,v 1.1 2010/08/22 07:24:56 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libraw/ChangeLog,v 1.2 2010/09/19 08:16:02 hollow Exp $ + +*libraw-0.10.0 (19 Sep 2010) + + 19 Sep 2010; Benedikt Böhm <hollow@gentoo.org> +libraw-0.10.0.ebuild, + +files/libraw-0.10.0-pkg-config.patch: + version bump wrt #336393; also fixes openmp support (#336218) *libraw-0.9.1 (22 Aug 2010) diff --git a/media-libs/libraw/Manifest b/media-libs/libraw/Manifest index 6157f72ec1dd..b29b764bc257 100644 --- a/media-libs/libraw/Manifest +++ b/media-libs/libraw/Manifest @@ -1,5 +1,8 @@ +AUX libraw-0.10.0-pkg-config.patch 1504 RMD160 6a9cb1ef404d64e01bfb1de007783cd95ed52990 SHA1 0c3290dde5148c6c023a0a7272090d337998c54a SHA256 e42a293d9f050a0e69c35190190635275b0fda73229855584dbfef7c03a3eb50 AUX libraw-0.9.1-pkg-config.patch 1502 RMD160 cfa6962fe473e869e5eb7a816985da820c279cdf SHA1 a8c15c28c2a6d742d0d1cf3282000ae2504cceb3 SHA256 ef93af77f11d8bde5b726f6028a36dc28c46d3306e93e1aca611c1b2e44bf5ef +DIST LibRaw-0.10.0.tar.gz 554095 RMD160 71e98bb7234f61eb0b05538cf1debb4de9400259 SHA1 862c0928127973e792b0e0f243076d103b36a55f SHA256 e0d373a774723381bf5e27050d462513039f0bf0101b732fcbea00ce12600104 DIST LibRaw-0.9.1.tar.gz 547554 RMD160 53cf7747c91b47c35014379c1cc6490e2b1468d1 SHA1 c314ac3949605ea3419f0ef1851af3af1772e6d9 SHA256 f9737af7988579945994c1eb3b9e74ff201584e7dc8a92dac0b1e83457be125c +EBUILD libraw-0.10.0.ebuild 1510 RMD160 e9307c5d81de143e8d8b8a48e67fc1512b1e87b3 SHA1 eeb87c93fa2a6002e4c6852597edbc609a2ca440 SHA256 f3e8817896e5220ab2fbe34a94e836f5bdf525edff274d811fae378d4a5665b7 EBUILD libraw-0.9.1.ebuild 1705 RMD160 3f393099fe8176f19a9a5b365d220a5f1acb2fc5 SHA1 853ffc02288e9918641a92d8910a8fba65c3db60 SHA256 56d3f53e51451655fe78e7004203723280f84f820b4dd1057d673e94f7c7e638 -MISC ChangeLog 394 RMD160 499d06567455ec89d4ddf5f0dd4979023742c5ae SHA1 7cdb68dacc78854d358c9a57a2b3f5d883558f10 SHA256 c0c61896d514a672be78bb703ec04f4265e1a18adbce679724ff45450b099bfc +MISC ChangeLog 603 RMD160 88a688dbd38ea6423185e19c568f733ee4c463ee SHA1 e53e6e13f8214a4660141b316fdfc3722d5be243 SHA256 a504b15fb0f4d1efb5ee65faf7a2f87c9b5ba6223c04e943e17459d5ef4c5686 MISC metadata.xml 415 RMD160 134c649d154b0998e41cf6a0e6acfe7184e117d4 SHA1 c56b971fc9b210e1bc89d69c44de620b608a6b73 SHA256 3e0c5750bb61eeae9a23c4ab9509978adef9817a34727ddd831082b0052d34c1 diff --git a/media-libs/libraw/files/libraw-0.10.0-pkg-config.patch b/media-libs/libraw/files/libraw-0.10.0-pkg-config.patch new file mode 100644 index 000000000000..ca1233b18bdf --- /dev/null +++ b/media-libs/libraw/files/libraw-0.10.0-pkg-config.patch @@ -0,0 +1,48 @@ +'diff --git a/Makefile b/Makefile +index 51ba805..8e9dac2 100644 +--- a/Makefile ++++ b/Makefile +@@ -20,6 +20,7 @@ all_samples: bin/raw-identify bin/simple_dcraw bin/dcraw_emu bin/dcraw_half bin + install: library + @if [ -d /usr/local/include ] ; then cp -R libraw /usr/local/include/ ; else echo 'no /usr/local/include' ; fi + @if [ -d /usr/local/lib ] ; then cp lib/libraw.a lib/libraw_r.a /usr/local/lib/ ; else echo 'no /usr/local/lib' ; fi ++ @if [ -d /usr/local/lib/pkgconfig ] ; then cp libraw.pc libraw_r.pc /usr/local/lib/pkgconfig ; else echo 'no /usr/local/lib/pkgconfig' ; fi + + install-binaries: all_samples + @if [ -d /usr/local/bin ] ; then cp bin/[a-z]* /usr/local/bin/ ; else echo 'no /usr/local/bin' ; fi +diff --git a/libraw.pc b/libraw.pc +new file mode 100644 +index 0000000..15ec862 +--- /dev/null ++++ b/libraw.pc +@@ -0,0 +1,12 @@ ++prefix=/usr ++exec_prefix=${prefix} ++libdir=${exec_prefix}/lib ++includedir=${prefix}/include ++ ++Name: libraw ++Description: Raw image decoder library (non-thread-safe) ++Requires: ++Version: 0.10.0 ++Libs: -L${libdir} -lraw -lstdc++ ++Cflags: -I${includedir}/libraw ++ +diff --git a/libraw_r.pc b/libraw_r.pc +new file mode 100644 +index 0000000..b54242b +--- /dev/null ++++ b/libraw_r.pc +@@ -0,0 +1,12 @@ ++prefix=/usr ++exec_prefix=${prefix} ++libdir=${exec_prefix}/lib ++includedir=${prefix}/include ++ ++Name: libraw ++Description: Raw image decoder library (thread-safe) ++Requires: ++Version: 0.10.0 ++Libs: -L${libdir} -lraw_r -lstdc++ ++Cflags: -I${includedir}/libraw ++ diff --git a/media-libs/libraw/libraw-0.10.0.ebuild b/media-libs/libraw/libraw-0.10.0.ebuild new file mode 100644 index 000000000000..8c5251c9baf1 --- /dev/null +++ b/media-libs/libraw/libraw-0.10.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libraw/libraw-0.10.0.ebuild,v 1.1 2010/09/19 08:16:02 hollow Exp $ + +EAPI="2" + +inherit eutils + +DESCRIPTION="LibRaw is a library for reading RAW files obtained from digital photo cameras" +HOMEPAGE="http://www.libraw.org/" +SRC_URI="http://www.libraw.org/data/LibRaw-${PV}.tar.gz" + +# Libraw also has it's own license, which is a pdf file and +# can be obtained from here: +# http://www.libraw.org/data/LICENSE.LibRaw.pdf +LICENSE="LGPL-2.1 CDDL" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="lcms openmp examples" + +RDEPEND="lcms? ( =media-libs/lcms-1* )" + +S="${WORKDIR}/LibRaw-${PV}" + +src_prepare() { + # Add pkg-config support + epatch "${FILESDIR}/libraw-0.10.0-pkg-config.patch" + + sed -i -e "s:/usr/local/:${D}usr/:g" \ + -e "/^CFLAGS/ s:-O4:${CFLAGS}:" \ + Makefile + + if use lcms; then + sed -i -r '/^#LCMS/ s!^#!!' Makefile + sed -i -r -e '/^Libs/ s!$! -llcms!' \ + -e '/^Requires/ s!$! lcms2!' *.pc + fi + + if use openmp; then + sed -i -r '/^CFLAGS/ s!^(.*)$!\1 -fopenmp!' Makefile + sed -i -r -e '/^Cflags/ s!$! -fopenmp!' \ + -e '/^Libs/ s!$! -lgomp!' *.pc + fi +} + +src_install() { + # This makefile doesn't even make the directories.. + mkdir -p "${D}usr/include" "${D}usr/lib" "${D}usr/lib/pkgconfig" \ + $(use examples && echo "${D}/usr/bin") || die "Directory making failed." + + emake install \ + $(use examples && echo "install-binaries") || die "Install failed." +} |