mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
media-gfx/converseen: drop 0.12.0.1
Bug: https://bugs.gentoo.org/948011 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
parent
c5d247337f
commit
42c5a1fd95
@ -1,2 +1 @@
|
||||
DIST converseen-0.12.0.1.tar.gz 2296100 BLAKE2B 83a0271e1451fa196852d717332fa7446cd22bac7b675f3f306692aa1e11d4c5500d033fd9bbb7dd4ec9190ff3b15149bad1e9646006f533d930fc1d686b0a9b SHA512 4e6efa44953b097f8c6af19e3d849caf570a0fa2db673133e1d8ca2abee98b43d2fbd2d12e6c8c2a8ec6a9dd61a1ca3f25ee7a7787791cc783d8c967eacb9d9d
|
||||
DIST converseen-0.12.2.4.tar.gz 941270 BLAKE2B 4ac582a2dc3bbbabb48c1d12fe4ba4ed1d61b20e946645edab4eb6ac2d62cfa2df149b61c60842b36b55239694013661af4dd7c27a5195ee25f808d0a9b29605 SHA512 7d207207859f57037038b595935e3b0c5b202eda6a39e64226f6e898d5c3762077424a52f2ae6029263eae672607d05e30bf4ad2005ce15fd50348cca374413a
|
||||
|
||||
@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake xdg-utils
|
||||
|
||||
DESCRIPTION="Batch image converter and resizer based on ImageMagick"
|
||||
HOMEPAGE="https://converseen.fasterland.net/
|
||||
https://github.com/Faster3ck/Converseen/"
|
||||
SRC_URI="https://github.com/Faster3ck/Converseen/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="graphicsmagick debug"
|
||||
|
||||
RDEPEND="
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5
|
||||
graphicsmagick? ( media-gfx/graphicsmagick:=[cxx,imagemagick] )
|
||||
!graphicsmagick? ( media-gfx/imagemagick:=[cxx] )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-qt/linguist-tools:5
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${P^}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.9.9.0-appdata-path.patch"
|
||||
"${FILESDIR}/${PN}-0.9.9.0-no-update.patch"
|
||||
"${FILESDIR}/${P}-graphicsmagick-support.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
if use graphicsmagick; then
|
||||
# Replace variables in CMakeLists.txt
|
||||
sed -i -e "s/GENTOO_LIB/\/usr\/$(get_libdir)/g" \
|
||||
-e "s/GENTOO_INCLUDE/\/usr\/include/g" \
|
||||
"${S}/CMakeLists.txt" ||
|
||||
die "Failed to sed graphicsmagick patch"
|
||||
|
||||
# Replace MagickCore in globals.cpp
|
||||
sed -i -e "s/MagickCore/MagickLib/" "${S}/src/globals.cpp" ||
|
||||
die "Failed to sed globals.cpp"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Please note that due to security policy restrictions"
|
||||
elog "on media-gfx/imagemagick the support for PS, PDF and"
|
||||
elog "XPS files must be explicitly enabled by commenting out"
|
||||
elog "the respective policies in /etc/ImageMagick-7/policy.xml."
|
||||
elog "See https://wiki.gentoo.org/wiki/ImageMagick#Troubleshooting"
|
||||
elog "for more information."
|
||||
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
@ -1,17 +0,0 @@
|
||||
Description: install appdata to package directory
|
||||
The CMAKE_INSTALL_PREFIX was not set to install path and set its correct
|
||||
location.
|
||||
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
|
||||
Last-Update: 2018-08-21
|
||||
|
||||
--- a/converseen.pro
|
||||
+++ b/converseen.pro
|
||||
@@ -122,7 +122,7 @@ loc/converseen_uk_UA.qm
|
||||
desktopFile.files = res/converseen.desktop
|
||||
kdeservicemenu.path = $${SHARE_DIR}/kservices5/ServiceMenus
|
||||
kdeservicemenu.files = res/converseen_import.desktop
|
||||
- appdata.path = /usr/share/appdata/
|
||||
+ appdata.path = /usr/share/metainfo/
|
||||
appdata.files = converseen.appdata.xml
|
||||
|
||||
isEmpty(QMAKE_LRELEASE) {
|
||||
Loading…
x
Reference in New Issue
Block a user