pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/picard picard: don't install app store data



details:   https://anonhg.NetBSD.org/pkgsrc/rev/339c5342fc71
branches:  trunk
changeset: 452771:339c5342fc71
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat May 15 11:45:52 2021 +0000

description:
picard: don't install app store data

diffstat:

 audio/picard/distinfo               |   3 ++-
 audio/picard/patches/patch-setup.py |  23 +++++++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r 9e6871d50e90 -r 339c5342fc71 audio/picard/distinfo
--- a/audio/picard/distinfo     Sat May 15 11:42:24 2021 +0000
+++ b/audio/picard/distinfo     Sat May 15 11:45:52 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.15 2020/08/05 16:34:32 adam Exp $
+$NetBSD: distinfo,v 1.16 2021/05/15 11:45:52 nia Exp $
 
 SHA1 (picard-2.3.2.tar.gz) = 1d217d4f0cb8a73e4ccb497a67c387a2ac3330e9
 RMD160 (picard-2.3.2.tar.gz) = 68858b0c86bc17cfb0fc203936e21678d09ff63e
 SHA512 (picard-2.3.2.tar.gz) = 8f78c048b8a09f825cbab606a6e6f6f71ac2fb5290d8ecd69a02b52b0e50075be535c6df37fa7da2bab29ed96cd6548b993f110eb868e4a329726aec824f9cbb
 Size (picard-2.3.2.tar.gz) = 3097113 bytes
+SHA1 (patch-setup.py) = 317672c96eec68709840d823b8476d9cc6255a5d
diff -r 9e6871d50e90 -r 339c5342fc71 audio/picard/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/picard/patches/patch-setup.py       Sat May 15 11:45:52 2021 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-setup.py,v 1.1 2021/05/15 11:45:52 nia Exp $
+
+Don't selectively install app store data.
+
+--- setup.py.orig      2020-05-06 09:36:12.000000000 +0000
++++ setup.py
+@@ -289,8 +289,6 @@ class picard_build(build):
+                 'publisher': os.environ.get('PICARD_APPX_PUBLISHER', default_publisher),
+                 'version': '.'.join([str(v) for v in store_version]),
+             })
+-        elif sys.platform == 'linux':
+-            self.run_command('build_appdata')
+         build.run(self)
+ 
+ 
+@@ -815,7 +813,4 @@ args['data_files'] = [
+ args['data_files'].append(('share/icons/hicolor/scalable/apps', ['resources/%s.svg' % PICARD_APP_ID]))
+ args['data_files'].append(('share/applications', [PICARD_DESKTOP_NAME]))
+ 
+-if sys.platform == 'linux':
+-    args['data_files'].append(('share/metainfo', [APPDATA_FILE]))
+-
+ setup(**args)



Home | Main Index | Thread Index | Old Index