diff options
-rw-r--r-- | media-gfx/pngquant/ChangeLog | 7 | ||||
-rw-r--r-- | media-gfx/pngquant/Manifest | 18 | ||||
-rw-r--r-- | media-gfx/pngquant/pngquant-2.2.0.ebuild | 48 | ||||
-rw-r--r-- | media-gfx/sxiv/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/sxiv/Manifest | 25 | ||||
-rw-r--r-- | media-gfx/sxiv/files/sxiv-1.2-makefile.patch | 16 | ||||
-rw-r--r-- | media-gfx/sxiv/sxiv-1.2.ebuild | 34 |
7 files changed, 132 insertions, 24 deletions
diff --git a/media-gfx/pngquant/ChangeLog b/media-gfx/pngquant/ChangeLog index e55d1e3ffbed..469898a82eec 100644 --- a/media-gfx/pngquant/ChangeLog +++ b/media-gfx/pngquant/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-gfx/pngquant # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngquant/ChangeLog,v 1.6 2014/03/15 11:42:55 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngquant/ChangeLog,v 1.7 2014/04/25 08:35:26 radhermit Exp $ + +*pngquant-2.2.0 (25 Apr 2014) + + 25 Apr 2014; Tim Harder <radhermit@gentoo.org> +pngquant-2.2.0.ebuild: + Version bump. *pngquant-2.1.0 (15 Mar 2014) diff --git a/media-gfx/pngquant/Manifest b/media-gfx/pngquant/Manifest index 281654af1bdd..3dd3e66e7d05 100644 --- a/media-gfx/pngquant/Manifest +++ b/media-gfx/pngquant/Manifest @@ -6,20 +6,22 @@ DIST pngquant-1.8.2-src.tar.bz2 31901 SHA256 a51924ad141c010516e46122e84c6d1882d DIST pngquant-1.8.3-src.tar.bz2 32287 SHA256 e3d18b12ddf4ee159a696408b147d667674e52121f11660fc15ce3967dd053b9 SHA512 6a123722d1b035fd9cff51004ab222e5d6cc09890cdc440683609b187d492a24f924fec7b15201c8c4bff84bb3891d7f17a99fd24714b71d4ab3c8ac5c3cfc38 WHIRLPOOL a799e840e645c6bd5ec4ce118d5af8b263f3d1ca0ed898ed447bee8ffa98d61eb97eab392cd7db0440600568809891b9cac1c033cfecac65d0c36bca446f469f DIST pngquant-2.0.2-src.tar.bz2 45160 SHA256 e1988b18cab1efb889224ac1d640510f09464b5b6fd43beb5edcb161b67db96f SHA512 9e7f652c8e32d408e3f2ccd7854961d8b49e3517f847018cddb9ed415f4bc820c00d27a15760222af33e631a2023c57c420ca306a56f717d2de526da4b5670b8 WHIRLPOOL f0af27fbd3d172677b5cae0bf20d13b71a66fb7738c3b9576b19b785a29b6cd77c21935b3aeb51230696cfb05f4495eca2977d885d616e344f0bf2be079e3621 DIST pngquant-2.1.0-src.tar.bz2 46435 SHA256 ef41138ff320495c785155eb9f774ae6e1d41978b3e490854e6a8c46c0b032e2 SHA512 277c8fdb07e3eb2fa3643787b2442fc35f17b955e90a5e496aacd87c791ea2ae9fd0c9734cccf5bdc8bc7bc633ea42d6ff94dcb410ad0bfce83c619fff8d83df WHIRLPOOL d277027232fc96f37a7e3e3aacfad4f2bf5ec0cbaa46b67dd291d88075c5794918a3d1a24bbb345def79fb2b0669bdcbd6b547099abe6b15aa877ef17edec5c4 +DIST pngquant-2.2.0-src.tar.bz2 49041 SHA256 7ee202f26270bb0ea8ad6f9a2fc2517ffca2bcded3dfdbd3b99692dcc72e5d11 SHA512 58ab515f1b3a12d95edc597b088f026668be3d022e753ddaf2e9474dd9feaaad9f0362b1b7ad0951ffe27b00fa7940e555372b404a52b79398e06e3c533b584c WHIRLPOOL b3aa2269771e94262badd396766b472d65b310b17c1a733b91059a61194f612f20b9fc9e34bab6015d228d24f1fa7ec5b17327131e2ea5afcbe7787cb0ce316a EBUILD pngquant-1.8.2.ebuild 902 SHA256 47969eae4c7b4913ac76bdc2fbbe25d34a4c3d526685de9ad8b607934456ce25 SHA512 0cbb9abf3866699ec21c477493e01808a4fa1b0ec357be8388f5df61c3e43fa2213e98326fb2c267dcedfe4918f1b080f3e8f9def90e170e8b07a1118392a317 WHIRLPOOL 9ab21a59d10d5e311332ef2b37527bb685d38ae5141bbf8854751844a957c4c8316cf18391b0c65ea1286267eb5635f61372369a5cceaa64eb3efd1db8252a9b EBUILD pngquant-1.8.3.ebuild 1196 SHA256 4e4e4a094550c6ffe03ab8937b0f4b7f05de34b6d5b6b62f519d5dd9bf64fbc8 SHA512 e6797658a54777cc168cc4900aed3ca0c88e17b8f8388f1a956db7c4364ef889f3e20bcdfaa52fd2c0a4e61ec06ab1fd175c41385b933495d097384d00013404 WHIRLPOOL c6d6cd2139320df7bd5f67b856ab1eade2c357b6c739c9b72d9ba3ceb5b43190594356c46495fbe6be45c0ecb743b838a9d600e448ba62dc60009c464ac9c390 EBUILD pngquant-2.0.2.ebuild 1126 SHA256 b3c5f1a4f206dca1d9717d98a8af230fbec02f1d438ceb316d88315dbe4d4474 SHA512 2ff6fd66f65a12e00b20544616c5aa758a4712d1808b603cf7c0aa5f53bb0c2149b0332c22bfcfda3198b8eb34bbb95b8528c2a5958bd2ac2056b91e594f1666 WHIRLPOOL 887898b64503f83a1ec913a3f68138c62c264d05ff1f3fbfc54b5050447a6a91f6f9da10134cd73eae1c6570f6d10bc31ce3196839fdfffadc3e80b7df7a02ca EBUILD pngquant-2.1.0.ebuild 1119 SHA256 5b828e8be8bc8a9cc4f91da55f9e78e7619582e8f5f8d023b10db0e96fc9d1cd SHA512 e32ab63faab1c9e9dad64a2f20398ddeaca0c097a88fc47fb3edff4091fc5ac3ee83aa23ad7b4e4502068808847803e2818b4e40704f5e77a9791369073a0e5f WHIRLPOOL df8226ad64eeec844f98f56af2eb4ebc763bd53f0435cbdd1fadbbd64bc3688655a53a2924d06e7f370ac8c97e64cb20b77cfbbe34c2b9e2e4c9090c1f06ef8d -MISC ChangeLog 1177 SHA256 61549fd175ba09cfa5ad393e17f16aef89103c3146583413ce65fac3e16747ec SHA512 1315ea34af8a2f8088504d9cad217e4175dc469f0668dbe550773dda261d99e3d8fa115556bacbd0d55b5575e37ee74e4cc654f3df2f69bd352c96e3ce1452f9 WHIRLPOOL 5ce7a5fc62f7857393adfc9870c4aabd1425684044448d7d52cc06bb610ffd1ae1e69ce45c53ed3d23ceccbcf101e3ea4f6509c0ba94c33209b1466107dfdb09 +EBUILD pngquant-2.2.0.ebuild 1119 SHA256 eadce7a8f94284674587fa26f91f81ae02c1231dd0359ffcb36c86723325d8dc SHA512 d81e0cb84721842b840bec6cf88fdd27b9e45619d887228591f54bad4350c1f45bbc01721e2967dc71970ea86c502c1359dabaceb84572a3c02cf61b3ca385a9 WHIRLPOOL 2c38e83f8d981247bae54afd2f3601388124a2e10adbb68625c9eeb44ccf62197a72e4a30f200c9f32dbf90ec82a6c6e291754a8389bc2c6a219b300eca240c5 +MISC ChangeLog 1298 SHA256 8b3020e2b8cab142c1c0d09b3bcb2db4ac3a42cd9bfc366820c1138157a56963 SHA512 b6eaffab7f58e71d6bfbe899fd0e1cf0eed929e49fc3626fd02ff3e7bf34541edd36cc91eccddd98b3bdd0b1ea435fcac592b1267aac4fa8a3c195dc5686c2e8 WHIRLPOOL 8f74fdfed418ca420ca560fb74e202f0b2fa5df982be86e3dfb30d5afdaec1f98d509f76817ea6e9a0cd2c9247570f104f4d29eac6360c7a46945a50387a83ce MISC metadata.xml 161 SHA256 e8daadc5e27e3ef1148993b5b48d96e93bc36d798a1f416693f7f8c84be427e1 SHA512 425caf0160f1410ce7bf1d4639020be7f6335152c339edbce80676bff4166f1cab3ae9e13161c47b98dc00741dab3bfa45e9572a3314844476e480f5c2b58d7d WHIRLPOOL ad7cdd3352dbc12cb4181fb5d63b5aee5ce3a151b975c12a96c4a5c91f751736d27282ad22633c7e768230266bce5d17947735d33ef5c5c2341c3f9435b9ebb0 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQEcBAEBCAAGBQJTJDzBAAoJEEqz6FtPBkyjGnAH/Av0/X1az8Syoz7FQizFYThT -o+V551GYqKPCDzyr15V2q9JHl1iuai9DKCt4dZHDh5RiCXVdSw74+IKUDfgCN6Dz -v0QEYZARnvoGAwbW0DBue0cGoZwMT7hjRw15gUObsgSt5Dl81By1m2n8ZcD9vHHU -kOugubT8s1IYaL3XxXk9Wn4Ul2ZoFdIoAVXNI81r/kDXfcNq+HNYmQocGFwTLFTr -eoW1ej1pusqKvkfij82HkhgnhRGh8lMy7G+YXBP7hKuZYqSCiy5Zue11lMyiyw6y -yM5ItQnNyJtrSFt2DssRr5EBoYlspIzna/izrQHY6Ez6uxApRUr6IlCiSG36Wl4= -=tU8B +iQEcBAEBCAAGBQJTWh5PAAoJEEqz6FtPBkyjpnEH/i/hcp6ycSzdnJLe0KHws7pv +1oClvvd3YP4jt8RoTSGx9SjgfcsEdXUsOMfjnkHIG+wYYMiIFuv8ehGJAoMgg42g +ZPZel0WfMBwr852OOJ0wSZiZE2cjz77UgvPqMwGWU6JPDe8YDiRVVItLaOYcTfxR +3ZsJdjXUnz9XH5cCbN/p3676dR3HVdM7PvDjwufluK+/OPfB7dU9AdP4Jl9lK/N1 +q8oqcamIYplQ6fCti1Lf4z5FAgeIL5Qrmkixnqzumlr06KeicIX4sgzurqHlkRl8 +xYt3PocS0t8erQ8osw35tXlVczC+WdW+s22bu6VEv8uJrYkw0gknWXuaC6m5WZs= +=/kye -----END PGP SIGNATURE----- diff --git a/media-gfx/pngquant/pngquant-2.2.0.ebuild b/media-gfx/pngquant/pngquant-2.2.0.ebuild new file mode 100644 index 000000000000..572bc35bd6a8 --- /dev/null +++ b/media-gfx/pngquant/pngquant-2.2.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngquant/pngquant-2.2.0.ebuild,v 1.1 2014/04/25 08:35:26 radhermit Exp $ + +EAPI=5 +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="a command-line utility for converting 24/32-bit PNG images to paletted (8-bit) PNGs" +HOMEPAGE="http://pngquant.org/" +SRC_URI="http://pngquant.org/${P}-src.tar.bz2" + +LICENSE="HPND rwpng" +SLOT=0 +KEYWORDS="~amd64 ~x86" +IUSE="debug openmp sse2" + +RDEPEND="media-libs/libpng:0= + sys-libs/zlib:=" +DEPEND=${RDEPEND} + +src_prepare() { + # Failure in upstream logic. Otherwise we lose the -I and -L flags + # from Makefile. + sed -i \ + -e 's:CFLAGS ?=:CFLAGS +=:' \ + -e 's:LDFLAGS ?=:LDFLAGS +=:' \ + Makefile || die +} + +src_compile() { + use debug || append-cflags -DNDEBUG + use sse2 && append-cflags -DUSE_SSE=1 + + local openmp + if use openmp && tc-has-openmp; then + append-cflags -fopenmp + openmp="-lgomp" + fi + + tc-export CC + emake CFLAGSOPT="" OPENMPFLAGS="${openmp}" +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + dodoc CHANGELOG README.md +} diff --git a/media-gfx/sxiv/ChangeLog b/media-gfx/sxiv/ChangeLog index d4471b2d32a6..81a8a3cebe07 100644 --- a/media-gfx/sxiv/ChangeLog +++ b/media-gfx/sxiv/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/sxiv # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/sxiv/ChangeLog,v 1.18 2014/01/14 13:53:25 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/sxiv/ChangeLog,v 1.19 2014/04/25 08:40:27 radhermit Exp $ + +*sxiv-1.2 (25 Apr 2014) + + 25 Apr 2014; Tim Harder <radhermit@gentoo.org> +sxiv-1.2.ebuild, + +files/sxiv-1.2-makefile.patch: + Version bump. 14 Jan 2014; Agostino Sarubbo <ago@gentoo.org> sxiv-1.1.1.ebuild: Stable for x86, wrt bug #495706 diff --git a/media-gfx/sxiv/Manifest b/media-gfx/sxiv/Manifest index 903bdc4cd4e6..ec9d8bad75ae 100644 --- a/media-gfx/sxiv/Manifest +++ b/media-gfx/sxiv/Manifest @@ -3,26 +3,23 @@ Hash: SHA256 AUX sxiv-1.1-fix-segfault.patch 688 SHA256 dd98c29008e9aead1487c34cb881ffaaa3a0b5edd835f7541366470f4b271803 SHA512 6dd6240cf98f8126691252ab18e5e8f80700819df64467796f2452d0e8d221bffca3608e9fb7cbcee2e311ba5b6607343c2010b409a54ab63463b32919e0a82a WHIRLPOOL 8624db53d400fd046d96e01a57dc9bb4bb7260747a59245cc02c4b2745d5b10d412134c7ee1ea5fea7076bd07bbb855c5636ee824ef10d117eb9732d05c73427 AUX sxiv-1.1-makefile.patch 411 SHA256 3b28f7fcc10feb90149ec3f4928cb4820808e04a001b71b360d04aea36fef813 SHA512 44957d1ccb101314df8f3bfe3bcfc96e06aabdf9fcef926277ea88ec8ccc6f0fad148763ff649ac3f5c050004ec57366d3cfd4f48293d79c148dfc3fe20f7514 WHIRLPOOL a86a4b50dec87bb33eaa9d385bd0e0b71209d1b7f3a4a8b031a884430d0f9c804b785d8a9daa0bd6150e017236a70b33ada3defebddaf7fc0bad4d4a80bf0968 +AUX sxiv-1.2-makefile.patch 487 SHA256 47889092fc29b39364f5ed70723ba16df4791f0ee212efcb239f0ad929b7604e SHA512 a1f48b14f97706278b199bad22bcd1a4fdd98e33a81d2ed09333ee37a2c1b7d872e7ee030e049c35b8eabd13276985fde9b9e212d1dff6ede443debdd4f62d6e WHIRLPOOL f69e8caf80e8d9c55369c35cd1011be17e3e9eff065d0802c6459ddd230116bbe712445d934ee4a964affd3ff9a7a8e73f6104a5f1e83885e97bcdb68f2b05c5 DIST sxiv-1.1.1.tar.gz 37251 SHA256 30569b7cb1568a7f60d102f6eb21f25c93de42243a1c8ac3c1a521d58b08281f SHA512 066264b3388114b022d11377c3dae5b04d5f4d6916c78276c478550f3194e0dc80cd8158a366689d4415cef94521ad018b5183dd2ae66c320770033b082094ad WHIRLPOOL 65e643a1f6aad84aa06bf7373ad74409dd552dbeb16ae961711341f8b5d7a1861d4142f8b80536e31f09c8a56130ea06c8ce501819cdfe9dd55af766ac925f6b DIST sxiv-1.1.tar.gz 37172 SHA256 7d22b060d264be25ee0e95afff9df535299dbdd48067c9fc795133e583e2583f SHA512 731ad9aea4775503684b469e5e34f0c36a058c316ac91c7f5b6d28ee48b66715a7bdf986c3f89647cff7ac715bd8d508419c0f3b5cfdc887a6649b42c407584f WHIRLPOOL f7f65e74c2acd78d5a9bac4e8524930e5ec1d7a8ee0cbbee775d017113f18d46d904b77e4976d223fbaa5e7d237e206e8048d940dd493632c2fbba9893eec4dd +DIST sxiv-1.2.tar.gz 47775 SHA256 ac76b69e4889137f2ce531ec4dc5ce9c4916bc575a30d351ebc7b0a684ef8cf3 SHA512 6058a8f89c540083549d91fe469f8f9d1a4acf60a19dc1d7115b7fe9a807143c9f8c0e8320e7695f7b6afe8d9ae040e9daaa09a976219228afb929133c8a6957 WHIRLPOOL f610805192379c31bd682c32c41a04ccf5e15aee1604577810df0e6a4ef21283635da92ce6c20c6f063f9da3e96611947341ca8e4e33f4714a5142315fd41334 EBUILD sxiv-1.1-r1.ebuild 837 SHA256 0fb2e60710b0f09417b4a57a75b13cc96c3f37193335aa9ea61411194a912ac3 SHA512 a2b2f245233e8aff1bc41cc447b6f350f3fc089aed0a952b5250bb0256b3140575c8347fa707d76c30ee4d72e38c52ec5cbad89a9decf6f1c1004b3550569048 WHIRLPOOL 286825714b8f489dc9f2d27e4dc9087fd02af1985c3b2adf16a8ba9bfe2690ae7b89b389764bf9e56ec64a16b24f2b94a9022253c7edcc25e4ec2e46c33077a0 EBUILD sxiv-1.1.1.ebuild 791 SHA256 cb07e90f277e383d78453e713975f83748301eb56c41ac7c098453eda874fc81 SHA512 dd8fc8e3e31fdb9ebeaccd989ae0bf0404a73e0228c8f05fb2bdc7f6f1684a18916080f609580d7495ab85a10db71fa5d4489b77cee7d83389c0410db1990d02 WHIRLPOOL ba64e1b865e51521ac6574d538307a0f57800d2399d6fbd6ef973544b947f501a2aa212a6a324c32bab34e1c833c88b391a93ba83f4557866bd53a410c653ea9 -MISC ChangeLog 2504 SHA256 c68eef207f83fdcc5aef2e79f324da5d2205068ae7a034d13fe945d597ef9e4f SHA512 b96d735ea3bfe098c410550d59a791ddc1c92c76d60663609381cba2a2cc615a095e49552c2ba1c56ce9a0afc3d08dc462b1c9428026cee72c155ae18236b1ba WHIRLPOOL e012fba2b0c506bf585be40c9854b54ad68419705dbaba3419defa31e7913e0c1fad89e6881ce6f815739b348f28ddfa6278cf8ce8975d093122883e442c53c6 +EBUILD sxiv-1.2.ebuild 792 SHA256 4c4c890fb74d2dbd17a75c5f408a46a75ece919e30916c2aec8eae5c25a3bc30 SHA512 e3b11a84486331a56f9f34b88983b00396167264ee1f1ed69923d14e72ced93236714c3146af1b002aae60d4f683f75e09fbab05b66c2bab95e4e394fb9c6936 WHIRLPOOL a7e6aacb1797b1bf77a784de5ae0178c05dc3e78e9801c7c2656b27c92476c2740be3b9ce6b2719606e0910150a6e1ecdb3c01785c07aa230435a95690a0bf5d +MISC ChangeLog 2653 SHA256 f055c4b911320ba132f5dff9ee9f248966c133dfbbd608c35d652eeb032adadc SHA512 e30c53d3b52a941fd37f3448e8c573bb7b26d74c4b8f78377351c660a4a03a74fd96bfb560b7b12bf9557d77dc70262045190fce04ad8fe8f5623d1db1b386f2 WHIRLPOOL bb1fc32d410f773998be529574f96e139394b4969d2f1245503a57f43174726098cf16049f2582dd7fcd4902362217c4645a3cfc6e5fe199160eee02e6786ca6 MISC metadata.xml 163 SHA256 212655100c50c4193072996553f15984b9788fb20fb4175efd2418b80d428564 SHA512 ff4552bc5fce771795ba67e190fc9eb90ac70aaff219130e7ff9a36cde348cd4a771d8b61e158ce9390771d29e2e0ffe17618746ff1843b2af7322e0f21cdf2c WHIRLPOOL b0db778b8dab215f2790081db3d51586e43bbc790ab06f704ef4ddd6e83e90e53685d3483feff33ed1763945fca36e934e7813bff822713869d0d7f208678fb1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCAAGBQJS1UFWAAoJELp701BxlEWfvFkP/RmIgCyrE5/NJD3uvXjRPhoH -eyLffueEhYVyUEaT2atcAbWZzxoEjwzJ2NYxjKnCjkPa+lo5UpDHeX2wFIYzVAfh -XDBrXSyrZ8fRDO5yq2pp6pplksR5wZA8tzKSj1P4cdH/qjbYt8ImRQ7PsZ7sgEGN -zBdXUMMfmDVgXOsAXigWsT7UocmJzYwqM+1Eo12aOSM/dJxALQmcVHwO0O0PGQj+ -scuuhKanA/eXqiKxqRASp5mIls5Cn/IKfwQn2zencp2Rf6PU0u6UXFNFU59lJh7Q -TExRr5FvR6ooeCeOZ64Dm0WvlaHZVnLjHvHtXIrPc/BGkXzT+aKhc7HTx0G9cVqN -dAaNGeQZdqabCGRjZhePk9ALq6PSaQGySWCn+YugOhBMt5zQXbCA8ttUnZwsfpTE -6g1FZqRsxkJW1NvsJ7rP7frqoVlRz25YxirqU51inWn0KdwbS0wdgRHXf/1fJGGo -xn/JIZW+O6GY6C0s80Bmm4g9vD6IkMbBS7c8soavGUiAQ9Cc1DioZ1ZMNgaMNZGx -/T7qUeyYwfwVRsrQahZXGmJIicb7BnYp8MbzVb74FRCJ04iWarr2HUbmEVUw3a6Z -IL/D+s6ymqA7kMvUwxNt7uDkcs0qs5Tu3IgMy1NCbqkKyEZ8w8eJeaaINrhDAaBz -uRidVs/cj+7XPL4r+Ddc -=WhhQ +iQEcBAEBCAAGBQJTWh99AAoJEEqz6FtPBkyjusgH/A8z2jFFFDSBAJ1svEVMOcdd +XVzrLpQA5Fa/o73+LBLTEuCS++mEdQ6D8xsgJ7cI8PYM176Lhcmi7tWCKAu90QDP +4MwLWcUs2oOESgUCD+0cXGPbuZXSOBlsZRWqRz3T7tvJNg6vSOPwucY2O8zrW8Ws +4G3LzLK6cudVzmv40QU8RaJlrc2csrq7a1FgpV+W86+ebvOTdSEAq6peAUy/lMKg +qriT9lyFq/gbXyGdAllNw/vqaDkg9LPc7RMLPKOZ92PLDLPyNi/8y3RPdcxIp5JO +Vnc8ghZTV+IEQ5sy7HKffdt97xHKfR76VnFc40BTVI4jKfEg2IoZzbvCjzYbIMc= +=/ncx -----END PGP SIGNATURE----- diff --git a/media-gfx/sxiv/files/sxiv-1.2-makefile.patch b/media-gfx/sxiv/files/sxiv-1.2-makefile.patch new file mode 100644 index 000000000000..333f4cd54b24 --- /dev/null +++ b/media-gfx/sxiv/files/sxiv-1.2-makefile.patch @@ -0,0 +1,16 @@ +--- sxiv-1.2/Makefile ++++ sxiv-1.2/Makefile +@@ -3,10 +3,9 @@ + PREFIX = /usr/local + MANPREFIX = $(PREFIX)/share/man + +-CC = gcc +-CFLAGS = -std=c99 -Wall -pedantic -O2 +-CPPFLAGS = -I$(PREFIX)/include -D_XOPEN_SOURCE=500 -DHAVE_GIFLIB +-LDFLAGS = -L$(PREFIX)/lib ++CC ?= gcc ++CFLAGS += -std=c99 -Wall -pedantic -O2 ++CPPFLAGS += -D_XOPEN_SOURCE=500 -DHAVE_GIFLIB + LIBS = -lX11 -lImlib2 -lgif + + SRC = commands.c exif.c image.c main.c options.c thumbs.c util.c window.c diff --git a/media-gfx/sxiv/sxiv-1.2.ebuild b/media-gfx/sxiv/sxiv-1.2.ebuild new file mode 100644 index 000000000000..8f0e3cc5e90d --- /dev/null +++ b/media-gfx/sxiv/sxiv-1.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/sxiv/sxiv-1.2.ebuild,v 1.1 2014/04/25 08:40:27 radhermit Exp $ + +EAPI=5 + +inherit eutils savedconfig toolchain-funcs + +DESCRIPTION="Simple (or small or suckless) X Image Viewer" +HOMEPAGE="https://github.com/muennich/sxiv/" +SRC_URI="https://github.com/muennich/sxiv/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="media-libs/giflib + media-libs/imlib2[X] + x11-libs/libX11" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-makefile.patch + tc-export CC + + restore_config config.h +} + +src_install() { + emake DESTDIR="${ED}" PREFIX=/usr install + dodoc README.md + + save_config config.h +} |