uwproj.xsd

changeset 46
096f3105b3b1
parent 44
1d963f2c7e91
child 65
6db50c6df6e3
--- a/uwproj.xsd	Sun Sep 10 13:12:54 2023 +0200
+++ b/uwproj.xsd	Sun Sep 10 14:29:20 2023 +0200
@@ -30,12 +30,22 @@
         </xs:simpleContent>
     </xs:complexType>
 
+    <xs:complexType name="PkgConfigType">
+        <xs:simpleContent>
+            <xs:extension base="xs:string">
+                <xs:attribute name="atleast" type="xs:string"/>
+                <xs:attribute name="exact" type="xs:string"/>
+                <xs:attribute name="max" type="xs:string"/>
+            </xs:extension>
+        </xs:simpleContent>
+    </xs:complexType>
+
     <xs:complexType name="DependencyType">
         <xs:choice minOccurs="0" maxOccurs="unbounded">
             <xs:element name="lang" type="xs:string"/>
             <xs:element name="cflags" type="FlagsType"/>
             <xs:element name="ldflags" type="FlagsType"/>
-            <xs:element name="pkgconfig" type="xs:string"/>
+            <xs:element name="pkgconfig" type="PkgConfigType"/>
             <xs:element name="test" type="xs:string"/>
             <xs:element name="make" type="xs:string"/>
         </xs:choice>

mercurial