File:  [cvs.NetBSD.org] / pkgsrc / audio / ardour / patches / patch-gtk2__ardour_wscript
Revision 1.4: download - view: text, annotated - select for diffs
Mon Mar 18 15:36:15 2024 UTC (10 months ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, HEAD
audio/ardour: Update to 8.2.0

Changelog:
Too large changes including new feature and bugfixes.

$NetBSD: patch-gtk2__ardour_wscript,v 1.4 2024/03/18 15:36:15 ryoon Exp $

Install config files to examples, per pkgsrc policy

--- gtk2_ardour/wscript.orig	2023-12-13 14:20:57.000000000 +0000
+++ gtk2_ardour/wscript
@@ -779,7 +779,7 @@ def build(bld):
     obj              = bld(features = 'subst')
     obj.source       = [ 'clearlooks.rc.in' ]
     obj.target       = 'clearlooks.rc'
-    obj.install_path = bld.env['CONFDIR']
+    obj.install_path = os.environ['EGDIR']
     set_subst_dict(obj, font_subst_dict)
 
     font_subst_dict['FONTFAMILY'] = 'ArdourSans'
@@ -787,13 +787,13 @@ def build(bld):
     obj              = bld(features = 'subst')
     obj.source       = [ 'clearlooks.rc.in' ]
     obj.target       = 'clearlooks.ardoursans.rc'
-    obj.install_path = bld.env['CONFDIR']
+    obj.install_path = os.environ['EGDIR']
     set_subst_dict(obj, font_subst_dict)
 
     obj              = bld(features = 'subst')
     obj.source       = [ 'default_ui_config.in' ]
     obj.target       = 'default_ui_config'
-    obj.install_path = bld.env['CONFDIR']
+    obj.install_path = os.environ['EGDIR']
     set_subst_dict(obj, font_subst_dict)
 
     # Menus
@@ -823,7 +823,7 @@ def build(bld):
         obj.dep_vars = ['PTFORMAT', 'MIXBUS', 'MIXBUS32C', 'WINDOWS']
         obj.stdin = program + '.menus.in'
         obj.stdout = program + '.menus'
-        bld.install_files (bld.env['CONFDIR'], program + '.menus')
+        bld.install_files (os.environ['EGDIR'], program + '.menus')
 
     # Freedesktop
     freedesktop_subst_dict = {
@@ -880,7 +880,7 @@ def build(bld):
             source = [ b + '.keys.in', 'mixer.bindings', 'processor_box.bindings', 'step_editing.bindings', 'monitor.bindings', 'trigger.bindings' ],
             rule = a_rule
             )
-        obj.install_path = bld.env['CONFDIR']
+        obj.install_path = os.environ['EGDIR']
 
     # Icons/Images
     bld.install_files(os.path.join (bld.env['DATADIR'], 'icons'), bld.path.ant_glob('icons/*.png'))
@@ -898,7 +898,7 @@ def build(bld):
         bld.install_files(os.path.join (bld.env['DATADIR'], 'icons'), 'icons/cursor_square/hotspots')
 
     # Default UI configuration
-    bld.install_files(bld.env['CONFDIR'], 'default_ui_config')
+    bld.install_files(os.environ['EGDIR'], 'default_ui_config')
     # Color Themes. Find each color file for this program only
     # and install
     bld.install_files (os.path.join(bld.env['DATADIR'], 'themes'), bld.path.ant_glob ('themes/*-' + pgmname.lower() + '.colors'))

CVSweb <webmaster@jp.NetBSD.org>